diff options
Diffstat (limited to 'src/path_utils.hpp')
| -rw-r--r-- | src/path_utils.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/path_utils.hpp b/src/path_utils.hpp index 76567bc..2594206 100644 --- a/src/path_utils.hpp +++ b/src/path_utils.hpp @@ -6,12 +6,16 @@ namespace engine::path_utils { -std::optional<std::filesystem::path> exe_path() noexcept; +std::optional<std::filesystem::path> exe() noexcept; class Paths { public: Paths() noexcept; + const std::filesystem::path& exe() const & noexcept { + return m_exe; + } + const std::filesystem::path& assets_objs() const & noexcept { return m_assets_objs; } @@ -25,7 +29,7 @@ class Paths { } private: - std::filesystem::path m_assets_objs, m_assets_textures, m_spvshaders; + std::filesystem::path m_exe, m_assets_objs, m_assets_textures, m_spvshaders; }; } |
