summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-08-25 00:25:25 -0500
committerTimothy Pearson <[email protected]>2015-08-25 00:25:25 -0500
commit31ebb6568fd8557ba184b38481887e540cbf5647 (patch)
treec5c50929cee795292fae4827e4d6993c2eb2a7ba /tdecore/tdehw/tdehardwaredevices.cpp
parent5fdf839b35497b5470dc9e27e8503083f0b55266 (diff)
downloadtdelibs-31ebb6568fd8557ba184b38481887e540cbf5647.tar.gz
tdelibs-31ebb6568fd8557ba184b38481887e540cbf5647.zip
Add preliminary cryptographic card support to TDEHWLib
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index d2fd7e2f3..e3608e11c 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -66,6 +66,7 @@ extern "C" {
#include "tderootsystemdevice.h"
#include "tdeeventdevice.h"
#include "tdeinputdevice.h"
+#include "tdecryptographiccarddevice.h"
// Compile-time configuration
#include "config.h"
@@ -2297,7 +2298,7 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
}
if (usbInterfaceClass == 11) {
// Smart Card Reader
- if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::CryptographicCard);
+ if (!device) device = new TDECryptographicCardDevice(TDEGenericDeviceType::CryptographicCard);
}
if ((usbInterfaceClass == 6) && (usbInterfaceSubClass == 1) && (usbInterfaceProtocol == 1)) {
// PictBridge