mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Replace include of <libtorrent/session.hpp> with forward declaration
This commit is contained in:
@@ -65,6 +65,7 @@
|
|||||||
#include <QChar>
|
#include <QChar>
|
||||||
|
|
||||||
#include "fs_utils.h"
|
#include "fs_utils.h"
|
||||||
|
#include <libtorrent/session.hpp>
|
||||||
|
|
||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,13 @@
|
|||||||
#ifndef GEOIPMANAGER_H
|
#ifndef GEOIPMANAGER_H
|
||||||
#define GEOIPMANAGER_H
|
#define GEOIPMANAGER_H
|
||||||
|
|
||||||
#include <libtorrent/session.hpp>
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
|
|
||||||
|
namespace libtorrent {
|
||||||
|
class session;
|
||||||
|
}
|
||||||
|
|
||||||
class GeoIPManager : public QObject {
|
class GeoIPManager : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user