… | |
… | |
2 | * Copyright © 2007 William Pitcock <nenolod -at- atheme.org> |
2 | * Copyright © 2007 William Pitcock <nenolod -at- atheme.org> |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
4 | * |
4 | * |
5 | * Object management. |
5 | * Object management. |
6 | * |
6 | * |
7 | * $Id: object.h,v 1.3 2007/08/28 17:08:07 pippijn Exp $ |
7 | * $Id: object.h,v 1.4 2007/08/30 19:56:19 pippijn Exp $ |
8 | */ |
8 | */ |
9 | |
9 | |
10 | #ifndef OBJECT_H |
10 | #ifndef OBJECT_H |
11 | #define OBJECT_H |
11 | #define OBJECT_H |
|
|
12 | |
|
|
13 | #include <common/memory.h> |
12 | |
14 | |
13 | /* object base class */ |
15 | /* object base class */ |
14 | class object |
16 | class object |
15 | { |
17 | { |
16 | mutable int refcnt; |
18 | mutable int refcnt; |