libktorrent  2.1.1
Public Member Functions | Static Public Member Functions | List of all members
bt::QueueManagerInterface Class Referenceabstract

#include <queuemanagerinterface.h>

Public Member Functions

virtual bool alreadyLoaded (const SHA1Hash &ih) const =0
 
virtual void mergeAnnounceList (const SHA1Hash &ih, const TrackerTier *trk)=0
 

Static Public Member Functions

static bool enabled ()
 
static void setQueueManagerEnabled (bool on)
 

Detailed Description

Author

Definition at line 53 of file queuemanagerinterface.h.

Member Function Documentation

◆ alreadyLoaded()

virtual bool bt::QueueManagerInterface::alreadyLoaded ( const SHA1Hash ih) const
pure virtual

See if we already loaded a torrent.

Parameters
ihThe info hash of a torrent
Returns
true if we do, false if we don't

◆ mergeAnnounceList()

virtual void bt::QueueManagerInterface::mergeAnnounceList ( const SHA1Hash ih,
const TrackerTier trk 
)
pure virtual

Merge announce lists to a torrent

Parameters
ihThe info_hash of the torrent to merge to
trkFirst tier of trackers

◆ setQueueManagerEnabled()

static void bt::QueueManagerInterface::setQueueManagerEnabled ( bool  on)
static

Disable or enable the QM

Parameters
on

The documentation for this class was generated from the following file: