include/avcap/Tuner_avcap.h

Go to the documentation of this file.
00001 /*
00002  * (c) 2005, 2008 Nico Pranke <Nico.Pranke@googlemail.com>, Robin Luedtke <RobinLu@gmx.de> 
00003  *
00004  * This file is part of avcap.
00005  *
00006  * avcap is free software: you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation, either version 3 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * avcap is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with avcap.  If not, see <http://www.gnu.org/licenses/>.
00018  */
00019 
00020 /* avcap is free for non-commercial use.
00021  * To use it in commercial endeavors, please contact Nico Pranke <Nico.Pranke@googlemail.com>
00022  */
00023 
00024 #ifndef TUNER_H_
00025 #define TUNER_H_
00026 
00027 #include <string>
00028 
00029 #include "avcap-export.h"
00030 
00031 namespace avcap
00032 {
00033         class DeviceDescriptor;
00034         
00036         
00044         class AVCAP_Export Tuner
00045         {
00046         private:
00047         public:
00048                 virtual inline ~Tuner()
00049                         {}
00050                 
00052 
00054                 virtual inline bool isRadioTuner() const 
00055                         { return false; }
00056 
00058 
00060                 virtual inline bool isTVTuner() const 
00061                         { return false; };
00062 
00064 
00066                 virtual inline int setStereo()  
00067                         { return -1; }
00068 
00070 
00072                 virtual inline int setMono() 
00073                         { return -1; }
00074                 
00076 
00078                 virtual inline int setSAP() 
00079                         { return -1; }
00080                 
00082 
00084                 virtual inline int setLang1() 
00085                         { return -1; }
00086 
00088 
00090                 virtual inline int setLang2() 
00091                         { return -1; }
00092 
00094 
00096                 virtual inline double getFreq() const 
00097                         { return -1.0f; }
00098 
00100 
00102                 virtual inline double getFreqStep() const
00103                         { return -1.0f; }
00104                 
00106 
00108                 virtual inline double getMinFreq() const
00109                         { return -1.0f; }
00110 
00112 
00114                 virtual inline double getMaxFreq() const
00115                         { return -1.0f; }
00116                 
00118 
00120                 virtual inline const std::string getName() const
00121                         { return ""; }
00122                 
00124 
00126                 virtual inline int finetune(int maxsteps) 
00127                         { return -1; }
00128                 
00130 
00133 
00137 
00139 
00143 
00145 
00149 
00151 
00155 
00158 
00164 
00174 
00178 
00184 

Generated on Mon Nov 30 11:10:30 2009 for avcap-0.1 by  doxygen 1.5.1