MythTV  0.25-pre
Public Member Functions | Static Public Member Functions
MythHDD Class Reference

#include <mythhdd.h>

Inheritance diagram for MythHDD:
MythMediaDevice

List of all members.

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 MythHDDGet (QObject *par, const char *devicePath, bool SuperMount, bool AllowEject)
 Helper function used to create a new instance of a hard disk device.

Detailed Description

Definition at line 6 of file mythhdd.h.


Constructor & Destructor Documentation

MythHDD::MythHDD ( QObject *  par,
const char *  DevicePath,
bool  SuperMount,
bool  AllowEject 
)

Creates a new instance of a hard disc device.

Parameters:
DevicePathpath to the device special file representing the device.
Returns:
new MythHDD instance.

Definition at line 22 of file mythhdd.cpp.

Referenced by Get().


Member Function Documentation

Checks the status of this media device.

Implements MythMediaDevice.

Definition at line 34 of file mythhdd.cpp.

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.

Parameters:
devicePathpath to the device special file representing the device.
Returns:
new MythHDD instance.

Definition at line 11 of file mythhdd.cpp.

Referenced by MediaMonitorUnix::CheckMountable(), MediaMonitorUnix::deviceAdded(), MonitorThreadDarwin::diskInsert(), MediaMonitorUnix::FindPartitions(), and MediaMonitorWindows::MediaMonitorWindows().


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