#include <UDisksProvider.h>
◆ CUDiskDevice()
CUDiskDevice::CUDiskDevice |
( |
const char * | DeviceKitUDI | ) |
|
◆ ~CUDiskDevice()
CUDiskDevice::~CUDiskDevice |
( |
| ) |
|
|
default |
◆ GetDisplayName()
const std::string & CUDiskDevice::GetDisplayName |
( |
| ) |
const |
|
inline |
Get the device display name/label.
- Returns
- the device display name/label
◆ GetMountPoint()
const std::string & CUDiskDevice::GetMountPoint |
( |
| ) |
const |
|
inline |
Get the device mount point.
- Returns
- the device mount point
◆ GetStorageType()
Get the storage type of this device.
- Returns
- the storage type (e.g. OPTICAL) or UNKNOWN if the type couldn't be detected
◆ IsApproved()
bool CUDiskDevice::IsApproved |
( |
| ) |
const |
Check if the device is approved/whitelisted.
- Returns
- true if the device is approved/whitelisted, false otherwise
◆ IsMounted()
bool CUDiskDevice::IsMounted |
( |
| ) |
const |
Check if the device is mounted.
- Returns
- true if the device is mounted, false otherwise
◆ IsOptical()
bool CUDiskDevice::IsOptical |
( |
| ) |
const |
Check if the device is optical.
- Returns
- true if the device is optical, false otherwise
◆ IsSystemInternal()
bool CUDiskDevice::IsSystemInternal |
( |
| ) |
const |
Check if the device is internal to the system.
- Returns
- true if the device is internal to the system, false otherwise
◆ Mount()
bool CUDiskDevice::Mount |
( |
| ) |
|
◆ ToMediaShare()
Get a representation of the device as a media share.
- Returns
- the media share
◆ ToStorageDevice()
Get a representation of the device as a storage device abstraction.
- Returns
- the storage device abstraction of the device
◆ ToString()
std::string CUDiskDevice::ToString |
( |
| ) |
const |
Get a representation of the device as a readable string.
- Returns
- device as a string
◆ UnMount()
bool CUDiskDevice::UnMount |
( |
| ) |
|
◆ Update()
void CUDiskDevice::Update |
( |
| ) |
|
The documentation for this class was generated from the following files: