Forward declare "Add torrent manager" type

PR #19713.
This commit is contained in:
Chocobo1 2023-10-16 14:52:09 +08:00 committed by GitHub
parent 413e7dd3c4
commit 63499511cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 9 deletions

View file

@ -38,16 +38,20 @@
#include "base/bittorrent/addtorrentparams.h"
#include "base/torrentfileguard.h"
namespace BitTorrent
{
class InfoHash;
class Session;
class Torrent;
class TorrentDescriptor;
}
namespace Net
{
struct DownloadResult;
}
namespace BitTorrent
{
class Session;
class TorrentDescriptor;
}
class QString;
class AddTorrentManager : public ApplicationComponent<QObject>
{

View file

@ -33,11 +33,9 @@
#include <QtSystemDetection>
#include <QMetaObject>
#include "base/addtorrentmanager.h"
#include "base/pathfwd.h"
class QString;
class Path;
class AddTorrentManager;
struct QBtCommandLineParameters;
#ifdef Q_OS_WIN

View file

@ -38,6 +38,7 @@
#include <QRegularExpression>
#include <QUrl>
#include "base/addtorrentmanager.h"
#include "base/bittorrent/categoryoptions.h"
#include "base/bittorrent/downloadpriority.h"
#include "base/bittorrent/infohash.h"