Changeset View
Changeset View
Standalone View
Standalone View
src/walletinitinterface.h
// Copyright (c) 2017 The Bitcoin Core developers | // Copyright (c) 2017 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef WALLETINITINTERFACE_H | #ifndef BITCOIN_WALLETINITINTERFACE_H | ||||
#define WALLETINITINTERFACE_H | #define BITCOIN_WALLETINITINTERFACE_H | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <string> | #include <string> | ||||
class CScheduler; | class CScheduler; | ||||
class CRPCTable; | class CRPCTable; | ||||
Show All 16 Lines | public: | ||||
/** Stop Wallets*/ | /** Stop Wallets*/ | ||||
virtual void Stop() const = 0; | virtual void Stop() const = 0; | ||||
/** Close wallets */ | /** Close wallets */ | ||||
virtual void Close() const = 0; | virtual void Close() const = 0; | ||||
virtual ~WalletInitInterface() {} | virtual ~WalletInitInterface() {} | ||||
}; | }; | ||||
#endif // WALLETINITINTERFACE_H | #endif // BITCOIN_WALLETINITINTERFACE_H |