00001 /* -*- Mode: c++ -*- 00002 * vim: set expandtab tabstop=4 shiftwidth=4: 00003 * 00004 * Original Project 00005 * MythTV http://www.mythtv.org 00006 * 00007 * Author(s): 00008 * John Pullan (john@pullan.org) 00009 * 00010 * Description: 00011 * Collection of classes to provide dvb channel scanning 00012 * functionallity 00013 * 00014 * 00015 * This program is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU General Public License 00017 * as published by the Free Software Foundation; either version 2 00018 * of the License, or (at your option) any later version. 00019 * 00020 * This program is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU General Public License 00026 * along with this program; if not, write to the Free Software 00027 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00028 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html 00029 * 00030 */ 00031 00032 #ifndef SCANWIZARD_H 00033 #define SCANWIZARD_H 00034 00035 // MythTV headers 00036 #include "mythtvexp.h" 00037 #include "mythdbcon.h" 00038 #include "mythwizard.h" 00039 #include "settings.h" 00040 00041 class ScanWizardConfig; 00042 class ChannelScannerGUI; 00043 00044 class MTV_PUBLIC ScanWizard : public QObject, public ConfigurationWizard 00045 { 00046 Q_OBJECT 00047 00048 public: 00049 ScanWizard(uint default_sourceid = 0, 00050 uint default_cardid = 0, 00051 QString default_inputname = QString::null); 00052 00053 MythDialog *dialogWidget(MythMainWindow *parent, const char *widgetName); 00054 00055 protected slots: 00056 void SetPage(const QString &pageTitle); 00057 void SetInput(const QString &cardid_inputname); 00058 00059 protected: 00060 ~ScanWizard() { } 00061 00062 protected: 00063 uint lastHWCardID; 00064 uint lastHWCardType; 00065 ScanWizardConfig *configPane; 00066 ChannelScannerGUI *scannerPane; 00067 }; 00068 00069 #endif // SCANWIZARD_H
1.6.3