Hcore: Put everything in namespace hk::

This commit is contained in:
2025-01-04 11:32:37 -04:00
parent 841441806c
commit c3461a73bb
8 changed files with 21 additions and 3 deletions
+2
View File
@@ -5,6 +5,7 @@
#include <cstdint> #include <cstdint>
#include <mentalEntity.h> #include <mentalEntity.h>
namespace hk {
namespace director { namespace director {
/** /**
@@ -73,5 +74,6 @@ public:
}; };
} // namespace director } // namespace director
} // namespace hk
#endif // DIRECTOR_COMMANDLIST_H #endif // DIRECTOR_COMMANDLIST_H
+2
View File
@@ -3,6 +3,7 @@
#include <config.h> #include <config.h>
namespace hk {
namespace director { namespace director {
class Director { class Director {
@@ -12,5 +13,6 @@ public:
}; };
} // namespace director } // namespace director
} // namespace hk
#endif // DIRECTOR_H #endif // DIRECTOR_H
+1 -1
View File
@@ -14,6 +14,6 @@ private:
simulator::Scene scene; simulator::Scene scene;
}; };
} } // namespace hk
#endif #endif
+4
View File
@@ -1,10 +1,14 @@
#ifndef _MENTAL_ENTITY_H #ifndef _MENTAL_ENTITY_H
#define _MENTAL_ENTITY_H #define _MENTAL_ENTITY_H
namespace hk {
class MentalEntity class MentalEntity
{ {
public: public:
using Id = uint32_t; using Id = uint32_t;
}; };
} // namespace hk
#endif #endif
+4
View File
@@ -7,6 +7,8 @@
#include <director/director.h> #include <director/director.h>
#include <simulator/simulator.h> #include <simulator/simulator.h>
namespace hk {
class Mind class Mind
{ {
public: public:
@@ -18,4 +20,6 @@ public:
simulator::Simulator simulator; simulator::Simulator simulator;
}; };
} // namespace hk
#endif #endif
+2
View File
@@ -5,6 +5,7 @@
#include <cstdint> #include <cstdint>
#include <mentalEntity.h> #include <mentalEntity.h>
namespace hk {
namespace simulator { namespace simulator {
/** /**
@@ -73,5 +74,6 @@ public:
}; };
} // namespace simulator } // namespace simulator
} // namespace hk
#endif // SIMULATOR_COMMANDLIST_H #endif // SIMULATOR_COMMANDLIST_H
+3 -1
View File
@@ -6,6 +6,7 @@
#include <mentalEntity.h> #include <mentalEntity.h>
#include <simulator/commandList.h> #include <simulator/commandList.h>
namespace hk {
namespace simulator { namespace simulator {
class Scene class Scene
@@ -32,7 +33,8 @@ private:
CommandList::Cursor cursor; CommandList::Cursor cursor;
}; };
} } // namespace simulator
} // namespace hk
#endif #endif
+3 -1
View File
@@ -4,6 +4,7 @@
#include <config.h> #include <config.h>
#include <simulator/scene.h> #include <simulator/scene.h>
namespace hk {
namespace simulator { namespace simulator {
class Simulator { class Simulator {
@@ -19,6 +20,7 @@ private:
Scene scene; Scene scene;
}; };
} } // namespace simulator
} // namespace hk
#endif // SIMULATOR_H #endif // SIMULATOR_H