Ticket #1992: patch-warning-dtors.diff

File patch-warning-dtors.diff, 3.0 KB (added by mythtv@…, 13 years ago)

The patch

  • libs/libmythtv/DeviceReadBuffer.h

     
    1717class ReaderPausedCB
    1818{
    1919  public:
     20    virtual ~ReaderPausedCB() {}
    2021    virtual void ReaderPaused(int fd) = 0;
    2122};
    2223
  • libs/libmythtv/mpeg/streamlisteners.h

     
    3636class MPEGStreamListener
    3737{
    3838  public:
     39    virtual ~MPEGStreamListener() {}
    3940    virtual void HandlePAT(const ProgramAssociationTable*) = 0;
    4041    virtual void HandleCAT(const ConditionalAccessTable*) = 0;
    4142    virtual void HandlePMT(uint program_num, const ProgramMapTable*) = 0;
     
    4445class MPEGSingleProgramStreamListener
    4546{
    4647  public:
     48    virtual ~MPEGSingleProgramStreamListener() {}
    4749    virtual void HandleSingleProgramPAT(ProgramAssociationTable*) = 0;
    4850    virtual void HandleSingleProgramPMT(ProgramMapTable*) = 0;
    4951};
     
    5153class ATSCMainStreamListener
    5254{
    5355  public:
     56    virtual ~ATSCMainStreamListener() {}
    5457    virtual void HandleSTT(const SystemTimeTable*) = 0;
    5558    virtual void HandleMGT(const MasterGuideTable*) = 0;
    5659    virtual void HandleVCT(uint pid, const VirtualChannelTable*) = 0;
     
    5962class ATSCAuxStreamListener
    6063{
    6164  public:
     65    virtual ~ATSCAuxStreamListener() {}
    6266    virtual void HandleTVCT(uint pid,const TerrestrialVirtualChannelTable*)=0;
    6367    virtual void HandleCVCT(uint pid, const CableVirtualChannelTable*) = 0;
    6468    virtual void HandleRRT(const RatingRegionTable*) = 0;
     
    7074class ATSCEITStreamListener
    7175{
    7276  public:
     77    virtual ~ATSCEITStreamListener() {}
    7378    virtual void HandleEIT( uint pid, const EventInformationTable*) = 0;
    7479    virtual void HandleETT( uint pid, const ExtendedTextTable*) = 0;
    7580};
     
    7782class DVBMainStreamListener
    7883{
    7984  public:
     85    virtual ~DVBMainStreamListener() {}
    8086    virtual void HandleNIT(const NetworkInformationTable*) = 0;
    8187    virtual void HandleSDT(uint tsid, const ServiceDescriptionTable*) = 0;
    8288};
     
    8490class DVBOtherStreamListener
    8591{
    8692  public:
     93    virtual ~DVBOtherStreamListener() {}
    8794    virtual void HandleNITo(const NetworkInformationTable*) = 0;
    8895    virtual void HandleSDTo(uint tsid, const ServiceDescriptionTable*) = 0;
    8996};
     
    9198class DVBEITStreamListener
    9299{
    93100  public:
     101    virtual ~DVBEITStreamListener() {}
    94102    virtual void HandleEIT(const DVBEventInformationTable*) = 0;
    95103};
    96104
  • libs/libmythtv/eitscanner.h

     
    2121class EITSource
    2222{
    2323  public:
     24    virtual ~EITSource() {}
    2425    virtual void SetEITHelper(EITHelper*) = 0;
    2526    virtual void SetEITRate(float rate) = 0;
    2627};