#include <mythhdd.h>
Public Member Functions | |
| MythHDD (QObject *par, const char *DevicePath, bool SuperMount, bool AllowEject) | |
| Creates a new instance of a hard disc device. | |
| virtual MythMediaStatus | checkMedia (void) |
| Checks the status of this media device. | |
| virtual MythMediaError | eject (bool) |
Static Public Member Functions | |
| static MythHDD * | Get (QObject *par, const char *devicePath, bool SuperMount, bool AllowEject) |
| Helper function used to create a new instance of a hard disk device. | |
Definition at line 6 of file mythhdd.h.
Creates a new instance of a hard disc device.
| DevicePath | path to the device special file representing the device. |
Definition at line 22 of file mythhdd.cpp.
Referenced by Get().
| MythMediaStatus MythHDD::checkMedia | ( | void | ) | [virtual] |
Checks the status of this media device.
Implements MythMediaDevice.
Definition at line 34 of file mythhdd.cpp.
| MythMediaError MythHDD::eject | ( | bool | ) | [virtual] |
Reimplemented from MythMediaDevice.
Definition at line 76 of file mythhdd.cpp.
| MythHDD * MythHDD::Get | ( | QObject * | par, | |
| const char * | devicePath, | |||
| bool | SuperMount, | |||
| bool | AllowEject | |||
| ) | [static] |
Helper function used to create a new instance of a hard disk device.
| devicePath | path to the device special file representing the device. |
Definition at line 11 of file mythhdd.cpp.
Referenced by MediaMonitorUnix::CheckMountable(), MediaMonitorUnix::deviceAdded(), MonitorThreadDarwin::diskInsert(), MediaMonitorUnix::FindPartitions(), and MediaMonitorWindows::MediaMonitorWindows().
1.6.3