mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
17 lines
427 B
C++
17 lines
427 B
C++
// Copyright (c) 2021 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef EXAMPLE_CALCULATOR_H
|
|
#define EXAMPLE_CALCULATOR_H
|
|
|
|
#include <string>
|
|
|
|
class Calculator
|
|
{
|
|
public:
|
|
virtual ~Calculator() = default;
|
|
virtual void solveEquation(const std::string& eqn) = 0;
|
|
};
|
|
|
|
#endif // EXAMPLE_CALCULATOR_H
|