#pragma once #include #include #include #include #define EXPORT __attribute__((visibility("default"))) namespace File { EXPORT std::string getFile(const std::filesystem::path& filename); EXPORT void setFile(const std::filesystem::path& filename, const std::string& s); EXPORT void setFile(const std::filesystem::path& filename, const char* data, size_t size); EXPORT void setFile(const std::filesystem::path& filename, const std::vector& data); }