summaryrefslogtreecommitdiff
path: root/src/cr-additional-sel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cr-additional-sel.h')
-rw-r--r--src/cr-additional-sel.h34
1 files changed, 31 insertions, 3 deletions
diff --git a/src/cr-additional-sel.h b/src/cr-additional-sel.h
index 7ca3e07..6f6ee49 100644
--- a/src/cr-additional-sel.h
+++ b/src/cr-additional-sel.h
@@ -22,6 +22,16 @@
*/
+/**
+ *@file
+ *This file holds the declaration of the
+ *#CRAddSel class.
+ */
+/**
+ *@file
+ *This file holds the declaration of the
+ *#CRAddSel class.
+ */
#ifndef __CR_ADD_SEL_H__
#define __CR_ADD_SEL_H__
@@ -48,11 +58,29 @@ union CRAdditionalSelectorContent
CRString *class_name ;
CRString *id_name ;
CRPseudo *pseudo ;
+/**
+ *#CRAdditionalSel abstracts
+ *an additionnal selector.
+ *An additional selector is the selector part
+ *that comes after the combination of type selectors.
+ *It can be either "a class selector (the .class part),
+ *a pseudo class selector, an attribute selector
+ *or an id selector.
+ */
CRAttrSel *attr_sel ;
} ;
typedef struct _CRAdditionalSel CRAdditionalSel ;
+/**
+ *#CRAdditionalSel abstracts
+ *an additionnal selector.
+ *An additional selector is the selector part
+ *that comes after the combination of type selectors.
+ *It can be either "a class selector (the .class part),
+ *a pseudo class selector, an attribute selector
+ *or an id selector.
+ */
struct _CRAdditionalSel
{
enum AddSelectorType type ;
@@ -85,11 +113,11 @@ void cr_additional_sel_set_attr_sel (CRAdditionalSel *a_this,
CRAdditionalSel * cr_additional_sel_prepend (CRAdditionalSel *a_this,
CRAdditionalSel *a_sel) ;
-guchar * cr_additional_sel_to_string (CRAdditionalSel const *a_this) ;
+guchar * cr_additional_sel_to_string (CRAdditionalSel *a_this) ;
-guchar * cr_additional_sel_one_to_string (CRAdditionalSel const *a_this) ;
+guchar * cr_additional_sel_one_to_string (CRAdditionalSel *a_this) ;
-void cr_additional_sel_dump (CRAdditionalSel const *a_this, FILE *a_fp) ;
+void cr_additional_sel_dump (CRAdditionalSel *a_this, FILE *a_fp) ;
void cr_additional_sel_destroy (CRAdditionalSel *a_this) ;