Go to the documentation of this file. 1 #ifndef MYTH_MEDIA_MONITOR_DARWIN_H
2 #define MYTH_MEDIA_MONITOR_DARWIN_H
4 #define DEFAULT_DVD "disk1"
5 #define DEFAULT_CD "disk1"
13 void run(
void)
override;
16 const char *volName, QString model,
bool isCDorDVD = 1);
18 void diskRename(
const char *devName,
const char *volName);
31 #endif // MYTH_MEDIA_MONITOR_DARWIN_H
MonitorThreadDarwin(MediaMonitor *pMon, unsigned long interval)
void diskRemove(QString devName)
void diskRename(const char *devName, const char *volName)
Deal with the user, or another program, renaming a volume.
void run(void) override
Use the DiskArbitration Daemon to inform us of media changes.
void diskInsert(const char *devName, const char *volName, QString model, bool isCDorDVD=1)
Create a MythMedia instance and insert in MythMediaMonitor list.