#pragma once #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) { static constexpr auto TAG_LABEL = "