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 "mythdbcon.h" 00037 #include "mythwizard.h" 00038 #include "settings.h" 00039 00040 class ScanWizardConfig; 00041 class ScanWizardScanner; 00042 00043 class ScanWizard : public QObject, public ConfigurationWizard 00044 { 00045 Q_OBJECT 00046 00047 public: 00048 ScanWizard(uint default_sourceid = 0, 00049 uint default_cardid = 0, 00050 QString default_inputname = QString::null); 00051 00052 MythDialog *dialogWidget(MythMainWindow *parent, const char *widgetName); 00053 00054 protected slots: 00055 void SetPage(const QString &pageTitle); 00056 void SetInput(const QString &cardid_inputname); 00057 00058 protected: 00059 ~ScanWizard() { } 00060 00061 protected: 00062 uint lastHWCardID; 00063 uint lastHWCardType; 00064 ScanWizardConfig *configPane; 00065 ScanWizardScanner *scannerPane; 00066 }; 00067 00068 #endif // SCANWIZARD_H
1.5.5