1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/test/webfuse/utils/tempdir.hpp

22 lines
322 B
C++
Raw Normal View History

2020-02-16 13:47:21 +00:00
#ifndef WF_TEST_TEMPDIR_HPP
#define WF_TEST_TEMPDIR_HPP
namespace webfuse_test
{
class TempDir
{
TempDir(TempDir const &) = delete;
TempDir & operator=(TempDir const &) = delete;
public:
2020-02-16 20:38:37 +00:00
explicit TempDir(char const * prefix);
2020-02-16 13:47:21 +00:00
~TempDir();
char const * path();
private:
char * path_;
};
}
#endif