diff --git a/include/config/Camera.hpp b/include/config/Camera.hpp new file mode 100644 index 0000000..3e92863 --- /dev/null +++ b/include/config/Camera.hpp @@ -0,0 +1,9 @@ +#ifndef __CFG_CAMERA_HPP__ +#define __CFG_CAMERA_HPP__ + +namespace RayTracer::Config +{ + class Camera {}; +} // namespace RayTracer::Config + +#endif /* __CFG_CAMERA_HPP__ */ diff --git a/include/config/Effects.hpp b/include/config/Effects.hpp new file mode 100644 index 0000000..5d81415 --- /dev/null +++ b/include/config/Effects.hpp @@ -0,0 +1,9 @@ +#ifndef __CFG_EFFECTS_HPP__ +#define __CFG_EFFECTS_HPP__ + +namespace RayTracer::Config +{ + class Effects {}; +} // namespace RayTracer::Config + +#endif /* __CFG_EFFECTS_HPP__ */ diff --git a/include/config/Manager.hpp b/include/config/Manager.hpp new file mode 100644 index 0000000..f1e0500 --- /dev/null +++ b/include/config/Manager.hpp @@ -0,0 +1,17 @@ +#include + +#ifndef __CFG_MANAGER_HPP__ + #define __CFG_MANAGER_HPP__ + +namespace RayTracer::Config +{ + class Manager { + private: + libconfig::Config config; + + public: + void parse(std::string_view path); + }; +} // namespace RayTracer::Config + +#endif /* __CFG_MANAGER_HPP__ */ diff --git a/include/config/Materials.hpp b/include/config/Materials.hpp new file mode 100644 index 0000000..14363a7 --- /dev/null +++ b/include/config/Materials.hpp @@ -0,0 +1,9 @@ +#ifndef __CFG_MATERIALS_HPP__ +#define __CFG_MATERIALS_HPP__ + +namespace RayTracer::Config +{ + class Materials {}; +} // namespace RayTracer::Config + +#endif /* __CFG_MATERIALS_HPP__ */ diff --git a/include/config/Scene.hpp b/include/config/Scene.hpp new file mode 100644 index 0000000..870e0a4 --- /dev/null +++ b/include/config/Scene.hpp @@ -0,0 +1,9 @@ +#ifndef __CFG_SCENE_HPP__ +#define __CFG_SCENE_HPP__ + +namespace RayTracer::Config +{ + class Scene {}; +} // namespace RayTracer::Config + +#endif /* __CFG_SCENE_HPP__ */ diff --git a/include/config/Shapes.hpp b/include/config/Shapes.hpp new file mode 100644 index 0000000..41dacd4 --- /dev/null +++ b/include/config/Shapes.hpp @@ -0,0 +1,9 @@ +#ifndef __CFG_SHAPES_HPP__ +#define __CFG_SHAPES_HPP__ + +namespace RayTracer::Config +{ + class Shapes {}; +} // namespace RayTracer::Config + +#endif /* __CFG_SHAPES_HPP__ */ diff --git a/include/config/Textures.hpp b/include/config/Textures.hpp new file mode 100644 index 0000000..ef6718e --- /dev/null +++ b/include/config/Textures.hpp @@ -0,0 +1,9 @@ +#ifndef __CFG_TEXTURES_HPP__ +#define __CFG_TEXTURES_HPP__ + +namespace RayTracer::Config +{ + class Textures {}; +} // namespace RayTracer::Config + +#endif /* __CFG_TEXTURES_HPP__ */