mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00

git-subtree-dir: src/ipc/libmultiprocess git-subtree-split: 35944ffd23fa26652b82210351d50e896ce16c8f
21 lines
562 B
C++
21 lines
562 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_INIT_H
|
|
#define EXAMPLE_INIT_H
|
|
|
|
#include <calculator.h>
|
|
#include <memory>
|
|
#include <printer.h>
|
|
|
|
class Init
|
|
{
|
|
public:
|
|
virtual ~Init() = default;
|
|
virtual std::unique_ptr<Printer> makePrinter() { return nullptr; }
|
|
virtual std::unique_ptr<Calculator> makeCalculator(std::unique_ptr<Printer> printer) { return nullptr; }
|
|
};
|
|
|
|
#endif // EXAMPLE_INIT_H
|