Libcroco
cr-additional-sel.h
Go to the documentation of this file.
1 /* -*- Mode: C; indent-tabs-mode:nil; c-basic-offset: 8-*- */
2 
3 /*
4  * This file is part of The Croco Library
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of version 2.1 of the GNU Lesser General Public
8  * License as published by the Free Software Foundation.
9  *
10  * This program 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
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18  * USA
19  *
20  * Author: Dodji Seketeli
21  * See the COPYRIGHTS file for copyright information.
22  */
23 
24 
25 #ifndef __CR_ADD_SEL_H__
26 #define __CR_ADD_SEL_H__
27 
28 #include <stdio.h>
29 #include <glib.h>
30 #include "cr-utils.h"
31 #include "cr-attr-sel.h"
32 #include "cr-pseudo.h"
33 #include "cr-additional-sel.h"
34 
35 G_BEGIN_DECLS
36 
38 {
42  ID_ADD_SELECTOR = 1 << 3,
44 } ;
45 
47 {
52 } ;
53 
55 
57 {
60 
64 } ;
65 
67 
69 
71  CRAdditionalSel *a_sel) ;
72 
74  CRString *a_class_name) ;
75 
77  CRString *a_id) ;
78 
80  CRPseudo *a_pseudo) ;
81 
83  CRAttrSel *a_sel) ;
84 
86  CRAdditionalSel *a_sel) ;
87 
88 guchar * cr_additional_sel_to_string (CRAdditionalSel const *a_this) ;
89 
90 guchar * cr_additional_sel_one_to_string (CRAdditionalSel const *a_this) ;
91 
92 void cr_additional_sel_dump (CRAdditionalSel const *a_this, FILE *a_fp) ;
93 
95 
96 G_END_DECLS
97 
98 #endif /*__CR_ADD_SEL_H*/
void cr_additional_sel_set_id_name(CRAdditionalSel *a_this, CRString *a_id)
cr_additional_sel_set_id_name: @a_this: the "this pointer" of the current instance of CRAdditionalSel...
CRAdditionalSel * cr_additional_sel_append(CRAdditionalSel *a_this, CRAdditionalSel *a_sel)
cr_additional_sel_append: @a_this: the "this pointer" of the current instance of CRAdditionalSel .
CRAdditionalSel * cr_additional_sel_prepend(CRAdditionalSel *a_this, CRAdditionalSel *a_sel)
cr_additional_sel_prepend: @a_this: the "this pointer" of the current instance of CRAdditionalSel .
CRParsingLocation location
enum AddSelectorType type
void cr_additional_sel_dump(CRAdditionalSel const *a_this, FILE *a_fp)
cr_additional_sel_dump: @a_this: the "this pointer" of the current instance of CRAdditionalSel.
The Croco library basic types definitions And global definitions.
CRAdditionalSel * cr_additional_sel_new_with_type(enum AddSelectorType a_sel_type)
cr_additional_sel_new_with_type: @a_sel_type: the type of the newly built instance of CRAdditionalSel...
CRAdditionalSel * next
guchar * cr_additional_sel_one_to_string(CRAdditionalSel const *a_this)
guchar * cr_additional_sel_to_string(CRAdditionalSel const *a_this)
union CRAdditionalSelectorContent content
typedefG_BEGIN_DECLS struct _CRString CRString
Definition: cr-string.h:37
AddSelectorType
CRAdditionalSel * prev
void cr_additional_sel_set_class_name(CRAdditionalSel *a_this, CRString *a_class_name)
cr_additional_sel_set_class_name: @a_this: the "this pointer" of the current instance of CRAdditional...
void cr_additional_sel_set_attr_sel(CRAdditionalSel *a_this, CRAttrSel *a_sel)
cr_additional_sel_set_attr_sel: @a_this: the "this pointer" of the current instance of CRAdditionalSe...
void cr_additional_sel_set_pseudo(CRAdditionalSel *a_this, CRPseudo *a_pseudo)
cr_additional_sel_set_pseudo: @a_this: the "this pointer" of the current instance of CRAdditionalSel ...
void cr_additional_sel_destroy(CRAdditionalSel *a_this)
cr_additional_sel_destroy: @a_this: the "this pointer" of the current instance of CRAdditionalSel .
CRAdditionalSel * cr_additional_sel_new(void)
CRAdditionalSel:
The CRPseudo Class.
Definition: cr-pseudo.h:46