-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy patharvdomtext.h
55 lines (43 loc) · 1.78 KB
/
arvdomtext.h
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
/* Aravis
*
* Copyright © 2007-2008 Emmanuel Pacaud
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author:
* Emmanuel Pacaud <emmanuel@gnome.org>
*/
#ifndef ARV_DOM_TEXT_H
#define ARV_DOM_TEXT_H
#include <arvdomcharacterdata.h>
G_BEGIN_DECLS
#define ARV_TYPE_DOM_TEXT (arv_dom_text_get_type ())
#define ARV_DOM_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ARV_TYPE_DOM_TEXT, ArvDomText))
#define ARV_DOM_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ARV_TYPE_DOM_TEXT, ArvDomTextClass))
#define ARV_IS_DOM_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ARV_TYPE_DOM_TEXT))
#define ARV_IS_DOM_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ARV_TYPE_DOM_TEXT))
#define ARV_DOM_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ARV_TYPE_DOM_TEXT, ArvDomTextClass))
typedef struct _ArvDomTextClass ArvDomTextClass;
struct _ArvDomText {
ArvDomCharacterData character_data;
};
struct _ArvDomTextClass {
ArvDomCharacterDataClass parent_class;
};
GType arv_dom_text_get_type (void);
ArvDomNode *arv_dom_text_new (const char *data);
G_END_DECLS
#endif