added project loader

This commit is contained in:
2026-05-14 23:16:16 -04:00
parent 2dd5f3a648
commit 0ceea230cf
10 changed files with 134 additions and 30 deletions

19
src/ProjectManifestFile.h Normal file
View File

@@ -0,0 +1,19 @@
//
// Created by slinky on 5/14/26.
//
#ifndef B_ENGINE_PROJECTMANIFESTFILE_H
#define B_ENGINE_PROJECTMANIFESTFILE_H
#include <string_view>
#include <memory>
#include "ProjectManifest.h"
class ProjectManifestFile {
public:
static std::unique_ptr<ProjectManifest> load(std::string_view _path);
static bool save(std::string_view _path, ProjectManifest* _project);
};
#endif //B_ENGINE_PROJECTMANIFESTFILE_H