00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __USB_DB_H__
00013 #define __USB_DB_H__
00014
00015
00016 #include <tqdict.h>
00017
00018
00019 class USBDB
00020 {
00021 public:
00022
00023 USBDB();
00024
00025 TQString vendor(int id);
00026 TQString device(int vendor, int id);
00027
00028 TQString cls(int cls);
00029 TQString subclass(int cls, int sub);
00030 TQString protocol(int cls, int sub, int prot);
00031
00032 private:
00033
00034 TQDict<TQString> _classes, _ids;
00035
00036 };
00037
00038
00039 #endif