Skip to content

Commit c98ebf1

Browse files
committed
Merge #10568: Remove unnecessary forward class declarations in header files
4087d9e Remove unnecessary forward class declarations in header files (practicalswift) Tree-SHA512: 80a9b2cd339ba9c606c0dd93739ac80941b6050388fee2edd7976ae8b5e332fd0b4f1df1e89c1d6d28a77c23a36b1e874e72977985fb8f710c65c45c3a926f97
2 parents f18bb49 + 4087d9e commit c98ebf1

16 files changed

+0
-29
lines changed

src/httprpc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#include <string>
99
#include <map>
1010

11-
class HTTPRequest;
12-
1311
/** Start HTTP RPC subsystem.
1412
* Precondition; HTTP and RPC has been started.
1513
*/

src/miner.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616

1717
class CBlockIndex;
1818
class CChainParams;
19-
class CReserveKey;
2019
class CScript;
21-
class CWallet;
2220

2321
namespace Consensus { struct Params; };
2422

src/net.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ struct AddedNodeInfo
101101
bool fInbound;
102102
};
103103

104-
class CTransaction;
105104
class CNodeStats;
106105
class CClientUIInterface;
107106

src/qt/addressbookpage.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <QDialog>
99

1010
class AddressTableModel;
11-
class OptionsModel;
1211
class PlatformStyle;
1312

1413
namespace Ui {
@@ -20,7 +19,6 @@ class QItemSelection;
2019
class QMenu;
2120
class QModelIndex;
2221
class QSortFilterProxyModel;
23-
class QTableView;
2422
QT_END_NAMESPACE
2523

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

src/qt/bitcoingui.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class WalletModel;
3131
class HelpMessageDialog;
3232
class ModalOverlay;
3333

34-
class CWallet;
35-
3634
QT_BEGIN_NAMESPACE
3735
class QAction;
3836
class QProgressBar;

src/qt/clientmodel.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010

1111
#include <atomic>
1212

13-
class AddressTableModel;
1413
class BanTableModel;
1514
class OptionsModel;
1615
class PeerTableModel;
17-
class TransactionTableModel;
1816

19-
class CWallet;
2017
class CBlockIndex;
2118

2219
QT_BEGIN_NAMESPACE

src/qt/coincontroldialog.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class PlatformStyle;
2020
class WalletModel;
2121

2222
class CCoinControl;
23-
class CTxMemPool;
2423

2524
namespace Ui {
2625
class CoinControlDialog;

src/qt/receivecoinsdialog.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <QPoint>
1616
#include <QVariant>
1717

18-
class OptionsModel;
1918
class PlatformStyle;
2019
class WalletModel;
2120

src/qt/sendcoinsdialog.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <QTimer>
1414

1515
class ClientModel;
16-
class OptionsModel;
1716
class PlatformStyle;
1817
class SendCoinsEntry;
1918
class SendCoinsRecipient;

src/qt/utilitydialog.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <QObject>
1010

1111
class BitcoinGUI;
12-
class ClientModel;
1312

1413
namespace Ui {
1514
class HelpMessageDialog;

0 commit comments

Comments
 (0)