repo.or.cz
/
openc2e.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add support to SDLBackend for rendering 24bit data
[openc2e.git]
/
ser
/
s_AgentRef.h
blob
76beb87d9856e0b6a84d7643861ab75cc0e683cd
1
#ifndef SER_AGENTREF_H
2
#define SER_AGENTREF_H 1
3
4
#include
"serialization.h"
5
#include
"ser/s_Agent.h"
// This loop is safe; template instantiation is deferred
6
#include
"AgentRef.h"
7
8
LOAD
(
AgentRef
) {
9
Agent
*
agent
;
10
ar
&
agent
;
11
obj
.
set
(
agent
);
12
}
13
14
SAVE
(
AgentRef
) {
15
Agent
*
a
=
obj
.
get
();
16
ar
&
a
;
17
}
18
19
#endif
20