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

22 lines
324 B
C++
Raw Normal View History

#ifndef WFP_TEST_TEMPDIR_HPP
#define WFP_TEST_TEMPDIR_HPP
2020-02-16 13:47:21 +00:00
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