diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-26 14:05:29 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-26 14:05:29 -0500 |
commit | 2adce1795211fd0a42c3b4e03ab35a90bb01bccf (patch) | |
tree | 7fda2f874f0653e4c74edaaf1547fe9802b2005a /src/global.h | |
parent | 7fc0e0f50ae961efbe0cac1032b03a42d41d87d5 (diff) | |
download | lingo-ap-tracker-2adce1795211fd0a42c3b4e03ab35a90bb01bccf.tar.gz lingo-ap-tracker-2adce1795211fd0a42c3b4e03ab35a90bb01bccf.tar.bz2 lingo-ap-tracker-2adce1795211fd0a42c3b4e03ab35a90bb01bccf.zip |
Stop relying on correctly set working directory
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h new file mode 100644 index 0000000..2eb7884 --- /dev/null +++ b/src/global.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef GLOBAL_H_44945DBA | ||
2 | #define GLOBAL_H_44945DBA | ||
3 | |||
4 | #include <filesystem> | ||
5 | #include <string_view> | ||
6 | |||
7 | const std::filesystem::path& GetExecutableDirectory(); | ||
8 | |||
9 | std::string GetAbsolutePath(std::string_view path); | ||
10 | |||
11 | #endif /* end of include guard: GLOBAL_H_44945DBA */ | ||