00001 /* 00002 Copyright (c) 2002 Malte Starostik <malte@kde.org> 00003 00004 This program is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; see the file COPYING. If not, write to 00016 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00017 Boston, MA 02111-1307, USA. 00018 */ 00019 00020 // $Id: channelioxawtv.h,v 1.3 2002/09/12 23:08:30 rich Exp $ 00021 00022 #ifndef CHANNELIOXAWTV_H 00023 #define CHANNELIOXAWTV_H 00024 00025 #include "channelio.h" 00026 00027 class ChannelIOFormatXawtv : public ChannelIOFormat 00028 { 00029 public: 00030 ChannelIOFormatXawtv(); 00031 00032 virtual bool load( ChannelStore* store, QIODevice* file, const char* fmt ); 00033 virtual bool save( ChannelStore* store, QIODevice* file, const char* fmt ); 00034 00035 private: 00036 ChannelStore *store; 00037 struct ChannelInfo; 00038 00039 static void setFrequencyTable( const QString& name ); 00040 static unsigned long channelToFrequency( const QString& name ); 00041 }; 00042 00043 #endif // CHANNELIOXAWTV_H 00044 00045 // vim: ts=4 sw=4 noet