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.
YimMenu/src/file_manager/folder.hpp

25 lines
459 B
C++

#pragma once
namespace big
{
class file;
class file_manager;
class folder
{
public:
folder(const std::filesystem::path& folder_path = "");
file get_file(std::filesystem::path file_path) const;
folder get_folder(std::filesystem::path folder_path) const;
const std::filesystem::path get_path() const;
private:
friend class file_manager;
file_manager* m_file_manager;
bool m_is_project_file;
std::filesystem::path m_folder_path;
};
}