gmyth/gmyth/gmyth_epg.h
branchtrunk
changeset 942 c93bfa74c71f
parent 925 4a8d56080089
     1.1 --- a/gmyth/gmyth/gmyth_epg.h	Mon Feb 25 17:51:43 2008 +0000
     1.2 +++ b/gmyth/gmyth/gmyth_epg.h	Thu Mar 13 16:29:38 2008 +0000
     1.3 @@ -43,14 +43,7 @@
     1.4  typedef struct _GMythEPGClass GMythEPGClass;
     1.5  
     1.6  struct _GMythEPGClass {
     1.7 -    GObjectClass    parent_class;
     1.8 -
     1.9 -    /*
    1.10 -     * callbacks 
    1.11 -     */
    1.12 -    /*
    1.13 -     * no one for now 
    1.14 -     */
    1.15 +    GObjectClass parent_class;
    1.16  };
    1.17  
    1.18  struct _GMythEPG {
    1.19 @@ -60,26 +53,28 @@
    1.20      GMythBackendInfo *backend_info;
    1.21  };
    1.22  
    1.23 -GType           gmyth_epg_get_type              (void) G_GNUC_CONST;;
    1.24 -GMythEPG*       gmyth_epg_new                   (void);
    1.25 -gboolean        gmyth_epg_connect               (GMythEPG           *gmyth_epg,
    1.26 -                                                 GMythBackendInfo   *backend_info);
    1.27 -gboolean        gmyth_epg_disconnect            (GMythEPG           *gmyth_epg);
    1.28 -gint            gmyth_epg_get_channel_list      (GMythEPG           *gmyth_epg,
    1.29 -                                                 GList              **glist_ptr);
    1.30 -gint            gmyth_epg_get_program_list      (GMythEPG           *gmyth_epg,
    1.31 -                                                 GList              **proglist,
    1.32 -                                                 gint               chanNum,
    1.33 -                                                 GTimeVal           *starttime,
    1.34 -                                                 GTimeVal           *endtime);
    1.35 +GType     gmyth_epg_get_type              (void) G_GNUC_CONST;;
    1.36 +GMythEPG* gmyth_epg_new                   (void);
    1.37 +gboolean  gmyth_epg_connect               (GMythEPG           *gmyth_epg,
    1.38 +                                           GMythBackendInfo   *backend_info);
    1.39 +gboolean  gmyth_epg_is_connected (GMythEPG *gmyth_epg);
    1.40 +	
    1.41 +gboolean  gmyth_epg_disconnect            (GMythEPG           *gmyth_epg);
    1.42 +gint      gmyth_epg_get_channel_list      (GMythEPG           *gmyth_epg,
    1.43 +                                           GList              **glist_ptr);
    1.44 +gint      gmyth_epg_get_program_list      (GMythEPG           *gmyth_epg,
    1.45 +                                           GList              **proglist,
    1.46 +                                           gint               chanNum,
    1.47 +                                           GTimeVal           *starttime,
    1.48 +                                           GTimeVal           *endtime);
    1.49  GMythChannelInfo*gmyth_epg_get_channel_info     (GMythEPG           *gmyth_epg,
    1.50                                                   gint               channel_id);
    1.51 -gboolean        gmyth_epg_channel_has_icon      (GMythEPG           *gmyth_epg,
    1.52 -                                                 GMythChannelInfo   *channel);
    1.53 -gboolean        gmyth_epg_channel_get_icon      (GMythEPG           *gmyth_epg,
    1.54 -                                                 GMythChannelInfo   *channel,
    1.55 -                                                 guint8             **data, 
    1.56 -                                                 guint              *length);
    1.57 +gboolean  gmyth_epg_channel_has_icon      (GMythEPG           *gmyth_epg,
    1.58 +                                           GMythChannelInfo   *channel);
    1.59 +gboolean  gmyth_epg_channel_get_icon      (GMythEPG           *gmyth_epg,
    1.60 +                                           GMythChannelInfo   *channel,
    1.61 +                                           guint8             **data, 
    1.62 +                                           guint              *length);
    1.63  
    1.64  G_END_DECLS
    1.65  #endif                          /* GMYTH_EPG_H_ */