mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-15 22:02:29 +08:00

# Implemented basic project file loading # Implemented basic camera settings loading Signed-off-by: Alexis Maiquez <almamu@almamu.com>
32 lines
554 B
C++
32 lines
554 B
C++
#pragma once
|
|
|
|
#include <irrlicht/irrlicht.h>
|
|
#include <nlohmann/json.hpp>
|
|
|
|
#include "scene.h"
|
|
|
|
namespace wp::core
|
|
{
|
|
using json = nlohmann::json;
|
|
|
|
class scene;
|
|
|
|
class project
|
|
{
|
|
public:
|
|
static project* fromFile (const irr::io::path& filename);
|
|
|
|
scene* getScene ();
|
|
|
|
std::string getTitle ();
|
|
std::string getType ();
|
|
protected:
|
|
project (std::string title, std::string type, scene* scene);
|
|
private:
|
|
std::string m_title;
|
|
std::string m_type;
|
|
scene* m_scene;
|
|
};
|
|
};
|
|
|