mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 02:14:16 +00:00
Replace include of <libtorrent/session.hpp> with forward declaration
This commit is contained in:
parent
c9b27e032b
commit
b2e3739da2
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user