#ifndef _MODULES_TORRENT_HPP_ #define _MODULES_TORRENT_HPP_ #include "modules/base.hpp" #include "drawtypes/bar.hpp" #include "drawtypes/label.hpp" namespace modules { struct Torrent { std::string title; unsigned long data_total; unsigned long data_downloaded; unsigned long data_remaining; float perc_downloaded; std::unique_ptr label_tokenized; }; DefineModule(TorrentModule, InotifyModule) { const char *TAG_LABEL = "