From 62a4abb9bf6551417130c3c6f9bba147930895ef Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 7 Oct 2025 20:56:33 +0200 Subject: cfg: New module Reads config files --- test/testdir.hh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/testdir.hh (limited to 'test/testdir.hh') diff --git a/test/testdir.hh b/test/testdir.hh new file mode 100644 index 0000000..b59e09a --- /dev/null +++ b/test/testdir.hh @@ -0,0 +1,22 @@ +#ifndef TESTDIR_HH +#define TESTDIR_HH + +#include // IWYU pragma: export + +class TestDir { + public: + TestDir(); + ~TestDir(); + + TestDir(TestDir const&) = delete; + TestDir& operator=(TestDir const&) = delete; + + bool good() const { return !path_.empty(); }; + + std::filesystem::path const& path() const { return path_; }; + + private: + std::filesystem::path path_; +}; + +#endif // TESTDIR_HH -- cgit v1.2.3-70-g09d2