about summary refs log tree commit diff stats
path: root/src/global.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-26 14:05:29 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-26 14:05:29 -0500
commit2adce1795211fd0a42c3b4e03ab35a90bb01bccf (patch)
tree7fda2f874f0653e4c74edaaf1547fe9802b2005a /src/global.h
parent7fc0e0f50ae961efbe0cac1032b03a42d41d87d5 (diff)
downloadlingo-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.h11
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
7const std::filesystem::path& GetExecutableDirectory();
8
9std::string GetAbsolutePath(std::string_view path);
10
11#endif /* end of include guard: GLOBAL_H_44945DBA */