mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
git-subtree-dir: src/ipc/libmultiprocess git-subtree-split: 35944ffd23fa26652b82210351d50e896ce16c8f
20 lines
562 B
C++
20 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
|