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 <mentalEntity.h>
namespace hk {
namespace director {
/**
@@ -73,5 +74,6 @@ public:
};
} // namespace director
} // namespace hk
#endif // DIRECTOR_COMMANDLIST_H
+2
View File
@@ -3,6 +3,7 @@
#include <config.h>
namespace hk {
namespace director {
class Director {
@@ -12,5 +13,6 @@ public:
};
} // namespace director
} // namespace hk
#endif // DIRECTOR_H
+1 -1
View File
@@ -14,6 +14,6 @@ private:
simulator::Scene scene;
};
}
} // namespace hk
#endif
+4
View File
@@ -1,10 +1,14 @@
#ifndef _MENTAL_ENTITY_H
#define _MENTAL_ENTITY_H
namespace hk {
class MentalEntity
{
public:
using Id = uint32_t;
};
} // namespace hk
#endif
+4
View File
@@ -7,6 +7,8 @@
#include <director/director.h>
#include <simulator/simulator.h>
namespace hk {
class Mind
{
public:
@@ -18,4 +20,6 @@ public:
simulator::Simulator simulator;
};
} // namespace hk
#endif
+2
View File
@@ -5,6 +5,7 @@
#include <cstdint>
#include <mentalEntity.h>
namespace hk {
namespace simulator {
/**
@@ -73,5 +74,6 @@ public:
};
} // namespace simulator
} // namespace hk
#endif // SIMULATOR_COMMANDLIST_H
+3 -1
View File
@@ -6,6 +6,7 @@
#include <mentalEntity.h>
#include <simulator/commandList.h>
namespace hk {
namespace simulator {
class Scene
@@ -32,7 +33,8 @@ private:
CommandList::Cursor cursor;
};
}
} // namespace simulator
} // namespace hk
#endif
+3 -1
View File
@@ -4,6 +4,7 @@
#include <config.h>
#include <simulator/scene.h>
namespace hk {
namespace simulator {
class Simulator {
@@ -19,6 +20,7 @@ private:
Scene scene;
};
}
} // namespace simulator
} // namespace hk
#endif // SIMULATOR_H