LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
deviceroles.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <Qt>
12#include "devicetypes.h"
13
14namespace LC
15{
24 {
28
31 Empty = 0x00,
32
35 Win95FAT32 = 0x0b,
36
40 };
41
45 {
52 DevType = Qt::UserRole + 1,
53
57
61
63 };
64
108
179}
Definition constants.h:15
USBDeviceRole
Roles specific to generic USB devices.
Definition deviceroles.h:70
@ ID
The general USB ID of the role (QByteArray).
Definition deviceroles.h:73
@ SysFile
The system file representing the device (QString).
@ Vendor
The human-readable name of the vendor (QString).
Definition deviceroles.h:89
@ Devnum
The device number on the given bus (int).
Definition deviceroles.h:81
@ USBDeviceRoleMax
@ Model
The human-readable name of the device model (QString).
Definition deviceroles.h:97
@ ModelID
The ID of the model (QString).
Definition deviceroles.h:93
@ VendorID
The ID of the vendor (QString).
Definition deviceroles.h:85
@ Busnum
The bus this device is attached to (int).
Definition deviceroles.h:77
CommonDevRole
Roles for both USB Mass Storage and generic USB devices.
Definition deviceroles.h:45
@ DevPersistentID
The persistent unique device ID (QString).
Definition deviceroles.h:60
@ DevType
The type of the device.
Definition deviceroles.h:52
@ CommonDevRoleMax
Definition deviceroles.h:62
@ DevID
The unique device ID (QString).
Definition deviceroles.h:56
PartitionType
Describes the various common partition types.
Definition deviceroles.h:24
@ Empty
Empty partition without a type.
Definition deviceroles.h:31
@ NonPartition
Something other than a partition.
Definition deviceroles.h:27
@ Win95FAT32LBA
FAT32 partition with LBA.
Definition deviceroles.h:39
@ Win95FAT32
FAT32 partition.
Definition deviceroles.h:35
MassStorageRole
Roles specific to mass storage USB devices.
@ IsPartition
Whether this item is a partition (bool).
@ VisibleName
Human-readable name of the device (QString).
@ MassStorageRoleMax
@ PartType
The type of the partition.
@ IsMediaAvailable
Whether this item contains media (bool).
@ IsRemovable
Whether this item is removable (bool).
@ IsMounted
Whether this item is currently mounted (bool).
@ MountPoints
The list of directories this item is mounted to (QStringList).
@ AvailableSize
Available size in bytes (qint64).
@ TotalSize
Total size in bytes (qint64).
@ IsMountable
Whether this item could be mounted (bool).
@ DevFile
The device file representing the device (QString).