MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Protected Member Functions
MythCDROM Class Reference

#include <mythcdrom.h>

Inheritance diagram for MythCDROM:
MythMediaDevice MythCDROMDarwin MythCDROMFreeBSD MythCDROMLinux

List of all members.

Public Member Functions

virtual ~MythCDROM ()
virtual bool mediaChanged (void)
virtual bool checkOK (void)
virtual MythMediaStatus checkMedia (void)
virtual void setSpeed (const char *devicePath, int speed)

Static Public Member Functions

static MythCDROMget (QObject *par, const char *devicePath, bool SuperMount, bool AllowEject)

Protected Member Functions

 MythCDROM (QObject *par, const char *DevicePath, bool SuperMount, bool AllowEject)
virtual void onDeviceMounted ()
 Override this to perform any post mount logic.

Detailed Description

Definition at line 6 of file mythcdrom.h.


Constructor & Destructor Documentation

MythCDROM::MythCDROM ( QObject *  par,
const char *  DevicePath,
bool  SuperMount,
bool  AllowEject 
) [protected]

Definition at line 45 of file mythcdrom.cpp.

Referenced by get().

virtual MythCDROM::~MythCDROM ( ) [inline, virtual]

Definition at line 13 of file mythcdrom.h.


Member Function Documentation

virtual bool MythCDROM::mediaChanged ( void  ) [inline, virtual]

Reimplemented in MythCDROMLinux.

Definition at line 15 of file mythcdrom.h.

virtual bool MythCDROM::checkOK ( void  ) [inline, virtual]

Reimplemented in MythCDROMLinux.

Definition at line 16 of file mythcdrom.h.

virtual MythMediaStatus MythCDROM::checkMedia ( void  ) [inline, virtual]

Implements MythMediaDevice.

Reimplemented in MythCDROMLinux.

Definition at line 17 of file mythcdrom.h.

void MythCDROM::setSpeed ( const char *  devicePath,
int  speed 
) [virtual]

Reimplemented in MythCDROMLinux, and MythCDROMDarwin.

Definition at line 127 of file mythcdrom.cpp.

Referenced by MediaMonitor::SetCDSpeed().

MythCDROM * MythCDROM::get ( QObject *  par,
const char *  devicePath,
bool  SuperMount,
bool  AllowEject 
) [static]
void MythCDROM::onDeviceMounted ( void  ) [protected, virtual]

Override this to perform any post mount logic.

Reimplemented from MythMediaDevice.

Definition at line 51 of file mythcdrom.cpp.

Referenced by MythCDROMLinux::checkMedia().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends