Ticket #385: dvbchannel.patch

File dvbchannel.patch, 1.9 KB (added by mythtv@…, 20 years ago)
  • libs/libmythtv/dvbchannel.h

     
    44 *  Copyright notice is in dvbchannel.cpp of the MythTV project.
    55 */
    66
    7 #ifndef DVBCHANNEL_H
    8 #define DVBCHANNEL_H
     7#ifndef _LIBMYTHTV_DVBCHANNEL_H_
     8#define _LIBMYTHTV_DVBCHANNEL_H_
    99
    10 #include <qobject.h>
    11 #include <qstring.h>
    12 #include <qsqldatabase.h>
    13 
    14 #include "mythcontext.h"
    15 #include "mythdbcon.h"
    1610#include "channelbase.h"
    17 
    1811#include "dvbtypes.h"
    19 #include "dvbdiseqc.h"
    2012
    21 class TVRec;
    2213class DVBCam;
     14class DVBDiSEqC;
     15class PMTObject;
    2316
    2417class DVBChannel : public QObject, public ChannelBase
    2518{
     
    110103    bool              first_tune;  ///< Used to force hardware reset
    111104};
    112105
    113 #endif
     106#endif//_LIBMYTHTV_DVBCHANNEL_H_
  • libs/libmythtv/dvbchannel.cpp

     
    3131 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    3232 */
    3333
    34 #include <qsqldatabase.h>
     34#include "dvbchannel.h"
    3535
    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"
    5139#include "mythcontext.h"
    52 #include "mythdbcon.h"
    53 #include "tv_rec.h"
    5440#include "videosource.h"
    5541
    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>
    6243
    6344static uint tuned_frequency(const DVBTuning&, fe_type_t, fe_sec_tone_mode_t *);
    6445static void drain_dvb_events(int fd);