Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

VideoDeviceTuner.h

Go to the documentation of this file.
00001 #ifndef VIDEODEVICETUNER_HPP 00002 #define VIDEODEVICETUNER_HPP 00003 00004 #ifdef HAVE_CONFIG_H 00005 #include <config.h> 00006 #endif 00007 00008 #include <qobject.h> 00009 00010 #include "TVChannel.h" 00011 00012 class CVideoDeviceLinux; 00013 00014 class CVideoDeviceTuner: public QObject 00015 { 00016 Q_OBJECT 00017 public: 00018 00019 private: 00020 CVideoDeviceLinux *pVideo; 00021 int Tuner; 00022 00023 QString Name; 00024 int Flags; 00025 float FreqLow, FreqHigh; 00026 float FreqStep; 00027 ulong ufreq; 00028 00029 public: 00030 CVideoDeviceTuner(CVideoDeviceLinux *_video, int _tuner); 00031 00032 const QString GetName(); 00033 00034 float GetLowestFrequency() const; 00035 float GetHighestFrequency() const; 00036 float GetFrequency() const; 00037 00038 bool HasNorm() const; 00039 TVChannel::TunerNorms GetNorm() const; 00040 00041 bool Select(); 00042 00043 public slots: 00044 bool SetFrequency(float freq); 00045 void SetNorm(TVChannel::TunerNorms norm); 00046 00047 signals: 00048 void Selected(int); 00049 }; 00050 00051 #endif

Generated on Wed Dec 13 23:38:46 2006 for CamStream by doxygen 1.3.7