tdehwcommontypes.h
00001 /* This file is part of the TDE libraries 00002 Copyright (C) 2012 Timothy Pearson <kb9vqf@pearsoncomputing.net> 00003 (C) 2013 Golubev Alexander <fatzer2@gmail.com> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef _TDEHWCOMMON_H 00021 #define _TDEHWCOMMON_H 00022 00023 // Keep readGenericDeviceTypeFromString(), getFriendlyDeviceTypeStringFromType(), and getDeviceTypeIconFromType() in tdehardwaredevices.cpp in sync with this enum 00024 namespace TDEGenericDeviceType { 00025 enum TDEGenericDeviceType { 00026 Root, 00027 RootSystem, 00028 CPU, 00029 GPU, 00030 RAM, 00031 Bus, 00032 I2C, 00033 MDIO, 00034 Mainboard, 00035 Disk, 00036 SCSI, 00037 StorageController, 00038 Mouse, 00039 Keyboard, 00040 HID, 00041 Modem, 00042 Monitor, 00043 Network, 00044 NonvolatileMemory, 00045 Printer, 00046 Scanner, 00047 Sound, 00048 VideoCapture, 00049 IEEE1394, 00050 PCMCIA, 00051 Camera, 00052 TextIO, 00053 Serial, 00054 Parallel, 00055 Peripheral, 00056 Backlight, 00057 Battery, 00058 PowerSupply, 00059 Dock, 00060 ThermalSensor, 00061 ThermalControl, 00062 BlueTooth, 00063 Bridge, 00064 Hub, 00065 Platform, 00066 Cryptography, 00067 CryptographicCard, 00068 BiometricSecurity, 00069 TestAndMeasurement, 00070 Timekeeping, 00071 Event, 00072 Input, 00073 PNP, 00074 OtherACPI, 00075 OtherUSB, 00076 OtherMultimedia, 00077 OtherPeripheral, 00078 OtherSensor, 00079 OtherVirtual, 00080 Other, 00081 Last = Other 00082 }; 00083 }; 00084 00085 namespace TDEDisplayPowerLevel { 00086 enum TDEDisplayPowerLevel { 00087 On, 00088 Standby, 00089 Suspend, 00090 Off 00091 }; 00092 }; 00093 00094 namespace TDEHardwareEvent { 00095 enum TDEHardwareEvent { 00096 HardwareListModified, 00097 MountTableModified, 00098 HardwareAdded, 00099 HardwareRemoved, 00100 HardwareUpdated, 00101 Other, 00102 Last = Other 00103 }; 00104 }; 00105 00106 #endif // _TDEHWCOMMON_H
Trinity API Reference