mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Remove unnecessary forward class declarations in header files
This commit is contained in:
parent
b7296bcea0
commit
4087d9ea7c
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CChainParams;
|
class CChainParams;
|
||||||
class CReserveKey;
|
|
||||||
class CScript;
|
class CScript;
|
||||||
class CWallet;
|
|
||||||
|
|
||||||
namespace Consensus { struct Params; };
|
namespace Consensus { struct Params; };
|
||||||
|
|
||||||
|
@ -101,7 +101,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.
|
||||||
|
@ -31,8 +31,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;
|
||||||
|
@ -10,13 +10,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;
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,9 +28,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 {
|
||||||
|
@ -28,7 +28,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;
|
||||||
|
|
||||||
/** General change type (added, updated, removed). */
|
/** General change type (added, updated, removed). */
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CBlockTreeDB;
|
class CBlockTreeDB;
|
||||||
class CBloomFilter;
|
|
||||||
class CChainParams;
|
class CChainParams;
|
||||||
class CCoinsViewDB;
|
class CCoinsViewDB;
|
||||||
class CInv;
|
class CInv;
|
||||||
@ -40,7 +39,6 @@ class CConnman;
|
|||||||
class CScriptCheck;
|
class CScriptCheck;
|
||||||
class CBlockPolicyEstimator;
|
class CBlockPolicyEstimator;
|
||||||
class CTxMemPool;
|
class CTxMemPool;
|
||||||
class CValidationInterface;
|
|
||||||
class CValidationState;
|
class CValidationState;
|
||||||
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