~ubuntu-branches/ubuntu/hardy/libcm/hardy

« back to all changes in this revision

Viewing changes to src/stacker.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-17 14:28:18 UTC
  • Revision ID: james.westby@ubuntu.com-20060217142818-1ho3qr7jbh2m400r
Tags: upstream-0.0.16
ImportĀ upstreamĀ versionĀ 0.0.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "node.h"
 
2
 
 
3
#define CM_TYPE_STACKER            (cm_stacker_get_type ())
 
4
#define CM_STACKER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CM_TYPE_STACKER, CmStacker))
 
5
#define CM_STACKER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  CM_TYPE_STACKER, CmStackerClass))
 
6
#define CM_IS_STACKER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CM_TYPE_STACKER))
 
7
#define CM_IS_STACKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  CM_TYPE_STACKER))
 
8
#define CM_STACKER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  CM_TYPE_STACKER, CmStackerClass))
 
9
 
 
10
typedef struct _CmStacker CmStacker;
 
11
typedef struct _CmStackerClass CmStackerClass;
 
12
 
 
13
struct _CmStacker
 
14
{
 
15
    CmNode parent_instance;
 
16
 
 
17
    GList *     children;
 
18
};
 
19
 
 
20
struct _CmStackerClass
 
21
{
 
22
    CmNodeClass parent_class;
 
23
};
 
24
 
 
25
GType cm_stacker_get_type (void);
 
26
 
 
27
CmStacker * cm_stacker_new (void);
 
28
void        cm_stacker_add_child (CmStacker *stacker,
 
29
                                  CmNode *child);
 
30