#pragma once #include #include #include "CScene.h" #include "Projects/CProperty.h" namespace WallpaperEngine::Core { using json = nlohmann::json; class CScene; class CProject { public: static CProject* fromFile (const irr::io::path& filename); CScene* getScene (); std::string getTitle (); std::string getType (); std::vector* getProperties (); protected: CProject (std::string title, std::string type, CScene* scene); void insertProperty (Projects::CProperty* property); private: std::vector m_properties; std::string m_title; std::string m_type; CScene* m_scene; }; };