mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
18 lines
403 B
C++
18 lines
403 B
C++
// Copyright (c) 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_PRINTER_H
|
|
#define EXAMPLE_PRINTER_H
|
|
|
|
#include <string>
|
|
|
|
class Printer
|
|
{
|
|
public:
|
|
virtual ~Printer() = default;
|
|
virtual void print(const std::string& message) = 0;
|
|
};
|
|
|
|
#endif // EXAMPLE_PRINTER_H
|