mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Make alertdispatcher.h self contained and replace include libtorrent/session with forward declaration
This commit is contained in:
parent
5ea1a4c3cc
commit
83dd35dbc9
2 changed files with 9 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
#include "alertdispatcher.h"
|
#include "alertdispatcher.h"
|
||||||
|
|
||||||
|
#include <libtorrent/session.hpp>
|
||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
#include <QMutexLocker>
|
#include <QMutexLocker>
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,14 @@
|
||||||
#include <QWaitCondition>
|
#include <QWaitCondition>
|
||||||
#include <QAtomicPointer>
|
#include <QAtomicPointer>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <libtorrent/session.hpp>
|
|
||||||
|
#include <vector>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
namespace libtorrent {
|
||||||
|
class session;
|
||||||
|
class alert;
|
||||||
|
}
|
||||||
|
|
||||||
class QAlertDispatcher : public QObject {
|
class QAlertDispatcher : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue