1 /* Lasem
2  *
3  * Copyright © 2007-2008 Emmanuel Pacaud
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General
16  * Public License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18  * Boston, MA 02111-1307, USA.
19  *
20  * Author:
21  * 	Emmanuel Pacaud <emmanuel@gnome.org>
22  */
23 
24 #ifndef LSM_DOM_TEXT_H
25 #define LSM_DOM_TEXT_H
26 
27 #include <lsmdomcharacterdata.h>
28 
29 G_BEGIN_DECLS
30 
31 #define LSM_TYPE_DOM_TEXT             (lsm_dom_text_get_type ())
32 #define LSM_DOM_TEXT(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), LSM_TYPE_DOM_TEXT, LsmDomText))
33 #define LSM_DOM_TEXT_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), LSM_TYPE_DOM_TEXT, LsmDomTextClass))
34 #define LSM_IS_DOM_TEXT(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LSM_TYPE_DOM_TEXT))
35 #define LSM_IS_DOM_TEXT_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), LSM_TYPE_DOM_TEXT))
36 #define LSM_DOM_TEXT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), LSM_TYPE_DOM_TEXT, LsmDomTextClass))
37 
38 typedef struct _LsmDomTextClass LsmDomTextClass;
39 
40 struct _LsmDomText {
41 	LsmDomCharacterData	character_data;
42 };
43 
44 struct _LsmDomTextClass {
45 	LsmDomCharacterDataClass  parent_class;
46 };
47 
48 GType lsm_dom_text_get_type (void);
49 
50 LsmDomNode 	*lsm_dom_text_new 		(const char *data);
51 
52 G_END_DECLS
53 
54 #endif
55 
56