staging some future refactoring, .h -> hpp, fix for rendering w/ audio
This commit is contained in:
21
src/util/working_directory.hpp
Normal file
21
src/util/working_directory.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
namespace anm2ed::util
|
||||
{
|
||||
class WorkingDirectory
|
||||
{
|
||||
public:
|
||||
enum Type
|
||||
{
|
||||
FILE,
|
||||
DIRECTORY
|
||||
};
|
||||
|
||||
std::filesystem::path previous{};
|
||||
|
||||
WorkingDirectory(const std::filesystem::path&, Type type = DIRECTORY);
|
||||
~WorkingDirectory();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user