Ocular Engine
SceneSaver.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_CORE_SCENE_SAVER__H__
19 #define __H__OCULAR_CORE_SCENE_SAVER__H__
20 
21 #include "FileIO/File.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Core
36  {
37  class Scene;
38 
48  class SceneSaver
49  {
50  public:
51 
60  static bool Save(Scene const* scene, File const& file);
61 
62  protected:
63 
64  static bool IsValidFile(File const& file);
65 
66  private:
67  };
68  }
72 }
77 //------------------------------------------------------------------------------------------
78 
79 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Scene.hpp:70
Handles the saving of .oscene files (Ocular Scene)
Definition: SceneSaver.hpp:48
Definition: File.hpp:41
static bool Save(Scene const *scene, File const &file)
Definition: SceneSaver.cpp:39