[svn r585] New function to get the channel list from database.
1.1 --- a/gmyth/src/gmyth_tvchain.c Fri Apr 20 03:58:43 2007 +0100
1.2 +++ b/gmyth/src/gmyth_tvchain.c Fri Apr 20 16:01:39 2007 +0100
1.3 @@ -412,12 +412,15 @@
1.4 return prog_list;
1.5 }
1.6
1.7 -/** Returns the internal index for the TV chain related to the given
1.8 +/**
1.9 + * Returns the internal index for the TV chain related to the given
1.10 * channel and start time.
1.11 *
1.12 * @param tvchain The GMythTVChain instance.
1.13 * @param chanid The channel id.
1.14 * @param startts The program start time.
1.15 + *
1.16 + * @return The position of the related program info in the TV chain.
1.17 */
1.18 gint
1.19 gmyth_tvchain_program_is_at (GMythTVChain *tvchain, GString *chanid, GTimeVal* startts)
1.20 @@ -448,6 +451,7 @@
1.21 *
1.22 * @param tvchain The GMythTVChain instance.
1.23 * @param index The tvchain index.
1.24 + *
1.25 * @return The program info structure.
1.26 */
1.27 GMythProgramInfo*
1.28 @@ -496,11 +500,13 @@
1.29 return chain_entry;
1.30 }
1.31
1.32 -/** Gets the program info from backend database associated to the tv chain entry.
1.33 +/**
1.34 + * Gets the program info from backend database associated to the tv chain entry.
1.35 *
1.36 * @param tvchain The GMythTVChain instance.
1.37 * @param entry the LiveTVChainEntry to be converted.
1.38 - * @return The progrma info.
1.39 + *
1.40 + * @return The program info.
1.41 */
1.42 GMythProgramInfo*
1.43 gmyth_tvchain_entry_to_program (GMythTVChain *tvchain, struct LiveTVChainEntry *entry)