- Added daemon start functionality
[qtrapids] / src / server / TorrentSession.hpp
index 66b6b54..254e02e 100644 (file)
@@ -51,7 +51,8 @@ class TorrentSession : public QObject
 
 public:
        TorrentSession(QObject *parent, QSettings *);
-
+       virtual ~TorrentSession();
+       
 public slots:
        void getState();
        void addTorrent(const QString &path, const QString &save_path
@@ -64,6 +65,7 @@ public slots:
 signals:
        void alert(qtrapids::TorrentState info, qtrapids::ParamsMap_t other_info);
        void terminate();
+       void sessionTerminated();
        
 private slots:
        void on_alert();