[refactor] reorganize platform and wire sources

This commit is contained in:
dijunkun
2026-09-01 01:29:30 +08:00
parent fb0ab4f14e
commit 90184f5251
354 changed files with 2837 additions and 2456 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef CROSSDESK_PLATFORM_PATH_BACKEND_H_
#define CROSSDESK_PLATFORM_PATH_BACKEND_H_
#include <filesystem>
#include <string>
namespace crossdesk::platform {
std::filesystem::path GetExecutableDirectory();
std::filesystem::path GetConfigPath(const std::string& app_name);
std::filesystem::path GetCachePath(const std::string& app_name);
std::filesystem::path GetLogPath(const std::string& app_name);
} // namespace crossdesk::platform
#endif // CROSSDESK_PLATFORM_PATH_BACKEND_H_