#pragma once #include #define EXPORT __attribute__((visibility("default"))) 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(); };