aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 16:42:08 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 16:42:08 +0100
commit9752e2d27b06db25f0e2bc170341901201b4e4c1 (patch)
tree4a9bc544865548eb52fc186d7a82e09811d0cb1c
parent84116f205b7eefb0f437b8479f7b0384b2ae8314 (diff)
Replaced crepe::api to crepe
-rw-r--r--src/crepe/api/Scene.cpp2
-rw-r--r--src/crepe/api/Scene.h4
-rw-r--r--src/crepe/api/SceneManager.cpp2
-rw-r--r--src/crepe/api/SceneManager.h4
-rw-r--r--src/crepe/api/SceneManager.hpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/crepe/api/Scene.cpp b/src/crepe/api/Scene.cpp
index 189650f..092dc62 100644
--- a/src/crepe/api/Scene.cpp
+++ b/src/crepe/api/Scene.cpp
@@ -1,5 +1,5 @@
#include "Scene.h"
-using namespace crepe::api;
+using namespace crepe;
Scene::Scene(std::string name) : name(name) {}
diff --git a/src/crepe/api/Scene.h b/src/crepe/api/Scene.h
index 35fe9db..8bb487a 100644
--- a/src/crepe/api/Scene.h
+++ b/src/crepe/api/Scene.h
@@ -2,7 +2,7 @@
#include <string>
-namespace crepe::api {
+namespace crepe {
class Scene {
public:
@@ -14,4 +14,4 @@ public:
std::string name;
};
-} // namespace crepe::api
+} // namespace crepe
diff --git a/src/crepe/api/SceneManager.cpp b/src/crepe/api/SceneManager.cpp
index 773303b..1680dd1 100644
--- a/src/crepe/api/SceneManager.cpp
+++ b/src/crepe/api/SceneManager.cpp
@@ -2,7 +2,7 @@
#include "SceneManager.h"
-using namespace crepe::api;
+using namespace crepe;
SceneManager::SceneManager() {}
diff --git a/src/crepe/api/SceneManager.h b/src/crepe/api/SceneManager.h
index 97441a5..76fe92e 100644
--- a/src/crepe/api/SceneManager.h
+++ b/src/crepe/api/SceneManager.h
@@ -6,7 +6,7 @@
#include "Scene.h"
-namespace crepe::api {
+namespace crepe {
class SceneManager {
public:
@@ -31,6 +31,6 @@ private:
std::queue<std::string> next_scene;
};
-} // namespace crepe::api
+} // namespace crepe
#include "SceneManager.hpp"
diff --git a/src/crepe/api/SceneManager.hpp b/src/crepe/api/SceneManager.hpp
index 120640f..7789823 100644
--- a/src/crepe/api/SceneManager.hpp
+++ b/src/crepe/api/SceneManager.hpp
@@ -1,6 +1,6 @@
#include "SceneManager.h"
-using namespace crepe::api;
+using namespace crepe;
using namespace std;
// Add a new concrete scene to the scene manager