1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
/* Fo
* fo-node-private.h: Structures private to the base class for objects
* that are nodes in a tree.
*
* Copyright (C) 2001 Sun Microsystems
* Copyright (C) 2007 Menteith Consulting Ltd
*
* See COPYING for the status of this software.
*/
#ifndef __FO_NODE_PRIVATE_H__
#define __FO_NODE_PRIVATE_H__
#include "fo-object.h"
#include "fo-node.h"
G_BEGIN_DECLS
struct _FoNode
{
FoObject parent_instance;
GNode *node;
};
struct _FoNodeClass
{
FoObjectClass parent_class;
void (* debug_dump_properties) (FoNode *fo_node,
gint depth);
/* tree functions that may be restricted */
FoNode* (* insert) (FoNode *parent,
gint position,
FoNode *fo_node);
FoNode* (* insert_before) (FoNode *parent,
FoNode *sibling,
FoNode *fo_node);
FoNode* (* insert_after) (FoNode *parent,
FoNode *sibling,
FoNode *fo_node);
void (* unlink_with_next_siblings) (FoNode *fo_node);
FoNode* (* insert_with_next_siblings) (FoNode *parent,
gint position,
FoNode *fo_node);
FoNode* (* prepend) (FoNode *parent,
FoNode *fo_node);
FoNode* (* append) (FoNode *parent,
FoNode *fo_node);
};
G_END_DECLS
#endif /* !__FO_NODE_PRIVATE_H__ */
|