Ticket #1753: mythmediamonitor.h.2.patch

File mythmediamonitor.h.2.patch, 806 bytes (added by awk@…, 14 years ago)

mythmediamonitor.h.patch V2 - 'cleanup' removes some Mac OS X header dependancies

  • mythmediamonitor.h

     
    3838    void setMonitor(MediaMonitor* pMon) { m_Monitor = pMon; }
    3939    virtual void run(void);
    4040
     41#ifdef Q_OS_MACX
     42    void registerDiskArbitrationCallbacks();
     43    void unregisterDiskArbitrationCallbacks();
     44    void diskAppeared(QString devName);
     45    void diskDisappeared(QString devName);
     46#endif // Q_OS_MACX
     47
    4148  protected:
    4249    QGuardedPtr<MediaMonitor> m_Monitor;
    4350    unsigned long m_Interval;
     51#ifdef Q_OS_MACX
     52    void *m_DiskArbitrationSession;         // Really a DASessionRef, but the void* here lets us avoid Mac Headers in this file 8-)
     53#endif // Q_OS_MACX
    4454};
    4555
    4656class MediaMonitor : public QObject