gmyth/src/gmyth_stringlist.h
branchtrunk
changeset 754 cb885ee44618
parent 750 312d6bc514f3
child 841 25fb81d23ef5
     1.1 --- a/gmyth/src/gmyth_stringlist.h	Thu Jun 14 18:19:52 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_stringlist.h	Thu Jun 14 20:40:47 2007 +0100
     1.3 @@ -47,53 +47,59 @@
     1.4  typedef struct _GMythStringList GMythStringList;
     1.5  typedef struct _GMythStringListClass GMythStringListClass;
     1.6  
     1.7 -struct _GMythStringListClass
     1.8 -{
     1.9 -  GObjectClass parent_class;
    1.10 +struct _GMythStringListClass {
    1.11 +    GObjectClass    parent_class;
    1.12  
    1.13 - /* callbacks */
    1.14 - /* no one for now */
    1.15 +    /*
    1.16 +     * callbacks 
    1.17 +     */
    1.18 +    /*
    1.19 +     * no one for now 
    1.20 +     */
    1.21  };
    1.22  
    1.23 -struct _GMythStringList
    1.24 -{
    1.25 -  GObject parent;
    1.26 +struct _GMythStringList {
    1.27 +    GObject         parent;
    1.28  
    1.29 - /* string list */
    1.30 -  GList *glist;
    1.31 +    /*
    1.32 +     * string list 
    1.33 +     */
    1.34 +    GList          *glist;
    1.35  };
    1.36  
    1.37  
    1.38 -GType gmyth_string_list_get_type(void);
    1.39 +GType           gmyth_string_list_get_type(void);
    1.40  
    1.41  GMythStringList *gmyth_string_list_new(void);
    1.42  
    1.43 -void gmyth_string_list_clear_all(GMythStringList * strlist);
    1.44 -int gmyth_string_list_length(GMythStringList * strlist);
    1.45 +void            gmyth_string_list_clear_all(GMythStringList * strlist);
    1.46 +int             gmyth_string_list_length(GMythStringList * strlist);
    1.47  
    1.48 -GString *gmyth_string_list_append_int(GMythStringList * strlist,
    1.49 -									  const gint value);
    1.50 -GString *gmyth_string_list_append_uint64(GMythStringList * strlist,
    1.51 -										 const guint64 value);
    1.52 +GString        *gmyth_string_list_append_int(GMythStringList * strlist,
    1.53 +                                             const gint value);
    1.54 +GString        *gmyth_string_list_append_uint64(GMythStringList * strlist,
    1.55 +                                                const guint64 value);
    1.56  
    1.57 -GString *gmyth_string_list_append_int64(GMythStringList * strlist,
    1.58 -										const gint64 value);
    1.59 +GString        *gmyth_string_list_append_int64(GMythStringList * strlist,
    1.60 +                                               const gint64 value);
    1.61  
    1.62 -GString *gmyth_string_list_append_char_array(GMythStringList * strlist,
    1.63 -											 const char *value);
    1.64 -GString *gmyth_string_list_append_string(GMythStringList * strlist,
    1.65 -										 GString * value);
    1.66 +GString        *gmyth_string_list_append_char_array(GMythStringList *
    1.67 +                                                    strlist,
    1.68 +                                                    const char *value);
    1.69 +GString        *gmyth_string_list_append_string(GMythStringList * strlist,
    1.70 +                                                GString * value);
    1.71  
    1.72 -int gmyth_string_list_get_int(GMythStringList * strlist, const gint index);
    1.73 -guint64 gmyth_string_list_get_uint64(GMythStringList * strlist,
    1.74 -									 const gint index);
    1.75 -gint64 gmyth_string_list_get_int64(GMythStringList * strlist,
    1.76 -								   const gint index);
    1.77 -GString *gmyth_string_list_get_string(GMythStringList * strlist,
    1.78 -									  const gint index);
    1.79 +int             gmyth_string_list_get_int(GMythStringList * strlist,
    1.80 +                                          const gint index);
    1.81 +guint64         gmyth_string_list_get_uint64(GMythStringList * strlist,
    1.82 +                                             const gint index);
    1.83 +gint64          gmyth_string_list_get_int64(GMythStringList * strlist,
    1.84 +                                            const gint index);
    1.85 +GString        *gmyth_string_list_get_string(GMythStringList * strlist,
    1.86 +                                             const gint index);
    1.87  
    1.88  #define gmyth_string_list_get_char_array(strlist, index) \
    1.89  	(gmyth_string_list_get_string(strlist, index))->str
    1.90  
    1.91  G_END_DECLS
    1.92 -#endif /*GMYTH_STRING_LIST_H_ */
    1.93 +#endif                          /* GMYTH_STRING_LIST_H_ */