Bitcoin Core 29.99.0
P2P Digital Currency
printer.h
Go to the documentation of this file.
1// Copyright (c) 2021 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
11{
12public:
13 virtual ~Printer() = default;
14 virtual void print(const std::string& message) = 0;
15};
16
17#endif // EXAMPLE_PRINTER_H
virtual ~Printer()=default
virtual void print(const std::string &message)=0