1 #ifndef _QTRAPIDS_INFO_HPP_
2 #define _QTRAPIDS_INFO_HPP_
4 #include <libtorrent/torrent_handle.hpp>
12 static const uint32_t torrent_progress_max = std::numeric_limits<uint32_t>::max();
14 typedef libtorrent::torrent_status TorrentStatus_t;
15 typedef libtorrent::torrent_status::state_t TorrentStatusIds_t;
20 QUEUED_FOR_CHECKING = TorrentStatus_t::queued_for_checking,
21 CHECKING_FILES = TorrentStatus_t::checking_files,
22 DOWNLOADING_METADATA = TorrentStatus_t::downloading_metadata,
23 DOWNLOADING = TorrentStatus_t::downloading,
24 FINISHED = TorrentStatus_t::finished,
25 SEEDING = TorrentStatus_t::seeding,
26 ALLOCATING = TorrentStatus_t::allocating,
27 CHECKING_RESUME_DATA = TorrentStatus_t::checking_resume_data,
34 #endif // _QTRAPIDS_INFO_HPP_