Browse Source

Remove unnecessary forward class declarations in header files

tags/v0.15.1
practicalswift 3 years ago
parent
commit
4087d9ea7c

+ 0
- 2
src/httprpc.h View File

@@ -8,8 +8,6 @@
#include <string>
#include <map>

class HTTPRequest;

/** Start HTTP RPC subsystem.
* Precondition; HTTP and RPC has been started.
*/

+ 0
- 2
src/miner.h View File

@@ -16,9 +16,7 @@

class CBlockIndex;
class CChainParams;
class CReserveKey;
class CScript;
class CWallet;

namespace Consensus { struct Params; };


+ 0
- 1
src/net.h View File

@@ -101,7 +101,6 @@ struct AddedNodeInfo
bool fInbound;
};

class CTransaction;
class CNodeStats;
class CClientUIInterface;


+ 0
- 2
src/qt/addressbookpage.h View File

@@ -8,7 +8,6 @@
#include <QDialog>

class AddressTableModel;
class OptionsModel;
class PlatformStyle;

namespace Ui {
@@ -20,7 +19,6 @@ class QItemSelection;
class QMenu;
class QModelIndex;
class QSortFilterProxyModel;
class QTableView;
QT_END_NAMESPACE

/** Widget that shows a list of sending or receiving addresses.

+ 0
- 2
src/qt/bitcoingui.h View File

@@ -31,8 +31,6 @@ class WalletModel;
class HelpMessageDialog;
class ModalOverlay;

class CWallet;

QT_BEGIN_NAMESPACE
class QAction;
class QProgressBar;

+ 0
- 3
src/qt/clientmodel.h View File

@@ -10,13 +10,10 @@

#include <atomic>

class AddressTableModel;
class BanTableModel;
class OptionsModel;
class PeerTableModel;
class TransactionTableModel;

class CWallet;
class CBlockIndex;

QT_BEGIN_NAMESPACE

+ 0
- 1
src/qt/coincontroldialog.h View File

@@ -20,7 +20,6 @@ class PlatformStyle;
class WalletModel;

class CCoinControl;
class CTxMemPool;

namespace Ui {
class CoinControlDialog;

+ 0
- 1
src/qt/receivecoinsdialog.h View File

@@ -15,7 +15,6 @@
#include <QPoint>
#include <QVariant>

class OptionsModel;
class PlatformStyle;
class WalletModel;


+ 0
- 1
src/qt/sendcoinsdialog.h View File

@@ -13,7 +13,6 @@
#include <QTimer>

class ClientModel;
class OptionsModel;
class PlatformStyle;
class SendCoinsEntry;
class SendCoinsRecipient;

+ 0
- 1
src/qt/utilitydialog.h View File

@@ -9,7 +9,6 @@
#include <QObject>

class BitcoinGUI;
class ClientModel;

namespace Ui {
class HelpMessageDialog;

+ 0
- 3
src/rpc/blockchain.h View File

@@ -7,9 +7,6 @@

class CBlock;
class CBlockIndex;
class CScript;
class CTransaction;
class uint256;
class UniValue;

/**

+ 0
- 3
src/rpc/server.h View File

@@ -28,9 +28,6 @@ namespace RPCServer
void OnPreCommand(std::function<void (const CRPCCommand&)> slot);
}

class CBlockIndex;
class CNetAddr;

/** Wrapper for UniValue::VType, which includes typeAny:
* Used to denote don't care type. Only used by RPCTypeCheckObj */
struct UniValueType {

+ 0
- 1
src/txmempool.h View File

@@ -28,7 +28,6 @@

#include <boost/signals2/signal.hpp>

class CAutoFile;
class CBlockIndex;

/** Fake height value used in Coin to signify they are only in the memory pool (since 0.8) */

+ 0
- 2
src/ui_interface.h View File

@@ -12,9 +12,7 @@
#include <boost/signals2/last_value.hpp>
#include <boost/signals2/signal.hpp>

class CBasicKeyStore;
class CWallet;
class uint256;
class CBlockIndex;

/** General change type (added, updated, removed). */

+ 0
- 2
src/validation.h View File

@@ -32,7 +32,6 @@

class CBlockIndex;
class CBlockTreeDB;
class CBloomFilter;
class CChainParams;
class CCoinsViewDB;
class CInv;
@@ -40,7 +39,6 @@ class CConnman;
class CScriptCheck;
class CBlockPolicyEstimator;
class CTxMemPool;
class CValidationInterface;
class CValidationState;
struct ChainTxData;


+ 0
- 2
src/wallet/crypter.h View File

@@ -9,8 +9,6 @@
#include "serialize.h"
#include "support/allocators/secure.h"

class uint256;

const unsigned int WALLET_CRYPTO_KEY_SIZE = 32;
const unsigned int WALLET_CRYPTO_SALT_SIZE = 8;
const unsigned int WALLET_CRYPTO_IV_SIZE = 16;

Loading…
Cancel
Save