Make complete type declarations available where needed

This commit is contained in:
Vladimir Golovnev (glassez)
2021-07-24 15:37:11 +03:00
committed by Vladimir Golovnev (Glassez)
parent 86b1ac5d7c
commit add75fbc77
6 changed files with 8 additions and 12 deletions

View File

@@ -55,7 +55,6 @@
#include "base/bittorrent/session.h"
#include "base/bittorrent/sessionstatus.h"
#include "base/bittorrent/torrent.h"
#include "base/global.h"
#include "base/logger.h"
#include "base/net/downloadmanager.h"

View File

@@ -35,6 +35,8 @@
#include <QSystemTrayIcon>
#endif
#include "base/bittorrent/torrent.h"
class QCloseEvent;
class QFileSystemWatcher;
class QSplitter;
@@ -57,11 +59,6 @@ class TorrentCreatorDialog;
class TransferListFiltersWidget;
class TransferListWidget;
namespace BitTorrent
{
class Torrent;
}
namespace Net
{
struct DownloadResult;

View File

@@ -38,10 +38,8 @@
#include <QUrl>
#include <QVBoxLayout>
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/session.h"
#include "base/bittorrent/torrent.h"
#include "base/bittorrent/trackerentry.h"
#include "base/global.h"
#include "base/logger.h"
#include "base/net/downloadmanager.h"

View File

@@ -32,6 +32,9 @@
#include <QListWidget>
#include <QtContainerFwd>
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/trackerentry.h"
class QCheckBox;
class QResizeEvent;
@@ -40,8 +43,6 @@ class TransferListWidget;
namespace BitTorrent
{
class Torrent;
class TorrentID;
struct TrackerEntry;
}
namespace Net

View File

@@ -44,7 +44,6 @@
#include <QWheelEvent>
#include "base/bittorrent/common.h"
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/session.h"
#include "base/bittorrent/torrent.h"
#include "base/bittorrent/trackerentry.h"

View File

@@ -29,9 +29,12 @@
#pragma once
#include <functional>
#include <QtContainerFwd>
#include <QTreeView>
#include "base/bittorrent/infohash.h"
class MainWindow;
class TransferListModel;
class TransferListSortModel;
@@ -39,7 +42,6 @@ class TransferListSortModel;
namespace BitTorrent
{
class Torrent;
class TorrentID;
}
enum class CopyInfohashPolicy