]>
Commit | Line | Data |
---|---|---|
8bd66202 | 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto |
f914f1a7 | 2 | // Copyright (c) 2009-2014 The Bitcoin Core developers |
c5b390b6 | 3 | // Distributed under the MIT software license, see the accompanying |
3a25a2b9 | 4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. |
51ed9ec9 | 5 | |
223b6f1b WL |
6 | #ifndef BITCOIN_INIT_H |
7 | #define BITCOIN_INIT_H | |
8bd66202 | 8 | |
722fa283 | 9 | #include <string> |
722fa283 PW |
10 | |
11 | class CWallet; | |
ed6d0b5f | 12 | |
20e01b1a PW |
13 | namespace boost |
14 | { | |
15 | class thread_group; | |
e10dcf27 | 16 | } // namespace boost |
51ed9ec9 | 17 | |
64c7ee7e PW |
18 | extern CWallet* pwalletMain; |
19 | ||
9247134e | 20 | void StartShutdown(); |
723035bb | 21 | bool ShutdownRequested(); |
b31499ec | 22 | void Shutdown(); |
8b9adca4 | 23 | bool AppInit2(boost::thread_group& threadGroup); |
2a03a390 | 24 | |
c5b390b6 | 25 | /** The help message mode determines what help message to show */ |
20e01b1a | 26 | enum HelpMessageMode { |
2a03a390 | 27 | HMM_BITCOIND, |
0b47fe6b | 28 | HMM_BITCOIN_QT |
2a03a390 WL |
29 | }; |
30 | ||
45615af2 | 31 | /** Help for options shared between UI and daemon (for -help) */ |
2a03a390 | 32 | std::string HelpMessage(HelpMessageMode mode); |
45615af2 WL |
33 | /** Returns licensing information (for -version) */ |
34 | std::string LicenseInfo(); | |
223b6f1b | 35 | |
093303a8 | 36 | #endif // BITCOIN_INIT_H |