18 #ifndef _TDEHARDWAREDEVICES_H
19 #define _TDEHARDWAREDEVICES_H
24 #include <tqptrlist.h>
25 #include <tqstringlist.h>
26 #include "kiconloader.h"
27 #include "tdelibs_export.h"
42 class TDENetworkConnectionManager;
44 namespace TDEHardwareEvent {
45 enum TDEHardwareEvent {
57 namespace TDEGenericDeviceType {
58 enum TDEGenericDeviceType {
113 namespace TDEDiskDeviceType {
114 enum TDEDiskDeviceType {
116 MediaDevice = 0x00000001,
129 OtherCrypted = 0x00002000,
130 CDAudio = 0x00004000,
131 CDVideo = 0x00008000,
132 DVDVideo = 0x00010000,
133 BDVideo = 0x00020000,
138 Optical = 0x00400000,
141 CompactFlash = 0x02000000,
142 MemoryStick = 0x04000000,
143 SmartMedia = 0x08000000,
145 UnlockedCrypt = 0x20000000,
149 inline TDEDiskDeviceType operator|(TDEDiskDeviceType a, TDEDiskDeviceType b)
151 return static_cast<TDEDiskDeviceType
>(
static_cast<int>(a) | static_cast<int>(b));
154 inline TDEDiskDeviceType operator&(TDEDiskDeviceType a, TDEDiskDeviceType b)
156 return static_cast<TDEDiskDeviceType
>(
static_cast<int>(a) & static_cast<int>(b));
159 inline TDEDiskDeviceType operator~(TDEDiskDeviceType a)
161 return static_cast<TDEDiskDeviceType
>(~static_cast<
int>(a));
165 namespace TDEDiskDeviceStatus {
166 enum TDEDiskDeviceStatus {
168 Mountable = 0x00000001,
169 Removable = 0x00000002,
170 Inserted = 0x00000004,
172 UsedByDevice = 0x00000010,
173 UsesDevice = 0x00000020,
174 ContainsFilesystem = 0x00000040,
175 Hotpluggable = 0x00000080,
179 inline TDEDiskDeviceStatus operator|(TDEDiskDeviceStatus a, TDEDiskDeviceStatus b)
181 return static_cast<TDEDiskDeviceStatus
>(
static_cast<int>(a) | static_cast<int>(b));
184 inline TDEDiskDeviceStatus operator&(TDEDiskDeviceStatus a, TDEDiskDeviceStatus b)
186 return static_cast<TDEDiskDeviceStatus
>(
static_cast<int>(a) & static_cast<int>(b));
189 inline TDEDiskDeviceStatus operator~(TDEDiskDeviceStatus a)
191 return static_cast<TDEDiskDeviceStatus
>(~static_cast<
int>(a));
195 class TDECORE_EXPORT TDESensorCluster
211 class TDECORE_EXPORT TDEGenericDevice :
public TQObject
220 TDEGenericDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
230 TDEGenericDeviceType::TDEGenericDeviceType type();
240 TQString vendorName();
245 TQString vendorModel();
250 TQString serialNumber();
258 virtual TQString friendlyName();
263 TQString deviceBus();
270 TQString systemPath();
277 TQString deviceNode();
282 bool blacklistedForUpdate();
302 TQString vendorEncoded();
307 TQString modelEncoded();
312 TQString subVendorID();
317 TQString subModelID();
327 TQString moduleAlias();
332 TQString deviceDriver();
337 TQString subsystem();
342 TDEGenericDevice* parentDevice();
347 virtual TQString friendlyDeviceType();
366 void internalSetName(TQString dn);
372 void internalSetVendorName(TQString vn);
378 void internalSetVendorModel(TQString vm);
384 void internalSetSerialNumber(TQString sn);
390 void internalSetDeviceBus(TQString db);
398 void internalSetSystemPath(TQString sp);
406 void internalSetDeviceNode(TQString sn);
412 void internalSetBlacklistedForUpdate(
bool bl);
418 void internalSetVendorID(TQString
id);
424 void internalSetModelID(TQString
id);
430 void internalSetVendorEncoded(TQString
id);
436 void internalSetModelEncoded(TQString
id);
442 void internalSetSubVendorID(TQString
id);
448 void internalSetSubModelID(TQString
id);
454 void internalSetPCIClass(TQString cl);
460 void internalSetModuleAlias(TQString ma);
466 void internalSetDeviceDriver(TQString dr);
472 void internalSetSubsystem(TQString ss);
478 void internalSetParentDevice(TDEGenericDevice* pd);
481 TDEGenericDeviceType::TDEGenericDeviceType m_deviceType;
482 TQString m_deviceName;
483 TQString m_systemPath;
484 TQString m_deviceNode;
485 TQString m_vendorName;
486 TQString m_vendorModel;
487 TQString m_serialNumber;
488 TQString m_deviceBus;
492 TQString m_vendorenc;
494 TQString m_subvendorID;
495 TQString m_submodelID;
498 TQString m_deviceDriver;
499 TQString m_subsystem;
500 TQString m_friendlyName;
501 bool m_blacklistedForUpdate;
502 TDEGenericDevice* m_parentDevice;
505 TQStringList m_externalSubtype;
506 TQString m_externalRulesFile;
508 TQString m_udevdevicetypestring;
509 TQString udevdevicetypestring_alt;
511 friend class TDEHardwareDevices;
514 class TDECORE_EXPORT TDEStorageDevice :
public TDEGenericDevice
521 TDEStorageDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
531 TQString diskLabel();
541 TDEDiskDeviceType::TDEDiskDeviceType diskType();
546 TDEDiskDeviceStatus::TDEDiskDeviceStatus diskStatus();
551 bool mediaInserted();
556 TQString fileSystemName();
561 TQString fileSystemUsage();
566 TQStringList holdingDevices();
571 TQStringList slaveDevices();
583 TQString mountDevice(TQString mediaName=TQString::null, TQString mountOptions=TQString::null, TQString* errRet=0,
int* retcode=0);
596 TQString mountEncryptedDevice(TQString passphrase, TQString mediaName=TQString::null, TQString mountOptions=TQString::null, TQString* errRet=0,
int* retcode=0);
606 bool unmountDevice(TQString* errRet,
int* retcode=0);
611 TQString mountPath();
616 unsigned long long deviceSize();
621 TQString deviceFriendlySize();
637 TQString friendlyName();
644 TQString friendlyDeviceType();
649 bool isDiskOfType(TDEDiskDeviceType::TDEDiskDeviceType tf);
654 bool checkDiskStatus(TDEDiskDeviceStatus::TDEDiskDeviceStatus sf);
662 bool lockDriveMedia(
bool lock);
669 bool ejectDriveMedia();
683 void internalSetDiskLabel(TQString dn);
689 void internalSetDiskUUID(TQString
id);
695 void internalSetDiskType(TDEDiskDeviceType::TDEDiskDeviceType tf);
701 void internalSetDiskStatus(TDEDiskDeviceStatus::TDEDiskDeviceStatus st);
707 void internalSetMediaInserted(
bool inserted);
713 void internalSetFileSystemName(TQString fn);
719 void internalSetFileSystemUsage(TQString fu);
725 void internalSetHoldingDevices(TQStringList hd);
731 void internalSetSlaveDevices(TQStringList sd);
734 TDEDiskDeviceType::TDEDiskDeviceType m_diskType;
735 TDEDiskDeviceStatus::TDEDiskDeviceStatus m_diskStatus;
738 TQString m_fileSystemName;
739 TQString m_fileSystemUsage;
740 bool m_mediaInserted;
741 TQString m_mountPath;
742 TQStringList m_holdingDevices;
743 TQStringList m_slaveDevices;
745 friend class TDEHardwareDevices;
748 class TDECORE_EXPORT TDECPUDevice :
public TDEGenericDevice
755 TDECPUDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
770 double minFrequency();
775 double maxFrequency();
780 double transitionLatency();
790 TQString scalingDriver();
795 TQStringList dependentProcessors();
800 TQStringList availableFrequencies();
805 TQStringList availableGovernors();
810 bool canSetGovernor();
815 void setGovernor(TQString gv);
820 bool canSetMaximumScalingFrequency();
825 void setMaximumScalingFrequency(
double fr);
837 void internalSetFrequency(
double fr);
843 void internalSetMinFrequency(
double fr);
849 void internalSetMaxFrequency(
double fr);
855 void internalSetTransitionLatency(
double tl);
861 void internalSetGovernor(TQString gr);
867 void internalSetScalingDriver(TQString dr);
873 void internalSetDependentProcessors(TQStringList dp);
879 void internalSetAvailableFrequencies(TQStringList af);
885 void internalSetAvailableGovernors(TQStringList gp);
891 void internalSetCoreNumber(
int cn);
895 double m_minfrequency;
896 double m_maxfrequency;
897 double m_transitionlatency;
899 TQString m_scalingdriver;
900 TQStringList m_tiedprocs;
901 TQStringList m_frequencies;
902 TQStringList m_governers;
905 friend class TDEHardwareDevices;
908 namespace TDEBatteryStatus {
909 enum TDEBatteryStatus {
917 class TDECORE_EXPORT TDEBatteryDevice :
public TDEGenericDevice
924 TDEBatteryDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
939 double minimumVoltage();
944 double maximumVoltage();
949 double maximumDesignVoltage();
959 double alarmEnergy();
964 double maximumEnergy();
969 double maximumDesignEnergy();
974 double dischargeRate();
979 double timeRemaining();
984 TQString technology();
989 TDEBatteryStatus::TDEBatteryStatus status();
999 double chargePercent();
1006 void internalSetVoltage(
double vt);
1012 void internalSetMinimumVoltage(
double vt);
1018 void internalSetMaximumVoltage(
double vt);
1024 void internalSetMaximumDesignVoltage(
double vt);
1030 void internalSetEnergy(
double vt);
1036 void internalSetAlarmEnergy(
double vt);
1042 void internalSetMaximumEnergy(
double vt);
1048 void internalSetMaximumDesignEnergy(
double vt);
1054 void internalSetDischargeRate(
double vt);
1060 void internalSetTimeRemaining(
double tr);
1066 void internalSetTechnology(TQString tc);
1072 void internalSetStatus(TQString tc);
1078 void internalSetInstalled(
bool tc);
1081 double m_currentVoltage;
1082 double m_minimumVoltage;
1083 double m_maximumVoltage;
1084 double m_maximumDesignVoltage;
1085 double m_alarmEnergy;
1086 double m_currentEnergy;
1087 double m_maximumEnergy;
1088 double m_maximumDesignEnergy;
1089 double m_dischargeRate;
1090 double m_timeRemaining;
1091 TQString m_technology;
1092 TDEBatteryStatus::TDEBatteryStatus m_status;
1095 friend class TDEHardwareDevices;
1098 class TDECORE_EXPORT TDEMainsPowerDevice :
public TDEGenericDevice
1105 TDEMainsPowerDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1110 ~TDEMainsPowerDevice();
1122 void internalSetOnline(
bool vt);
1127 friend class TDEHardwareDevices;
1130 class TDECORE_EXPORT TDENetworkDevice :
public TDEGenericDevice
1137 TDENetworkDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1142 ~TDENetworkDevice();
1147 TQString macAddress();
1157 bool carrierPresent();
1167 TQString ipV4Address();
1172 TQString ipV6Address();
1177 TQString ipV4Netmask();
1182 TQString ipV6Netmask();
1187 TQString ipV4Broadcast();
1192 TQString ipV6Broadcast();
1197 TQString ipV4Destination();
1202 TQString ipV6Destination();
1227 TDENetworkConnectionManager* connectionManager();
1234 void internalSetMacAddress(TQString ma);
1240 void internalSetState(TQString st);
1246 void internalSetCarrierPresent(
bool cp);
1252 void internalSetDormant(
bool dm);
1258 void internalSetIpV4Address(TQString ad);
1264 void internalSetIpV6Address(TQString ad);
1270 void internalSetIpV4Netmask(TQString nm);
1276 void internalSetIpV6Netmask(TQString nm);
1282 void internalSetIpV4Broadcast(TQString br);
1288 void internalSetIpV6Broadcast(TQString br);
1294 void internalSetIpV4Destination(TQString ds);
1300 void internalSetIpV6Destination(TQString ds);
1306 void internalSetRxBytes(
double rx);
1312 void internalSetTxBytes(
double tx);
1318 void internalSetRxPackets(
double rx);
1324 void internalSetTxPackets(
double tx);
1329 void internalSetConnectionManager(TDENetworkConnectionManager* mgr);
1332 TQString m_macAddress;
1336 TQString m_ipV4Address;
1337 TQString m_ipV6Address;
1338 TQString m_ipV4Netmask;
1339 TQString m_ipV6Netmask;
1340 TQString m_ipV4Broadcast;
1341 TQString m_ipV6Broadcast;
1342 TQString m_ipV4Destination;
1343 TQString m_ipV6Destination;
1348 TDENetworkConnectionManager* m_connectionManager;
1350 friend class TDEHardwareDevices;
1353 namespace TDEDisplayPowerLevel {
1354 enum TDEDisplayPowerLevel {
1362 class TDECORE_EXPORT TDEBacklightDevice :
public TDEGenericDevice
1369 TDEBacklightDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1374 ~TDEBacklightDevice();
1379 TDEDisplayPowerLevel::TDEDisplayPowerLevel powerLevel();
1384 int brightnessSteps();
1389 double brightnessPercent();
1394 bool canSetBrightness();
1399 int rawBrightness();
1404 void setRawBrightness(
int br);
1411 void internalSetPowerLevel(TDEDisplayPowerLevel::TDEDisplayPowerLevel pl);
1417 void internalSetMaximumRawBrightness(
int br);
1423 void internalSetCurrentRawBrightness(
int br);
1426 TDEDisplayPowerLevel::TDEDisplayPowerLevel m_powerLevel;
1427 int m_currentBrightness;
1428 int m_maximumBrightness;
1430 friend class TDEHardwareDevices;
1433 typedef TQPair<unsigned int, unsigned int> TDEResolutionPair;
1434 typedef TQValueList< TDEResolutionPair > TDEResolutionList;
1436 class TDECORE_EXPORT TDEMonitorDevice :
public TDEGenericDevice
1443 TDEMonitorDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1448 ~TDEMonitorDevice();
1468 TDEResolutionList resolutions();
1473 TQString portType();
1478 TDEDisplayPowerLevel::TDEDisplayPowerLevel powerLevel();
1485 void internalSetConnected(
bool cn);
1491 void internalSetEnabled(
bool en);
1497 void internalSetEdid(TQByteArray ed);
1503 void internalSetResolutions(TDEResolutionList rs);
1509 void internalSetPortType(TQString pt);
1515 void internalSetPowerLevel(TDEDisplayPowerLevel::TDEDisplayPowerLevel pl);
1521 TDEResolutionList m_resolutions;
1522 TQString m_portType;
1523 TDEDisplayPowerLevel::TDEDisplayPowerLevel m_powerLevel;
1525 friend class TDEHardwareDevices;
1529 typedef TQMap<TQString, TDESensorCluster> TDESensorClusterMap;
1531 class TDECORE_EXPORT TDESensorDevice :
public TDEGenericDevice
1538 TDESensorDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1548 TDESensorClusterMap values();
1555 void internalSetValues(TDESensorClusterMap cl);
1558 TDESensorClusterMap m_sensorValues;
1560 friend class TDEHardwareDevices;
1563 namespace TDESystemFormFactor {
1564 enum TDESystemFormFactor {
1573 namespace TDESystemPowerState {
1574 enum TDESystemPowerState {
1584 namespace TDESystemHibernationMethod {
1585 enum TDESystemHibernationMethod {
1595 typedef TQValueList<TDESystemPowerState::TDESystemPowerState> TDESystemPowerStateList;
1596 typedef TQValueList<TDESystemHibernationMethod::TDESystemHibernationMethod> TDESystemHibernationMethodList;
1598 class TDECORE_EXPORT TDERootSystemDevice :
public TDEGenericDevice
1605 TDERootSystemDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1610 ~TDERootSystemDevice();
1615 TDESystemFormFactor::TDESystemFormFactor formFactor();
1620 TDESystemPowerStateList powerStates();
1625 TDESystemHibernationMethodList hibernationMethods();
1630 TDESystemHibernationMethod::TDESystemHibernationMethod hibernationMethod();
1635 unsigned long diskSpaceNeededForHibernation();
1640 bool canSetHibernationMethod();
1655 bool canHibernate();
1670 void setHibernationMethod(TDESystemHibernationMethod::TDESystemHibernationMethod hm);
1676 bool setPowerState(TDESystemPowerState::TDESystemPowerState ps);
1683 void internalSetFormFactor(TDESystemFormFactor::TDESystemFormFactor ff);
1689 void internalSetPowerStates(TDESystemPowerStateList ps);
1695 void internalSetHibernationMethods(TDESystemHibernationMethodList hm);
1701 void internalSetHibernationMethod(TDESystemHibernationMethod::TDESystemHibernationMethod hm);
1707 void internalSetDiskSpaceNeededForHibernation(
unsigned long sz);
1710 TDESystemFormFactor::TDESystemFormFactor m_formFactor;
1711 TDESystemPowerStateList m_powerStates;
1712 TDESystemHibernationMethodList m_hibernationMethods;
1713 TDESystemHibernationMethod::TDESystemHibernationMethod m_hibernationMethod;
1714 unsigned long m_hibernationSpace;
1716 friend class TDEHardwareDevices;
1719 namespace TDEEventDeviceType {
1720 enum TDEEventDeviceType {
1730 namespace TDESwitchType {
1731 enum TDESwitchType {
1734 TabletMode = 0x00000002,
1735 HeadphoneInsert = 0x00000004,
1736 RFKill = 0x00000008,
1738 MicrophoneInsert = 0x00000020,
1740 LineOutInsert = 0x00000080,
1741 JackPhysicalInsert = 0x00000100,
1742 VideoOutInsert = 0x00000200,
1743 CameraLensCover = 0x00000400,
1744 KeypadSlide = 0x00000800,
1745 FrontProximity = 0x00001000,
1746 RotateLock = 0x00002000,
1747 LineInInsert = 0x00004000
1750 inline TDESwitchType operator|(TDESwitchType a, TDESwitchType b)
1752 return static_cast<TDESwitchType
>(
static_cast<int>(a) | static_cast<int>(b));
1755 inline TDESwitchType operator&(TDESwitchType a, TDESwitchType b)
1757 return static_cast<TDESwitchType
>(
static_cast<int>(a) & static_cast<int>(b));
1760 inline TDESwitchType operator~(TDESwitchType a)
1762 return static_cast<TDESwitchType
>(~static_cast<
int>(a));
1766 class TQSocketNotifier;
1768 class TDECORE_EXPORT TDEEventDevice :
public TDEGenericDevice
1777 TDEEventDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1787 TDEEventDeviceType::TDEEventDeviceType eventType();
1792 TDESwitchType::TDESwitchType providedSwitches();
1797 TDESwitchType::TDESwitchType activeSwitches();
1803 static TQStringList friendlySwitchList(TDESwitchType::TDESwitchType switches);
1810 void internalSetEventType(TDEEventDeviceType::TDEEventDeviceType et);
1816 void internalSetProvidedSwitches(TDESwitchType::TDESwitchType sl);
1822 void internalSetActiveSwitches(TDESwitchType::TDESwitchType sl);
1828 void internalStartFdMonitoring(TDEHardwareDevices* hwmanager);
1831 void eventReceived();
1839 void keyPressed(
unsigned int keycode, TDEEventDevice* device);
1842 TDEEventDeviceType::TDEEventDeviceType m_eventType;
1843 TDESwitchType::TDESwitchType m_providedSwitches;
1844 TDESwitchType::TDESwitchType m_switchActive;
1847 bool m_fdMonitorActive;
1848 TQSocketNotifier* m_eventNotifier;
1850 friend class TDEHardwareDevices;
1853 namespace TDEInputDeviceType {
1854 enum TDEInputDeviceType {
1863 class TDECORE_EXPORT TDEInputDevice :
public TDEGenericDevice
1870 TDEInputDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
1880 TDEInputDeviceType::TDEInputDeviceType inputType();
1887 void internalSetInputType(TDEInputDeviceType::TDEInputDeviceType it);
1890 TDEInputDeviceType::TDEInputDeviceType m_inputType;
1892 friend class TDEHardwareDevices;
1895 typedef TQPtrList<TDEGenericDevice> TDEGenericHardwareList;
1896 typedef TQMap<TQString, TQString> TDEDeviceIDMap;
1900 class TDECORE_EXPORT TDEHardwareDevices :
public TQObject
1908 TDEHardwareDevices();
1913 ~TDEHardwareDevices();
1925 bool queryHardwareInformation();
1931 TDEGenericHardwareList listAllPhysicalDevices();
1938 TDEGenericHardwareList listByDeviceClass(TDEGenericDeviceType::TDEGenericDeviceType cl);
1944 TDEGenericDevice* findBySystemPath(TQString syspath);
1950 TDEGenericDevice* findByUniqueID(TQString uid);
1956 TDEGenericDevice* findByDeviceNode(TQString devnode);
1962 TDEStorageDevice* findDiskByUID(TQString uid);
1972 TQString findPCIDeviceName(TQString vendorid, TQString modelid, TQString subvendorid, TQString submodelid);
1982 TQString findUSBDeviceName(TQString vendorid, TQString modelid, TQString subvendorid, TQString submodelid);
1989 TQString findPNPDeviceName(TQString pnpid);
1996 TQString findMonitorManufacturerName(TQString dpyid);
2003 TQString getFriendlyDeviceTypeStringFromType(TDEGenericDeviceType::TDEGenericDeviceType query);
2011 TQPixmap getDeviceTypeIconFromType(TDEGenericDeviceType::TDEGenericDeviceType query,
TDEIcon::StdSizes size);
2017 TDERootSystemDevice* rootSystemDevice();
2024 void rescanDeviceInformation(TDEGenericDevice* hwdevice);
2031 static TQString bytesToFriendlySizeString(
double bytes);
2034 void hardwareAdded(TDEGenericDevice*);
2035 void hardwareRemoved(TDEGenericDevice*);
2036 void hardwareUpdated(TDEGenericDevice*);
2037 void mountTableModified();
2038 void hardwareEvent(TDEHardwareEvent::TDEHardwareEvent, TQString uuid);
2045 void eventDeviceKeyPressed(
unsigned int keycode, TDEEventDevice* device);
2048 void processHotPluggedHardware();
2049 void processModifiedMounts();
2050 void processModifiedCPUs();
2051 void processStatelessDevices();
2052 void processEventDeviceKeyPressed(
unsigned int keycode, TDEEventDevice* edevice);
2055 void updateBlacklists(TDEGenericDevice* hwdevice, udev_device* dev);
2058 TDEGenericDevice *classifyUnknownDevice(udev_device* dev, TDEGenericDevice* existingdevice=0,
bool force_full_classification=
true);
2059 TDEGenericDevice *classifyUnknownDeviceByExternalRules(udev_device* dev, TDEGenericDevice* existingdevice=0,
bool classifySubDevices=
false);
2061 void updateParentDeviceInformation();
2062 void updateParentDeviceInformation(TDEGenericDevice* hwdevice);
2064 void addCoreSystemDevices();
2070 TQByteArray getEDID(TQString path);
2076 TQPair<TQString,TQString> getEDIDMonitorName(TQString path);
2078 struct udev *m_udevStruct;
2079 struct udev_monitor *m_udevMonitorStruct;
2080 TDEGenericHardwareList m_deviceList;
2083 TQTimer* m_cpuWatchTimer;
2084 TQTimer* m_deviceWatchTimer;
2086 TQSocketNotifier* m_devScanNotifier;
2087 TQSocketNotifier* m_mountScanNotifier;
2089 TQStringList m_mountTable;
2090 TQStringList m_cpuInfo;
2092 TDEDeviceIDMap* pci_id_map;
2093 TDEDeviceIDMap* usb_id_map;
2094 TDEDeviceIDMap* pnp_id_map;
2095 TDEDeviceIDMap* dpy_id_map;
2097 friend class TDEGenericDevice;
2098 friend class TDEStorageDevice;
2099 friend class TDECPUDevice;
2102 #endif // _TDEHARDWAREDEVICES_H