#pragma once #include #define EXPORT __attribute__((visibility("default"))) namespace Reichwein { class EXPORT Tempfile { std::filesystem::path m_path; public: std::filesystem::path getPath() const; // extension: e.g. ".zip" Tempfile(const std::filesystem::path& extension = std::filesystem::path{}); ~Tempfile(); }; } // namespace