mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge #10568: Remove unnecessary forward class declarations in header files
4087d9ea7
Remove unnecessary forward class declarations in header files (practicalswift)
Tree-SHA512: 80a9b2cd339ba9c606c0dd93739ac80941b6050388fee2edd7976ae8b5e332fd0b4f1df1e89c1d6d28a77c23a36b1e874e72977985fb8f710c65c45c3a926f97
This commit is contained in:
parent
30c5aaead1
commit
195d42a284
@ -8,8 +8,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
class HTTPRequest;
|
|
||||||
|
|
||||||
/** Start HTTP RPC subsystem.
|
/** Start HTTP RPC subsystem.
|
||||||
* Precondition; HTTP and RPC has been started.
|
* Precondition; HTTP and RPC has been started.
|
||||||
*/
|
*/
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CChainParams;
|
class CChainParams;
|
||||||
class CConnman;
|
class CConnman;
|
||||||
class CReserveKey;
|
|
||||||
class CScript;
|
class CScript;
|
||||||
class CWallet;
|
|
||||||
|
|
||||||
namespace Consensus { struct Params; };
|
namespace Consensus { struct Params; };
|
||||||
|
|
||||||
|
@ -125,7 +125,6 @@ struct AddedNodeInfo
|
|||||||
bool fInbound;
|
bool fInbound;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CTransaction;
|
|
||||||
class CNodeStats;
|
class CNodeStats;
|
||||||
class CClientUIInterface;
|
class CClientUIInterface;
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
class AddressTableModel;
|
class AddressTableModel;
|
||||||
class OptionsModel;
|
|
||||||
class PlatformStyle;
|
class PlatformStyle;
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
@ -20,7 +19,6 @@ class QItemSelection;
|
|||||||
class QMenu;
|
class QMenu;
|
||||||
class QModelIndex;
|
class QModelIndex;
|
||||||
class QSortFilterProxyModel;
|
class QSortFilterProxyModel;
|
||||||
class QTableView;
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
/** Widget that shows a list of sending or receiving addresses.
|
/** Widget that shows a list of sending or receiving addresses.
|
||||||
|
@ -32,8 +32,6 @@ class WalletModel;
|
|||||||
class HelpMessageDialog;
|
class HelpMessageDialog;
|
||||||
class ModalOverlay;
|
class ModalOverlay;
|
||||||
|
|
||||||
class CWallet;
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QAction;
|
class QAction;
|
||||||
class QProgressBar;
|
class QProgressBar;
|
||||||
|
@ -14,13 +14,10 @@
|
|||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
class AddressTableModel;
|
|
||||||
class BanTableModel;
|
class BanTableModel;
|
||||||
class OptionsModel;
|
class OptionsModel;
|
||||||
class PeerTableModel;
|
class PeerTableModel;
|
||||||
class TransactionTableModel;
|
|
||||||
|
|
||||||
class CWallet;
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
@ -20,7 +20,6 @@ class PlatformStyle;
|
|||||||
class WalletModel;
|
class WalletModel;
|
||||||
|
|
||||||
class CCoinControl;
|
class CCoinControl;
|
||||||
class CTxMemPool;
|
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class CoinControlDialog;
|
class CoinControlDialog;
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <QPoint>
|
#include <QPoint>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
|
|
||||||
class OptionsModel;
|
|
||||||
class PlatformStyle;
|
class PlatformStyle;
|
||||||
class WalletModel;
|
class WalletModel;
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
static const int MAX_SEND_POPUP_ENTRIES = 10;
|
static const int MAX_SEND_POPUP_ENTRIES = 10;
|
||||||
|
|
||||||
class ClientModel;
|
class ClientModel;
|
||||||
class OptionsModel;
|
|
||||||
class PlatformStyle;
|
class PlatformStyle;
|
||||||
class SendCoinsEntry;
|
class SendCoinsEntry;
|
||||||
class SendCoinsRecipient;
|
class SendCoinsRecipient;
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
class BitcoinGUI;
|
class BitcoinGUI;
|
||||||
class ClientModel;
|
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class HelpMessageDialog;
|
class HelpMessageDialog;
|
||||||
|
@ -7,9 +7,6 @@
|
|||||||
|
|
||||||
class CBlock;
|
class CBlock;
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CScript;
|
|
||||||
class CTransaction;
|
|
||||||
class uint256;
|
|
||||||
class UniValue;
|
class UniValue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,9 +26,6 @@ namespace RPCServer
|
|||||||
void OnPreCommand(std::function<void (const CRPCCommand&)> slot);
|
void OnPreCommand(std::function<void (const CRPCCommand&)> slot);
|
||||||
}
|
}
|
||||||
|
|
||||||
class CBlockIndex;
|
|
||||||
class CNetAddr;
|
|
||||||
|
|
||||||
/** Wrapper for UniValue::VType, which includes typeAny:
|
/** Wrapper for UniValue::VType, which includes typeAny:
|
||||||
* Used to denote don't care type. Only used by RPCTypeCheckObj */
|
* Used to denote don't care type. Only used by RPCTypeCheckObj */
|
||||||
struct UniValueType {
|
struct UniValueType {
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
#include <boost/signals2/signal.hpp>
|
#include <boost/signals2/signal.hpp>
|
||||||
|
|
||||||
class CAutoFile;
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
|
|
||||||
/** Fake height value used in Coin to signify they are only in the memory pool (since 0.8) */
|
/** Fake height value used in Coin to signify they are only in the memory pool (since 0.8) */
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
#include <boost/signals2/last_value.hpp>
|
#include <boost/signals2/last_value.hpp>
|
||||||
#include <boost/signals2/signal.hpp>
|
#include <boost/signals2/signal.hpp>
|
||||||
|
|
||||||
class CBasicKeyStore;
|
|
||||||
class CWallet;
|
class CWallet;
|
||||||
class uint256;
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CDeterministicMNList;
|
class CDeterministicMNList;
|
||||||
|
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CBlockTreeDB;
|
class CBlockTreeDB;
|
||||||
class CBloomFilter;
|
|
||||||
class CChainParams;
|
class CChainParams;
|
||||||
class CCoinsViewDB;
|
class CCoinsViewDB;
|
||||||
class CInv;
|
class CInv;
|
||||||
@ -42,7 +41,6 @@ class CConnman;
|
|||||||
class CScriptCheck;
|
class CScriptCheck;
|
||||||
class CBlockPolicyEstimator;
|
class CBlockPolicyEstimator;
|
||||||
class CTxMemPool;
|
class CTxMemPool;
|
||||||
class CValidationInterface;
|
|
||||||
class CValidationState;
|
class CValidationState;
|
||||||
class PrecomputedTransactionData;
|
class PrecomputedTransactionData;
|
||||||
struct ChainTxData;
|
struct ChainTxData;
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include "serialize.h"
|
#include "serialize.h"
|
||||||
#include "support/allocators/secure.h"
|
#include "support/allocators/secure.h"
|
||||||
|
|
||||||
class uint256;
|
|
||||||
|
|
||||||
const unsigned int WALLET_CRYPTO_KEY_SIZE = 32;
|
const unsigned int WALLET_CRYPTO_KEY_SIZE = 32;
|
||||||
const unsigned int WALLET_CRYPTO_SALT_SIZE = 8;
|
const unsigned int WALLET_CRYPTO_SALT_SIZE = 8;
|
||||||
const unsigned int WALLET_CRYPTO_IV_SIZE = 16;
|
const unsigned int WALLET_CRYPTO_IV_SIZE = 16;
|
||||||
|
Loading…
Reference in New Issue
Block a user