mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Replace include of <libtorrent/session.hpp> with forward declaration
This commit is contained in:
parent
c9b27e032b
commit
b2e3739da2
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue