X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fengine%2FQTorrentHandle.h;h=14d969b4297ae86c4abcd7e273871d2df1a96cb4;hb=a287bad35d31bc51adaad80dea33f7573b688eaf;hp=f4238c8e9251a6eb9ef0a640e184eb70b98c46ca;hpb=b00c42d2b71e46b466d5796900f5bf5cb6017063;p=qtrapids diff --git a/src/engine/QTorrentHandle.h b/src/engine/QTorrentHandle.h index f4238c8..14d969b 100644 --- a/src/engine/QTorrentHandle.h +++ b/src/engine/QTorrentHandle.h @@ -34,10 +34,11 @@ class QTorrentHandle QTorrentHandle(libtorrent::torrent_handle handle); ~QTorrentHandle(); + bool isValid() const; private: QTorrentHandle(); // Prevent default construct. - libtorrent::torrent_handle torrentHandle; + libtorrent::torrent_handle torrentHandle_; };