X-Git-Url: http://git.maemo.org/git/?p=qtrapids;a=blobdiff_plain;f=src%2Finclude%2Fqtrapids%2Finfo.hpp;h=81c7017e09f57e128db3528d570eaccd607a139b;hp=221cc7ae533973d66fe516e111e98f298b6788f6;hb=4fda70ff265b1a5a1f37597f57253272a2b22fbf;hpb=d27c2db830de9a65d6a419479ee598cbf3697746 diff --git a/src/include/qtrapids/info.hpp b/src/include/qtrapids/info.hpp index 221cc7a..81c7017 100644 --- a/src/include/qtrapids/info.hpp +++ b/src/include/qtrapids/info.hpp @@ -16,20 +16,18 @@ static const uint32_t torrent_progress_percent = 10000; typedef libtorrent::torrent_status TorrentStatus_t; typedef libtorrent::torrent_status::state_t TorrentStatusIds_t; -struct TorrentStatus -{ - enum Id - { - QUEUED_FOR_CHECKING = TorrentStatus_t::queued_for_checking, - CHECKING_FILES = TorrentStatus_t::checking_files, - DOWNLOADING_METADATA = TorrentStatus_t::downloading_metadata, - DOWNLOADING = TorrentStatus_t::downloading, - FINISHED = TorrentStatus_t::finished, - SEEDING = TorrentStatus_t::seeding, - ALLOCATING = TorrentStatus_t::allocating, - CHECKING_RESUME_DATA = TorrentStatus_t::checking_resume_data, - UNSPECIFIED - }; +struct TorrentStatus { + enum Id { + QUEUED_FOR_CHECKING = TorrentStatus_t::queued_for_checking, + CHECKING_FILES = TorrentStatus_t::checking_files, + DOWNLOADING_METADATA = TorrentStatus_t::downloading_metadata, + DOWNLOADING = TorrentStatus_t::downloading, + FINISHED = TorrentStatus_t::finished, + SEEDING = TorrentStatus_t::seeding, + ALLOCATING = TorrentStatus_t::allocating, + CHECKING_RESUME_DATA = TorrentStatus_t::checking_resume_data, + UNSPECIFIED + }; }; }