mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 16:12:30 -06:00
@@ -39,11 +39,7 @@ class NativeSessionExtension final : public lt::plugin
|
||||
using ClientData = void *;
|
||||
#endif
|
||||
|
||||
#if (LIBTORRENT_VERSION_NUM >= 10200)
|
||||
lt::feature_flags_t implemented_features() override;
|
||||
std::shared_ptr<lt::torrent_plugin> new_torrent(const lt::torrent_handle &torrentHandle, ClientData) override;
|
||||
#else
|
||||
boost::shared_ptr<lt::torrent_plugin> new_torrent(const lt::torrent_handle &torrentHandle, ClientData) override;
|
||||
#endif
|
||||
void on_alert(const lt::alert *alert) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user