typedef libtorrent::session TorrentSession;
typedef libtorrent::add_torrent_params AddTorrentParams;
typedef libtorrent::alert TorrentAlert;
+typedef libtorrent::sha1_hash Sha1Hash;
/**
~QBittorrentSession();
/// @brief Add torrent to session.
- QTorrentHandle addTorrent(AddTorrentParams const& params);
+ std::auto_ptr<QTorrentHandle> addTorrent(AddTorrentParams const& params);
signals:
void alert(std::auto_ptr<TorrentAlert> al);