Ticket #385: dvbchannel.patch
File dvbchannel.patch, 1.9 KB (added by , 20 years ago) |
---|
-
libs/libmythtv/dvbchannel.h
4 4 * Copyright notice is in dvbchannel.cpp of the MythTV project. 5 5 */ 6 6 7 #ifndef DVBCHANNEL_H8 #define DVBCHANNEL_H7 #ifndef _LIBMYTHTV_DVBCHANNEL_H_ 8 #define _LIBMYTHTV_DVBCHANNEL_H_ 9 9 10 #include <qobject.h>11 #include <qstring.h>12 #include <qsqldatabase.h>13 14 #include "mythcontext.h"15 #include "mythdbcon.h"16 10 #include "channelbase.h" 17 18 11 #include "dvbtypes.h" 19 #include "dvbdiseqc.h"20 12 21 class TVRec;22 13 class DVBCam; 14 class DVBDiSEqC; 15 class PMTObject; 23 16 24 17 class DVBChannel : public QObject, public ChannelBase 25 18 { … … 110 103 bool first_tune; ///< Used to force hardware reset 111 104 }; 112 105 113 #endif 106 #endif//_LIBMYTHTV_DVBCHANNEL_H_ -
libs/libmythtv/dvbchannel.cpp
31 31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 32 32 */ 33 33 34 #include <qsqldatabase.h>34 #include "dvbchannel.h" 35 35 36 #include <iostream> 37 #include <string> 38 #include <vector> 39 using namespace std; 40 41 #include <pthread.h> 42 #include <fcntl.h> 43 #include <unistd.h> 44 #include <sys/poll.h> 45 #include <sys/select.h> 46 #include <sys/time.h> 47 #include <sys/types.h> 48 49 #include "RingBuffer.h" 50 #include "recorderbase.h" 36 #include "dvbcam.h" 37 #include "dvbdev.h" 38 #include "dvbdiseqc.h" 51 39 #include "mythcontext.h" 52 #include "mythdbcon.h"53 #include "tv_rec.h"54 40 #include "videosource.h" 55 41 56 #include "dvbtypes.h" 57 #include "dvbdev.h" 58 #include "dvbchannel.h" 59 #include "dvbrecorder.h" 60 #include "dvbdiseqc.h" 61 #include "dvbcam.h" 42 #include <fcntl.h> 62 43 63 44 static uint tuned_frequency(const DVBTuning&, fe_type_t, fe_sec_tone_mode_t *); 64 45 static void drain_dvb_events(int fd);