diff -r 9019388af980 -r 2f28edb4d804 gmyth/src/gmyth_epg.h --- a/gmyth/src/gmyth_epg.h Wed May 23 16:11:29 2007 +0100 +++ b/gmyth/src/gmyth_epg.h Wed May 23 19:50:41 2007 +0100 @@ -9,22 +9,21 @@ * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia. * @author Leonardo Sobral Cunha * - *//* - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef GMYTH_EPG_H_ #define GMYTH_EPG_H_ @@ -45,41 +44,43 @@ typedef struct _GMythEPGClass GMythEPGClass; struct _GMythEPGClass -{ - GObjectClass parent_class; + { + GObjectClass parent_class; - /* callbacks */ - /* no one for now */ -}; + /* callbacks */ + /* no one for now */ + }; struct _GMythEPG -{ - GObject parent; + { + GObject parent; - GMythQuery *sqlquery; - GMythBackendInfo *backend_info; -}; + GMythQuery *sqlquery; + GMythBackendInfo *backend_info; + }; -GType gmyth_epg_get_type (void); +GType gmyth_epg_get_type ( void ); -GMythEPG *gmyth_epg_new (void); +GMythEPG *gmyth_epg_new ( void ); -gboolean gmyth_epg_connect (GMythEPG * gmyth_epg, - GMythBackendInfo * backend_info); -gboolean gmyth_epg_disconnect (GMythEPG * gmyth_epg); +gboolean gmyth_epg_connect ( GMythEPG * gmyth_epg, + GMythBackendInfo * backend_info ); +gboolean gmyth_epg_disconnect ( GMythEPG * gmyth_epg ); -gint gmyth_epg_get_channel_list (GMythEPG * gmyth_epg, GList ** glist_ptr); -gint gmyth_epg_get_program_list (GMythEPG * gmyth_epg, GList ** proglist, - const gint chanNum, GTimeVal * starttime, GTimeVal * endtime); +gint gmyth_epg_get_channel_list ( GMythEPG * gmyth_epg, GList ** glist_ptr ); +gint gmyth_epg_get_program_list ( GMythEPG * gmyth_epg, GList ** proglist, + const gint chanNum, GTimeVal * starttime, + GTimeVal * endtime ); -GMythChannelInfo *gmyth_epg_get_channel_info (GMythEPG * gmyth_epg, - gint channel_id); +GMythChannelInfo *gmyth_epg_get_channel_info ( GMythEPG * gmyth_epg, + gint channel_id ); -gboolean gmyth_epg_channel_has_icon (GMythEPG * gmyth_epg, - GMythChannelInfo * channel); -gboolean gmyth_epg_channel_get_icon (GMythEPG * gmyth_epg, - GMythChannelInfo * channel, guint8 ** data, guint * length); +gboolean gmyth_epg_channel_has_icon ( GMythEPG * gmyth_epg, + GMythChannelInfo * channel ); +gboolean gmyth_epg_channel_get_icon ( GMythEPG * gmyth_epg, + GMythChannelInfo * channel, + guint8 ** data, guint * length ); #endif /*GMYTH_EPG_H_ */