Refactor flag handling: move FlagParser implementation to flag.cc, remove ResourceManager, and update includes

This commit is contained in:
scawful
2025-01-26 13:36:27 -05:00
parent c86fc17b13
commit c8d4efda2e
5 changed files with 53 additions and 74 deletions

View File

@@ -1,28 +0,0 @@
#ifndef YAZE_APP_EDITOR_SYSTEM_RESOURCE_MANAGER_H
#define YAZE_APP_EDITOR_SYSTEM_RESOURCE_MANAGER_H
#include <cstddef>
namespace yaze {
namespace editor {
// System resource manager.
class ResourceManager {
public:
ResourceManager() : count_(0) {}
~ResourceManager() = default;
void Load(const char* path);
void Unload(const char* path);
void UnloadAll();
size_t Count() const;
private:
size_t count_;
};
} // namespace editor
} // namespace yaze
#endif // YAZE_APP_EDITOR_SYSTEM_RESOURCE_MANAGER_H