gmyth/src/gmyth_epg.h
branchtrunk
changeset 701 2f28edb4d804
parent 698 9019388af980
child 750 312d6bc514f3
     1.1 --- a/gmyth/src/gmyth_epg.h	Wed May 23 16:11:29 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_epg.h	Wed May 23 19:50:41 2007 +0100
     1.3 @@ -9,22 +9,21 @@
     1.4   * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
     1.5   * @author Leonardo Sobral Cunha <leonardo.cunha@indt.org.br>
     1.6   *
     1.7 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              *//*
     1.8 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * 
     1.9 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * This program is free software; you can redistribute it and/or modify
    1.10 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * it under the terms of the GNU Lesser General Public License as published by
    1.11 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * the Free Software Foundation; either version 2 of the License, or
    1.12 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * (at your option) any later version.
    1.13 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 *
    1.14 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * This program is distributed in the hope that it will be useful,
    1.15 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.17 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * GNU General Public License for more details.
    1.18 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 *
    1.19 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You should have received a copy of the GNU Lesser General Public License
    1.20 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * along with this program; if not, write to the Free Software
    1.21 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.22 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 */
    1.23 +* 
    1.24 +* This program is free software; you can redistribute it and/or modify
    1.25 +* it under the terms of the GNU Lesser General Public License as published by
    1.26 +* the Free Software Foundation; either version 2 of the License, or
    1.27 +* (at your option) any later version.
    1.28 +*
    1.29 +* This program is distributed in the hope that it will be useful,
    1.30 +	* but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.31 +	* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.32 +	* GNU General Public License for more details.
    1.33 +	*
    1.34 +	* You should have received a copy of the GNU Lesser General Public License
    1.35 +	* along with this program; if not, write to the Free Software
    1.36 +	* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.37 +	*/
    1.38  
    1.39  #ifndef GMYTH_EPG_H_
    1.40  #define GMYTH_EPG_H_
    1.41 @@ -45,41 +44,43 @@
    1.42  typedef struct _GMythEPGClass GMythEPGClass;
    1.43  
    1.44  struct _GMythEPGClass
    1.45 -{
    1.46 -    GObjectClass parent_class;
    1.47 +    {
    1.48 +        GObjectClass parent_class;
    1.49  
    1.50 -    /* callbacks */
    1.51 -    /* no one for now */
    1.52 -};
    1.53 +        /* callbacks */
    1.54 +        /* no one for now */
    1.55 +    };
    1.56  
    1.57  struct _GMythEPG
    1.58 -{
    1.59 -    GObject parent;
    1.60 +    {
    1.61 +        GObject parent;
    1.62  
    1.63 -    GMythQuery *sqlquery;
    1.64 -    GMythBackendInfo *backend_info;
    1.65 -};
    1.66 +        GMythQuery *sqlquery;
    1.67 +        GMythBackendInfo *backend_info;
    1.68 +    };
    1.69  
    1.70 -GType gmyth_epg_get_type (void);
    1.71 +GType gmyth_epg_get_type ( void );
    1.72  
    1.73 -GMythEPG *gmyth_epg_new (void);
    1.74 +GMythEPG *gmyth_epg_new ( void );
    1.75  
    1.76 -gboolean gmyth_epg_connect (GMythEPG * gmyth_epg,
    1.77 -    GMythBackendInfo * backend_info);
    1.78 -gboolean gmyth_epg_disconnect (GMythEPG * gmyth_epg);
    1.79 +gboolean gmyth_epg_connect ( GMythEPG * gmyth_epg,
    1.80 +                             GMythBackendInfo * backend_info );
    1.81 +gboolean gmyth_epg_disconnect ( GMythEPG * gmyth_epg );
    1.82  
    1.83 -gint gmyth_epg_get_channel_list (GMythEPG * gmyth_epg, GList ** glist_ptr);
    1.84 -gint gmyth_epg_get_program_list (GMythEPG * gmyth_epg, GList ** proglist,
    1.85 -    const gint chanNum, GTimeVal * starttime, GTimeVal * endtime);
    1.86 +gint gmyth_epg_get_channel_list ( GMythEPG * gmyth_epg, GList ** glist_ptr );
    1.87 +gint gmyth_epg_get_program_list ( GMythEPG * gmyth_epg, GList ** proglist,
    1.88 +                                  const gint chanNum, GTimeVal * starttime,
    1.89 +                                  GTimeVal * endtime );
    1.90  
    1.91 -GMythChannelInfo *gmyth_epg_get_channel_info (GMythEPG * gmyth_epg,
    1.92 -    gint channel_id);
    1.93 +GMythChannelInfo *gmyth_epg_get_channel_info ( GMythEPG * gmyth_epg,
    1.94 +                                               gint channel_id );
    1.95  
    1.96  
    1.97 -gboolean gmyth_epg_channel_has_icon (GMythEPG * gmyth_epg,
    1.98 -    GMythChannelInfo * channel);
    1.99 -gboolean gmyth_epg_channel_get_icon (GMythEPG * gmyth_epg,
   1.100 -    GMythChannelInfo * channel, guint8 ** data, guint * length);
   1.101 +gboolean gmyth_epg_channel_has_icon ( GMythEPG * gmyth_epg,
   1.102 +                                      GMythChannelInfo * channel );
   1.103 +gboolean gmyth_epg_channel_get_icon ( GMythEPG * gmyth_epg,
   1.104 +                                      GMythChannelInfo * channel,
   1.105 +                                      guint8 ** data, guint * length );
   1.106  
   1.107  
   1.108  #endif /*GMYTH_EPG_H_ */