printer.h raw
1 // Copyright (c) The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef EXAMPLE_PRINTER_H
6 #define EXAMPLE_PRINTER_H
7
8 #include <string>
9
10 class Printer
11 {
12 public:
13 virtual ~Printer() = default;
14 virtual void print(const std::string& message) = 0;
15 };
16
17 #endif // EXAMPLE_PRINTER_H
18