mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-06 03:44:29 +00:00
Make alertdispatcher.h self contained and replace include libtorrent/session with forward declaration
This commit is contained in:
parent
5ea1a4c3cc
commit
83dd35dbc9
@ -30,6 +30,7 @@
|
||||
|
||||
#include "alertdispatcher.h"
|
||||
|
||||
#include <libtorrent/session.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <QMutexLocker>
|
||||
|
||||
|
@ -36,7 +36,14 @@
|
||||
#include <QWaitCondition>
|
||||
#include <QAtomicPointer>
|
||||
#include <QSharedPointer>
|
||||
#include <libtorrent/session.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
namespace libtorrent {
|
||||
class session;
|
||||
class alert;
|
||||
}
|
||||
|
||||
class QAlertDispatcher : public QObject {
|
||||
Q_OBJECT
|
||||
|
Loading…
x
Reference in New Issue
Block a user