Browse Source

Replace include of <libtorrent/session.hpp> with forward declaration

adaptive-webui-19844
Ivan Sorokin 10 years ago
parent
commit
b2e3739da2
  1. 1
      src/geoip/geoipmanager.cpp
  2. 5
      src/geoip/geoipmanager.h

1
src/geoip/geoipmanager.cpp

@ -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;

5
src/geoip/geoipmanager.h

@ -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…
Cancel
Save