20 #ifndef BT_PREALLOCATIONJOB_H
21 #define BT_PREALLOCATIONJOB_H
23 #include <torrent/job.h>
28 class PreallocationThread;
31 class KTORRENT_EXPORT PreallocationJob :
public bt::Job
35 PreallocationJob(ChunkManager* cman,TorrentControl* tc);
36 ~PreallocationJob()
override;
38 void start()
override;
39 void kill(
bool quietly =
true)
override;
40 TorrentStatus torrentStatus()
const override {
return ALLOCATING_DISKSPACE;}
47 PreallocationThread* prealloc_thread;
52 #endif // BT_PREALLOCATIONJOB_H