Ticket #1753: mythmediamonitor.h.2.patch
File mythmediamonitor.h.2.patch, 806 bytes (added by , 18 years ago) |
---|
-
mythmediamonitor.h
38 38 void setMonitor(MediaMonitor* pMon) { m_Monitor = pMon; } 39 39 virtual void run(void); 40 40 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 41 48 protected: 42 49 QGuardedPtr<MediaMonitor> m_Monitor; 43 50 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 44 54 }; 45 55 46 56 class MediaMonitor : public QObject