MediaMonitorDarwin Class Reference

This currently depends on Apple's DiskArbitration framework. More...

#include <mediamonitor-darwin.h>

Inheritance diagram for MediaMonitorDarwin:
MediaMonitor

List of all members.

Public Member Functions

 MediaMonitorDarwin (QObject *par, unsigned long interval, bool allowEject)
virtual void StartMonitoring (void)
 Start the monitoring thread if needed.
virtual bool AddDevice (MythMediaDevice *pDevice)
 Simpler version of MediaMonitorUnix::AddDevice().
QStringList GetCDROMBlockDevices (void)
 List of CD/DVD devices.

Detailed Description

This currently depends on Apple's DiskArbitration framework.

Only recent versions of OS X have this.

Definition at line 21 of file mediamonitor-darwin.h.


Constructor & Destructor Documentation

MediaMonitorDarwin::MediaMonitorDarwin ( QObject *  par,
unsigned long  interval,
bool  allowEject 
) [inline]

Definition at line 24 of file mediamonitor-darwin.h.


Member Function Documentation

void MediaMonitorDarwin::StartMonitoring ( void   )  [virtual]

Start the monitoring thread if needed.

Reimplemented from MediaMonitor.

Definition at line 518 of file mediamonitor-darwin.cpp.

bool MediaMonitorDarwin::AddDevice ( MythMediaDevice pDevice  )  [virtual]

Simpler version of MediaMonitorUnix::AddDevice().

This doesn't do the stat() or duplicate checking.

Implements MediaMonitor.

Definition at line 549 of file mediamonitor-darwin.cpp.

QStringList MediaMonitorDarwin::GetCDROMBlockDevices ( void   )  [virtual]

List of CD/DVD devices.

On Unix, this returns a list of /dev nodes which can be open()d. Darwin doesn't have fixed devices for removables/pluggables, so this method is actually useless as it stands. In the long term, this method should return both a name, and an opaque type? (for the IOKit io_object_t)

Implements MediaMonitor.

Definition at line 629 of file mediamonitor-darwin.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:07 2012 for MythTV by  doxygen 1.6.3