Fairly big refactor...

This commit is contained in:
Your Name
2025-04-23 21:50:04 +12:00
parent 50e340f1c5
commit 9a3dd18525
24 changed files with 853 additions and 660 deletions

View File

@ -4,9 +4,23 @@
namespace dropshell {
// Configuration functions
bool get_config_path(std::string& path);
bool load_config();
bool is_config_loaded();
class config {
public:
config();
~config();
bool load_config();
void save_config();
bool is_config_set() const;
bool get_local_config_directory(std::string& path) const;
void init_local_config_directory(const std::string& path);
private:
std::string local_config_directory;
};
config *get_global_config();
} // namespace dropshell