stuff-from-scratch/src/database/Database.h
2022-12-01 10:52:48 +00:00

26 lines
365 B
C++

#pragma once
#include <memory>
#include <string>
#include <filesystem>
using Path = std::filesystem::path;
class Database
{
public:
Database();
~Database();
static std::unique_ptr<Database> Create();
const Path& getPath() const;
void setPath(const Path& path);
private:
Path mPath;
};
using DatabasePtr = std::unique_ptr<Database>;