bzr branch
http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk
|
27
by Gustav Hartvigsson
* added skeleton for the SBox type. |
1 |
#ifndef __H_BOX__
|
2 |
#define __H_BOX__
|
|
3 |
#include "defs.h" |
|
4 |
#include "baseobject.h" |
|
5 |
||
6 |
/** @file
|
|
7 |
* An SBox is a boxed type.
|
|
8 |
*/
|
|
9 |
||
10 |
BEGIN_DECLS
|
|
11 |
||
12 |
/** @brief
|
|
13 |
* A reference counted box sitting on top of an SObject
|
|
14 |
*/
|
|
15 |
typedef struct _SBox SBox; |
|
16 |
||
17 |
typedef struct _SBoxClass SBoxClass; |
|
18 |
||
19 |
typedef struct _SBoxPrivate SBoxPrivate; |
|
20 |
||
21 |
struct _SBox { |
|
22 |
SObject parent; |
|
23 |
SBoxPrivate * priv; |
|
24 |
}
|
|
25 |
||
26 |
struct _SBoxClass { |
|
27 |
SObjectClass parent_class; |
|
28 |
}
|
|
29 |
||
30 |
||
31 |
||
32 |
END_DECLS
|
|
33 |
||
34 |
#endif
|