LeechCraft 0.6.70-14794-g33744ae6ce
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
39 Win95FAT32LBA = 0x0c
40 };
41
45 {
52 DevType = Qt::UserRole + 1,
53
57
61
63 };
64
70 {
74
78
82
86
90
94
98
105
107 };
108
114 {
120
129
133
137
141
145
151
155
163
171
176
178 };
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).
Definition: deviceroles.h:104
@ 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
Definition: deviceroles.h:106
@ 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.
Definition: deviceroles.h:114
@ IsPartition
Whether this item is a partition (bool).
Definition: deviceroles.h:136
@ VisibleName
Human-readable name of the device (QString).
Definition: deviceroles.h:154
@ MassStorageRoleMax
Definition: deviceroles.h:177
@ PartType
The type of the partition.
Definition: deviceroles.h:128
@ IsMediaAvailable
Whether this item contains media (bool).
Definition: deviceroles.h:150
@ IsRemovable
Whether this item is removable (bool).
Definition: deviceroles.h:132
@ IsMounted
Whether this item is currently mounted (bool).
Definition: deviceroles.h:144
@ MountPoints
The list of directories this item is mounted to (QStringList).
Definition: deviceroles.h:175
@ AvailableSize
Available size in bytes (qint64).
Definition: deviceroles.h:162
@ TotalSize
Total size in bytes (qint64).
Definition: deviceroles.h:170
@ IsMountable
Whether this item could be mounted (bool).
Definition: deviceroles.h:140
@ DevFile
The device file representing the device (QString).
Definition: deviceroles.h:119