32 #include "../api_core.h"
51 static bool create(
const std::string &dir_name,
bool recursive =
false);
59 static bool remove(
const std::string &dir_name,
bool delete_files =
false,
bool delete_sub_directories =
false);
66 static bool rename(
const std::string &old_name,
const std::string &new_name);
72 static bool set_current(
const std::string &dir_name);
77 static std::string get_current();
93 static std::string get_appdata(
const std::string &company_name,
const std::string &application_name,
const std::string &version,
bool create_dirs_if_missing =
true);
109 static std::string get_local_appdata(
const std::string &company_name,
const std::string &application_name,
const std::string &version,
bool create_dirs_if_missing =
true);
130 static std::string get_resourcedata(
const std::string &application_name,
const std::string &data_dir_name =
"Resources");
Directory utility class.
Definition: directory.h:40