LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
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 
14 namespace LC
15 {
24  {
28 
31  Empty = 0x00,
32 
35  Win95FAT32 = 0x0b,
36 
40  };
41 
45  {
52  DevType = Qt::UserRole + 1,
53 
59 
67 
71 
73  };
74 
80  {
84 
88 
92 
96 
100 
104 
108 
115 
117  };
118 
124  {
130 
139 
143 
147 
151 
155 
161 
165 
173 
181 
186 
188  };
189 }
Empty partition without a type.
Definition: deviceroles.h:31
The unique device ID (QString).
Definition: deviceroles.h:58
The device file representing the device (QString).
Definition: deviceroles.h:129
FAT32 partition with LBA.
Definition: deviceroles.h:39
Whether this item is currently mounted (bool).
Definition: deviceroles.h:154
The type of the partition.
Definition: deviceroles.h:138
CommonDevRole
Roles for both USB Mass Storage and generic USB devices.
Definition: deviceroles.h:44
Whether this item could be mounted (bool).
Definition: deviceroles.h:150
PartitionType
Describes the various common partition types.
Definition: deviceroles.h:23
Whether this item is removable (bool).
Definition: deviceroles.h:142
Available size in bytes (qint64).
Definition: deviceroles.h:172
Something other than a partition.
Definition: deviceroles.h:27
The ID of the model (QString).
Definition: deviceroles.h:103
The human-readable name of the vendor (QString).
Definition: deviceroles.h:99
USBDeviceRole
Roles specific to generic USB devices.
Definition: deviceroles.h:79
MassStorageRole
Roles specific to mass storage USB devices.
Definition: deviceroles.h:123
FAT32 partition.
Definition: deviceroles.h:35
The parent&#39;s device ID (QString).
Definition: deviceroles.h:66
The ID of the vendor (QString).
Definition: deviceroles.h:95
The device number on the given bus (int).
Definition: deviceroles.h:91
The type of the device.
Definition: deviceroles.h:52
Total size in bytes (qint64).
Definition: deviceroles.h:180
The persistent unique device ID (QString).
Definition: deviceroles.h:70
The general USB ID of the role (QByteArray).
Definition: deviceroles.h:83
The system file representing the device (QString).
Definition: deviceroles.h:114
The list of directories this item is mounted to (QStringList).
Definition: deviceroles.h:185
The human-readable name of the device model (QString).
Definition: deviceroles.h:107
Whether this item contains media (bool).
Definition: deviceroles.h:160
Human-readable name of the device (QString).
Definition: deviceroles.h:164
The bus this device is attached to (int).
Definition: deviceroles.h:87
Whether this item is a partition (bool).
Definition: deviceroles.h:146