00001 // Copyright (C) 2006 Bryan Jacobson <bryanjacobson@users.sourceforge.net> 00002 // This program is licensed under the terms of the GNU General Public License 00003 // version 2, as published by the Free Software Foundation. 00004 // This program is distributed in the hope that it will be useful, 00005 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00006 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00007 00008 #ifndef TV_H 00009 #define TV_H 00010 00014 00016 void ReadTVListings(char *fileName); 00017 00018 class Tv 00019 { 00020 public: 00022 static void OpenTvFile(char *fileName); 00023 00025 static Data *DoTvQuery(Context *p); 00026 00028 static Data *DoTvProgQuery(Context *p); 00029 00031 static Data *PrintChannels(Context *p); 00032 00034 static Data *Act(Context *p); 00035 private: 00036 }; 00037 00038 #endif // TV_H