This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.

28 lines
472 B
C++
Raw Normal View History

#pragma once
namespace big
{
class file_manager;
class file
{
public:
file(std::filesystem::path file_path);
file copy(std::filesystem::path new_path);
bool exists() const;
const std::filesystem::path get_path() const;
file move(std::filesystem::path new_path);
protected:
file(file_manager* file_manager, std::filesystem::path file_path);
private:
friend class file_manager;
bool m_is_project_file;
std::filesystem::path m_file_path;
};
}