Browse Source

Forward declare "Add torrent manager" type

PR #19713.
adaptive-webui-19844
Chocobo1 1 year ago committed by GitHub
parent
commit
63499511cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      src/base/addtorrentmanager.h
  2. 6
      src/base/interfaces/iapplication.h
  3. 1
      src/webui/api/torrentscontroller.cpp

14
src/base/addtorrentmanager.h

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

6
src/base/interfaces/iapplication.h

@ -33,11 +33,9 @@ @@ -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

1
src/webui/api/torrentscontroller.cpp

@ -38,6 +38,7 @@ @@ -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"

Loading…
Cancel
Save