repo.or.cz
/
ozulis.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[refractor] moved classes into ozulis namespace and created a folder plugins
[ozulis.git]
/
src
/
ozulis
/
core
/
id.hh
blob
3ab379698701be84016d7af05fab0ebef79971ca
1
#ifndef CORE_ID_HH
2
# define CORE_ID_HH
3
4
# include <stdint.h>
5
6
namespace
ozulis
7
{
8
namespace
core
9
{
10
typedef
int32_t
id_t
;
11
12
template
<
typename H
>
13
class
IdBase
14
{
15
public
:
16
static
id_t
nextId
();
17
};
18
19
template
<
typename H
,
typename T
>
20
class
Id
21
{
22
public
:
23
static
id_t
id
();
24
};
25
}
26
}
27
28
# include
"id.hxx"
29
30
#endif
/* !ID_HH */