Move AddTorrentParams to its own header (#6712)

* Move AddTorrentParams to its own header

* fixup! Move AddTorrentParams to its own header
This commit is contained in:
Vladimir Golovnev
2017-04-29 11:49:40 +03:00
committed by GitHub
parent 70f1153413
commit 93df0ef1d1
4 changed files with 55 additions and 15 deletions

View File

@@ -49,6 +49,7 @@
#include "base/settingvalue.h"
#include "base/tristatebool.h"
#include "base/types.h"
#include "addtorrentparams.h"
#include "torrentinfo.h"
namespace libtorrent
@@ -135,21 +136,6 @@ namespace BitTorrent
class TrackerEntry;
struct AddTorrentData;
struct AddTorrentParams
{
QString name;
QString category;
QString savePath;
bool disableTempPath = false; // e.g. for imported torrents
bool sequential = false;
TriStateBool addForced;
TriStateBool addPaused;
QVector<int> filePriorities; // used if TorrentInfo is set
bool ignoreShareRatio = false;
bool skipChecking = false;
TriStateBool createSubfolder;
};
struct TorrentStatusReport
{
uint nbDownloading = 0;