Add UpdatedBlockTip signal to CMainSignals and CValidationInterface
[bitcoinplatinum.git] / src / init.h
blob8cd51b0286f5dfe0d33b5b02c179568627a05737
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 #ifndef BITCOIN_INIT_H
7 #define BITCOIN_INIT_H
9 #include <string>
11 class CScheduler;
12 class CWallet;
14 namespace boost
16 class thread_group;
17 } // namespace boost
19 extern CWallet* pwalletMain;
21 void StartShutdown();
22 bool ShutdownRequested();
23 /** Interrupt threads */
24 void Interrupt(boost::thread_group& threadGroup);
25 void Shutdown();
26 bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler);
28 /** The help message mode determines what help message to show */
29 enum HelpMessageMode {
30 HMM_BITCOIND,
31 HMM_BITCOIN_QT
34 /** Help for options shared between UI and daemon (for -help) */
35 std::string HelpMessage(HelpMessageMode mode);
36 /** Returns licensing information (for -version) */
37 std::string LicenseInfo();
39 #endif // BITCOIN_INIT_H