[refractor] moved classes into ozulis namespace and created a folder plugins
[ozulis.git] / src / ozulis / core / id.hh
blob3ab379698701be84016d7af05fab0ebef79971ca
1 #ifndef CORE_ID_HH
2 # define CORE_ID_HH
4 # include <stdint.h>
6 namespace ozulis
8 namespace core
10 typedef int32_t id_t;
12 template <typename H>
13 class IdBase
15 public:
16 static id_t nextId();
19 template <typename H, typename T>
20 class Id
22 public:
23 static id_t id();
28 # include "id.hxx"
30 #endif /* !ID_HH */