#pragma once #include "fslib.hpp" #include "sys/sys.hpp" #include #include #include namespace curl { // clang-format off struct DownloadStruct { std::mutex lock{}; std::condition_variable condition{}; std::vector sharedBuffer{}; bool bufferReady{}; fslib::File *dest{}; sys::ProgressTask *task{}; size_t offset{}; int64_t fileSize{}; }; // clang-format on }