Hcore: Put everything in namespace hk::
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ private:
|
|||||||
simulator::Scene scene;
|
simulator::Scene scene;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace hk
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user