diff --git a/include/config.hpp b/include/config.hpp index 1f7c220..c9b7eee 100644 --- a/include/config.hpp +++ b/include/config.hpp @@ -1,9 +1,7 @@ #pragma once -#include +#include #include -namespace fs = std::experimental::filesystem; - class config : public json { static fs::path &get_config_path(); void create_config_directory(); diff --git a/include/data.hpp b/include/data.hpp index dae073a..fd924ab 100644 --- a/include/data.hpp +++ b/include/data.hpp @@ -1,9 +1,7 @@ #pragma once -#include +#include #include -namespace fs = std::experimental::filesystem; - class with_data_directory { void create_data_directory(); diff --git a/include/fs.hpp b/include/fs.hpp new file mode 100644 index 0000000..7f5bc38 --- /dev/null +++ b/include/fs.hpp @@ -0,0 +1,3 @@ +#pragma once +#include +namespace fs = std::experimental::filesystem;