#include <mediamonitor-darwin.h>
Public Member Functions | |
| MonitorThreadDarwin (MediaMonitor *pMon, unsigned long interval) | |
| virtual void | run (void) |
| 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. | |
| void | diskRemove (QString devName) |
| void | diskRename (const char *devName, const char *volName) |
| Deal with the user, or another program, renaming a volume. | |
Definition at line 7 of file mediamonitor-darwin.h.
| MonitorThreadDarwin::MonitorThreadDarwin | ( | MediaMonitor * | pMon, | |
| unsigned long | interval | |||
| ) | [inline] |
Definition at line 10 of file mediamonitor-darwin.h.
| void MonitorThreadDarwin::run | ( | void | ) | [virtual] |
Use the DiskArbitration Daemon to inform us of media changes.
Reimplemented from MonitorThread.
Definition at line 357 of file mediamonitor-darwin.cpp.
| void MonitorThreadDarwin::diskInsert | ( | const char * | devName, | |
| const char * | volName, | |||
| QString | model, | |||
| bool | isCDorDVD = 1 | |||
| ) |
Create a MythMedia instance and insert in MythMediaMonitor list.
We are a friend class of MythMediaMonitor, so that we can add or remove from its list of media objects.
Definition at line 398 of file mediamonitor-darwin.cpp.
Referenced by diskAppearedCallback().
| void MonitorThreadDarwin::diskRemove | ( | QString | devName | ) |
Definition at line 459 of file mediamonitor-darwin.cpp.
| void MonitorThreadDarwin::diskRename | ( | const char * | devName, | |
| const char * | volName | |||
| ) |
Deal with the user, or another program, renaming a volume.
iTunes has a habit of renaming the disk volumes and track files after it looks up a disk on the GraceNote CDDB.
Definition at line 484 of file mediamonitor-darwin.cpp.
1.6.3