00001 #ifndef MYTH_MEDIA_MONITOR_DARWIN_H
00002 #define MYTH_MEDIA_MONITOR_DARWIN_H
00003
00004 class MonitorThreadDarwin : public MonitorThread
00005 {
00006 public:
00007 MonitorThreadDarwin(MediaMonitor* pMon, unsigned long interval)
00008 : MonitorThread(pMon, interval) {};
00009
00010 virtual void run(void);
00011
00012 void diskInsert(const char *devName,
00013 const char *volName, QString model, bool isCDorDVD = 1);
00014 void diskRemove(QString devName);
00015 void diskRename(const char *devName, const char *volName);
00016 };
00017
00018 class MediaMonitorDarwin : public MediaMonitor
00019 {
00020 public:
00021 MediaMonitorDarwin(QObject* par, unsigned long interval, bool allowEject)
00022 : MediaMonitor(par, interval, allowEject) {};
00023
00024 virtual void StartMonitoring(void);
00025 virtual bool AddDevice(MythMediaDevice* pDevice);
00026 QStringList GetCDROMBlockDevices(void);
00027 };
00028 #endif // MYTH_MEDIA_MONITOR_DARWIN_H