Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoin.cpp
// Copyright (c) 2011-2019 The Bitcoin Core developers | // Copyright (c) 2011-2019 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. | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include <config/bitcoin-config.h> | |||||
#endif | |||||
#include <qt/bitcoin.h> | #include <qt/bitcoin.h> | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <config.h> | #include <config.h> | ||||
#include <httprpc.h> | #include <httprpc.h> | ||||
#include <interfaces/handler.h> | #include <interfaces/handler.h> | ||||
#include <interfaces/node.h> | #include <interfaces/node.h> | ||||
#include <noui.h> | #include <noui.h> | ||||
Show All 13 Lines | |||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <util/threadnames.h> | #include <util/threadnames.h> | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
#include <qt/paymentserver.h> | #include <qt/paymentserver.h> | ||||
#include <qt/walletcontroller.h> | #include <qt/walletcontroller.h> | ||||
#endif | #endif | ||||
#include <QApplication> | |||||
#include <QDebug> | #include <QDebug> | ||||
#include <QLibraryInfo> | #include <QLibraryInfo> | ||||
#include <QLocale> | #include <QLocale> | ||||
#include <QMessageBox> | #include <QMessageBox> | ||||
#include <QSettings> | #include <QSettings> | ||||
#include <QStringList> | #include <QStringList> | ||||
#include <QThread> | #include <QThread> | ||||
#include <QTimer> | #include <QTimer> | ||||
#include <QTranslator> | #include <QTranslator> | ||||
#if defined(QT_STATICPLUGIN) | #if defined(QT_STATICPLUGIN) | ||||
#include <QtPlugin> | #include <QtPlugin> | ||||
#if defined(QT_QPA_PLATFORM_XCB) | #if defined(QT_QPA_PLATFORM_XCB) | ||||
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin); | Q_IMPORT_PLUGIN(QXcbIntegrationPlugin); | ||||
#elif defined(QT_QPA_PLATFORM_WINDOWS) | #elif defined(QT_QPA_PLATFORM_WINDOWS) | ||||
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin); | Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin); | ||||
#elif defined(QT_QPA_PLATFORM_COCOA) | #elif defined(QT_QPA_PLATFORM_COCOA) | ||||
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin); | Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin); | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#include <memory> | |||||
// Declare meta types used for QMetaObject::invokeMethod | // Declare meta types used for QMetaObject::invokeMethod | ||||
Q_DECLARE_METATYPE(bool *) | Q_DECLARE_METATYPE(bool *) | ||||
Q_DECLARE_METATYPE(Amount) | Q_DECLARE_METATYPE(Amount) | ||||
Q_DECLARE_METATYPE(uint256) | Q_DECLARE_METATYPE(uint256) | ||||
// Config is non-copyable so we can only register pointers to it | // Config is non-copyable so we can only register pointers to it | ||||
Q_DECLARE_METATYPE(Config *) | Q_DECLARE_METATYPE(Config *) | ||||
▲ Show 20 Lines • Show All 694 Lines • Show Last 20 Lines |