|
|
@ -38,6 +38,7 @@ |
|
|
|
#include <libtorrent/torrent_handle.hpp> |
|
|
|
#include <libtorrent/torrent_handle.hpp> |
|
|
|
|
|
|
|
|
|
|
|
#include <QtContainerFwd> |
|
|
|
#include <QtContainerFwd> |
|
|
|
|
|
|
|
#include <QDateTime> |
|
|
|
#include <QElapsedTimer> |
|
|
|
#include <QElapsedTimer> |
|
|
|
#include <QHash> |
|
|
|
#include <QHash> |
|
|
|
#include <QPointer> |
|
|
|
#include <QPointer> |
|
|
@ -773,6 +774,9 @@ namespace BitTorrent |
|
|
|
bool m_isPortMappingEnabled = false; |
|
|
|
bool m_isPortMappingEnabled = false; |
|
|
|
QHash<quint16, std::vector<lt::port_mapping_t>> m_mappedPorts; |
|
|
|
QHash<quint16, std::vector<lt::port_mapping_t>> m_mappedPorts; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QTimer *m_wakeupCheckTimer = nullptr; |
|
|
|
|
|
|
|
QDateTime m_wakeupCheckTimestamp; |
|
|
|
|
|
|
|
|
|
|
|
friend void Session::initInstance(); |
|
|
|
friend void Session::initInstance(); |
|
|
|
friend void Session::freeInstance(); |
|
|
|
friend void Session::freeInstance(); |
|
|
|
friend Session *Session::instance(); |
|
|
|
friend Session *Session::instance(); |
|
|
|