aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorElie Tournier <tournier.elie@gmail.com>2017-04-18 13:38:34 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-05-25 15:15:31 +0200
commitaf1e72475cc3f1cfc7cadece162e2231610c8cd0 (patch)
tree4907b5aaf981c8e5984db0957b487afb4c7f08e9 /include
parent2428f3ad0a5542a996c16ef80fd7bbd2be5bb5c6 (diff)
downloadlibnitrokey-af1e72475cc3f1cfc7cadece162e2231610c8cd0.tar.gz
libnitrokey-af1e72475cc3f1cfc7cadece162e2231610c8cd0.tar.bz2
Rename devices: s/Stick10/Device_NKPro and s/Stick20/Device_NKStorage
Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/NKPro_commands.h2
-rw-r--r--include/NKPro_commands_0.8.h2
-rw-r--r--include/device.h8
3 files changed, 6 insertions, 6 deletions
diff --git a/include/NKPro_commands.h b/include/NKPro_commands.h
index 1ed3d4f..60ab1b7 100644
--- a/include/NKPro_commands.h
+++ b/include/NKPro_commands.h
@@ -17,7 +17,7 @@ namespace proto {
/*
- * Stick10 protocol definition
+ * Device_NKPro protocol definition
*/
namespace NKPro {
class GetSlotName : public Command<CommandID::READ_SLOT_NAME> {
diff --git a/include/NKPro_commands_0.8.h b/include/NKPro_commands_0.8.h
index 2482dec..5fffdfe 100644
--- a/include/NKPro_commands_0.8.h
+++ b/include/NKPro_commands_0.8.h
@@ -21,7 +21,7 @@ namespace nitrokey {
namespace proto {
/*
- * Stick10 protocol definition
+ * Device_NKPro protocol definition
*/
namespace NKPro_08 {
using NKPro::FirstAuthenticate;
diff --git a/include/device.h b/include/device.h
index 8bc661a..b928dc2 100644
--- a/include/device.h
+++ b/include/device.h
@@ -127,15 +127,15 @@ protected:
static std::chrono::milliseconds default_delay ;
};
-class Stick10 : public Device {
+class Device_NKPro : public Device {
public:
- Stick10();
+ Device_NKPro();
};
-class Stick20 : public Device {
+class Device_NKStorage : public Device {
public:
- Stick20();
+ Device_NKStorage();
};
}
}