--- src/common/port/port.cpp.orig 2012-10-15 09:22:38.000000000 +0400 +++ src/common/port/port.cpp 2013-01-10 05:37:25.000000000 +0300 @@ -17,7 +17,6 @@ #include "serial.h" #include "parallel.h" #include "usb_port.h" -#include "hid_port.h" //----------------------------------------------------------------------------- void getTime(int &sec, int &usec) @@ -60,8 +59,7 @@ const PortType::Data PortType::DATA[Nb_Types] = { { I18N_NOOP("Serial Port"), "serial", true }, { I18N_NOOP("Parallel Port"), "parallel", true }, - { I18N_NOOP("USB Port"), "usb", false }, - { I18N_NOOP("HID Port"), "hid", false } + { I18N_NOOP("USB Port"), "usb", false } }; const char * const Port::IO_DIR_NAMES[3] = { "no_io", "in", "out" }; @@ -73,7 +71,6 @@ case PortType::Serial: return Serial::probedDeviceList(); case PortType::Parallel: return Parallel::probedDeviceList(); case PortType::USB: return USB::probedDeviceList(); - case PortType::HID: return HID::probedDeviceList(); case PortType::Nb_Types: break; } return QStringList(); @@ -85,7 +82,6 @@ case PortType::Serial: return Serial::isAvailable(); case PortType::Parallel: return Parallel::isAvailable(); case PortType::USB: return USB::isAvailable(); - case PortType::HID: return HID::isAvailable(); case PortType::Nb_Types: break; } return false;