X-Git-Url: http://git.maemo.org/git/?p=qtrapids;a=blobdiff_plain;f=src%2Fengine%2FQBittorrentSession.h;fp=src%2Fengine%2FQBittorrentSession.h;h=7d2ea436800a523e2e0de3e56ff87a860789c081;hp=9cf5381cac98d5f1b5ed212bf02c78a3302b4cbb;hb=d3d85653bf84dadcf6c2890cc2ddf9f629ee7619;hpb=f576091800144d69317250a69d40c711505a4f34 diff --git a/src/engine/QBittorrentSession.h b/src/engine/QBittorrentSession.h index 9cf5381..7d2ea43 100644 --- a/src/engine/QBittorrentSession.h +++ b/src/engine/QBittorrentSession.h @@ -40,6 +40,8 @@ typedef libtorrent::torrent_alert TorrentAlert; typedef libtorrent::sha1_hash Sha1Hash; +namespace qtrapids { + /** @author Lassi Väätämöinen */ @@ -52,8 +54,8 @@ class QBittorrentSession : public QObject { ~QBittorrentSession(); /// @brief Add torrent to session. - QTorrentHandle addTorrent(AddTorrentParams const& params); - void removeTorrent(QTorrentHandle const& handle); + qtrapids::QTorrentHandle addTorrent(AddTorrentParams const& params); + void removeTorrent(qtrapids::QTorrentHandle const& handle); signals: void alert(std::auto_ptr al); @@ -67,4 +69,5 @@ class QBittorrentSession : public QObject { }; +} //namespace qtrapids #endif