File: cong-node-modification-add-before.h

package info (click to toggle)
conglomerate 0.9.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 15,476 kB
  • ctags: 6,709
  • sloc: ansic: 55,679; sh: 7,945; xml: 4,964; makefile: 807
file content (72 lines) | stat: -rw-r--r-- 2,554 bytes parent folder | download | duplicates (4)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */

/*
 * cong-node-modification-add-before.h
 *
 * Copyright (C) 2003 David Malcolm
 *
 * Conglomerate is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * Conglomerate is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * Authors: David Malcolm <david@davemalcolm.demon.co.uk>
 */

#ifndef __CONG_NODE_MODIFICATION_ADD_BEFORE_H__
#define __CONG_NODE_MODIFICATION_ADD_BEFORE_H__

#include "cong-node-modification.h"

G_BEGIN_DECLS

#define CONG_NODE_MODIFICATION_ADD_BEFORE_TYPE	  (cong_node_modification_add_before_get_type ())
#define CONG_NODE_MODIFICATION_ADD_BEFORE(obj)         G_TYPE_CHECK_INSTANCE_CAST (obj, CONG_NODE_MODIFICATION_ADD_BEFORE_TYPE, CongNodeModificationAddBefore)
#define CONG_NODE_MODIFICATION_ADD_BEFORE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, CONG_NODE_MODIFICATION_ADD_BEFORE_TYPE, CongNodeModificationAddBeforeClass)
#define IS_CONG_NODE_MODIFICATION_ADD_BEFORE(obj)      G_TYPE_CHECK_INSTANCE_TYPE (obj, CONG_NODE_MODIFICATION_ADD_BEFORE_TYPE)

typedef struct CongNodeModificationAddBefore CongNodeModificationAddBefore;
typedef struct CongNodeModificationAddBeforeClass CongNodeModificationAddBeforeClass;
typedef struct CongNodeModificationAddBeforeDetails CongNodeModificationAddBeforeDetails;


struct CongNodeModificationAddBefore
{
	CongNodeModification base;

	CongNodeModificationAddBeforeDetails *private;
};

struct CongNodeModificationAddBeforeClass
{
	CongNodeModificationClass klass;

	/* Methods? */
};

GType
cong_node_modification_add_before_get_type (void);

CongNodeModificationAddBefore*
cong_node_modification_add_before_construct (CongNodeModificationAddBefore *node_modification_add_before,
					     CongDocument *doc,
					     CongNodePtr node,
					     CongNodePtr younger_sibling);

CongModification*
cong_node_modification_add_before_new (CongDocument *doc,
				       CongNodePtr node,
				       CongNodePtr younger_sibling);

G_END_DECLS

#endif