|
|
@ -28,25 +28,21 @@ |
|
|
|
* Contact : chris@qbittorrent.org |
|
|
|
* Contact : chris@qbittorrent.org |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include <libtorrent/entry.hpp> |
|
|
|
#include "torrentcreatorthread.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <fstream> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <boost/bind.hpp> |
|
|
|
#include <libtorrent/bencode.hpp> |
|
|
|
#include <libtorrent/bencode.hpp> |
|
|
|
|
|
|
|
#include <libtorrent/create_torrent.hpp> |
|
|
|
#include <libtorrent/torrent_info.hpp> |
|
|
|
#include <libtorrent/torrent_info.hpp> |
|
|
|
#include <libtorrent/file.hpp> |
|
|
|
|
|
|
|
#include <libtorrent/storage.hpp> |
|
|
|
#include <libtorrent/storage.hpp> |
|
|
|
#include <libtorrent/hasher.hpp> |
|
|
|
|
|
|
|
#include <libtorrent/file_pool.hpp> |
|
|
|
|
|
|
|
#include <libtorrent/create_torrent.hpp> |
|
|
|
|
|
|
|
#include <QFile> |
|
|
|
|
|
|
|
#include <QDir> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <boost/bind.hpp> |
|
|
|
#include <QFile> |
|
|
|
#include <iostream> |
|
|
|
|
|
|
|
#include <fstream> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "base/utils/fs.h" |
|
|
|
#include "base/utils/fs.h" |
|
|
|
#include "base/utils/misc.h" |
|
|
|
#include "base/utils/misc.h" |
|
|
|
#include "base/utils/string.h" |
|
|
|
#include "base/utils/string.h" |
|
|
|
#include "torrentcreatorthread.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace libt = libtorrent; |
|
|
|
namespace libt = libtorrent; |
|
|
|
using namespace BitTorrent; |
|
|
|
using namespace BitTorrent; |
|
|
|