#ifndef QBITTORRENTSESSION_H
#define QBITTORRENTSESSION_H
+#include <memory>
+
#include <QObject>
#include <libtorrent/session.hpp>
+#include <libtorrent/torrent_info.hpp>
#include "QTorrentHandle.h"
QTorrentHandle addTorrent(AddTorrentParams const& params);
signals:
- void alert(TorrentAlert const *al);
+ void alert(std::auto_ptr<TorrentAlert> al);
private slots:
void on_alert(TorrentAlert const *al);