29 #include <string> |
29 #include <string> |
30 #include <vector> |
30 #include <vector> |
31 |
31 |
32 namespace fm { |
32 namespace fm { |
33 |
33 |
34 constexpr static short SETTINGS_CURRENT_YEAR = 0; |
34 constexpr static short settings_current_year = 0; |
35 |
35 |
36 struct settings { |
36 struct settings { |
37 std::string hg{"/usr/bin/hg"}; |
37 std::string hg{"/usr/bin/hg"}; |
38 std::string git{"/usr/bin/git"}; |
38 std::string git{"/usr/bin/git"}; |
39 std::vector<std::string> paths; |
39 std::vector<std::string> paths; |
40 unsigned char depth = 1; |
40 unsigned char depth = 1; |
41 bool update_repos = true; |
41 bool update_repos = true; |
42 bool separate = false; |
42 bool separate = false; |
43 unsigned short year = SETTINGS_CURRENT_YEAR; |
43 unsigned short year = settings_current_year; |
44 }; |
44 }; |
45 |
45 |
46 } |
46 } |
47 |
47 |
48 #endif //SETTINGS_H |
48 #endif //SETTINGS_H |