Changeset View
Changeset View
Standalone View
Standalone View
src/torrent/torrentcontrol.h
Context not available. | |||||
180 | 180 | | |||
---|---|---|---|---|---|
181 | /// Set a custom Cache factory | 181 | /// Set a custom Cache factory | ||
182 | void setCacheFactory(CacheFactory* cf); | 182 | void setCacheFactory(CacheFactory* cf); | ||
183 | 183 | | |||
184 | /// Get time in msec since the last Stats file save on disk | ||||
185 | TimeStamp getStatsSyncElapsedTime() { return stats_save_timer.getElapsedSinceUpdate(); } | ||||
186 | | ||||
184 | public Q_SLOTS: | 187 | public Q_SLOTS: | ||
185 | /** | 188 | /** | ||
186 | * Update the object, should be called periodically. | 189 | * Update the object, should be called periodically. | ||
Context not available. | |||||
284 | 287 | | |||
285 | private: | 288 | private: | ||
286 | JobQueue* job_queue; | 289 | JobQueue* job_queue; | ||
290 | QueueManagerInterface* m_qman; | ||||
287 | Torrent* tor; | 291 | Torrent* tor; | ||
288 | PeerSourceManager* psman; | 292 | PeerSourceManager* psman; | ||
289 | ChunkManager* cman; | 293 | ChunkManager* cman; | ||
Context not available. |