Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/trackerinterface.cpp
Show All 24 Lines | 24 | { | |||
---|---|---|---|---|---|
25 | TrackerInterface::TrackerInterface(const QUrl &url) : url(url) | 25 | TrackerInterface::TrackerInterface(const QUrl &url) : url(url) | ||
26 | { | 26 | { | ||
27 | // default 5 minute interval | 27 | // default 5 minute interval | ||
28 | interval = 5 * 60 * 1000; | 28 | interval = 5 * 60 * 1000; | ||
29 | seeders = leechers = total_downloaded = -1; | 29 | seeders = leechers = total_downloaded = -1; | ||
30 | enabled = true; | 30 | enabled = true; | ||
31 | started = false; | 31 | started = false; | ||
32 | status = TRACKER_IDLE; | 32 | status = TRACKER_IDLE; | ||
33 | time_out = false; | ||||
33 | } | 34 | } | ||
34 | 35 | | |||
35 | TrackerInterface::~TrackerInterface() | 36 | TrackerInterface::~TrackerInterface() | ||
36 | { | 37 | { | ||
37 | } | 38 | } | ||
38 | 39 | | |||
39 | void TrackerInterface::reset() | 40 | void TrackerInterface::reset() | ||
40 | { | 41 | { | ||
Show All 27 Lines |