projects
/
qtrapids
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Namespaced QBittorrentSession and QTorrentHandle to avoid possible future conflicts
[qtrapids]
/
src
/
engine
/
QBittorrentSession.h
diff --git
a/src/engine/QBittorrentSession.h
b/src/engine/QBittorrentSession.h
index
9cf5381
..
7d2ea43
100644
(file)
--- a/
src/engine/QBittorrentSession.h
+++ b/
src/engine/QBittorrentSession.h
@@
-40,6
+40,8
@@
typedef libtorrent::torrent_alert TorrentAlert;
typedef libtorrent::sha1_hash Sha1Hash;
typedef libtorrent::sha1_hash Sha1Hash;
+namespace qtrapids {
+
/**
@author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
*/
/**
@author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
*/
@@
-52,8
+54,8
@@
class QBittorrentSession : public QObject {
~QBittorrentSession();
/// @brief Add torrent to session.
~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<Alert> al);
signals:
void alert(std::auto_ptr<Alert> al);
@@
-67,4
+69,5
@@
class QBittorrentSession : public QObject {
};
};
+} //namespace qtrapids
#endif
#endif