Changeset View
Changeset View
Standalone View
Standalone View
plugins/htmlinterface/htmlinterfaceplugin.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
42 | ~HtmlInterfacePlugin(); | 42 | ~HtmlInterfacePlugin(); | ||
43 | 43 | | |||
44 | bool versionCheck(const QString& version) const override; | 44 | bool versionCheck(const QString& version) const override; | ||
45 | void load() override; | 45 | void load() override; | ||
46 | void unload() override; | 46 | void unload() override; | ||
47 | void currentTorrentChanged(bt::TorrentInterface* tc) override; | 47 | void currentTorrentChanged(bt::TorrentInterface* tc) override; | ||
48 | 48 | | |||
49 | HtmlInterfacePlugin * instance; | 49 | HtmlInterfacePlugin * instance; | ||
50 | // QString parentPart() const override {return QStringLiteral("torrentactivity");} | 50 | | ||
51 | // | | |||
52 | // /// Get the download order manager for a torrent (returns 0 if none exists) | | |||
53 | // HtmlInterfaceManager* manager(bt::TorrentInterface* tc); | | |||
54 | // | | |||
55 | // /// Create a manager for a torrent | | |||
56 | // HtmlInterfaceManager* createManager(bt::TorrentInterface* tc); | | |||
57 | // | | |||
58 | // /// Destroy a manager | | |||
59 | // void destroyManager(bt::TorrentInterface* tc); | | |||
60 | // | | |||
61 | // private slots: | | |||
62 | // void showHtmlInterfaceDialog(); | | |||
63 | // void torrentAdded(bt::TorrentInterface* tc); | | |||
64 | // void torrentRemoved(bt::TorrentInterface* tc); | | |||
65 | // | | |||
66 | private: | 51 | private: | ||
67 | QThread* thread; | 52 | QThread* thread; | ||
68 | WebServer * worker; | 53 | WebServer * ws; | ||
69 | // QAction * download_order_action; | | |||
70 | // bt::PtrMap<bt::TorrentInterface*, HtmlInterfaceManager> managers; | | |||
71 | }; | 54 | }; | ||
72 | 55 | | |||
73 | } | 56 | } | ||
74 | 57 | | |||
75 | #endif | 58 | #endif |