diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-09 17:33:56 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:53 +0100 |
commit | a9c42dea301329136f663ebc9482a1d38feada29 (patch) | |
tree | ac8d95ceeb6b79852b24055fa74e94f4e5023703 /include/NitrokeyManager.h | |
parent | a3303c491a6f3b9980a91cabe81d5fb643ec8d9a (diff) | |
download | libnitrokey-a9c42dea301329136f663ebc9482a1d38feada29.tar.gz libnitrokey-a9c42dea301329136f663ebc9482a1d38feada29.tar.bz2 |
Allow to check is current device visible to the OS
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r-- | include/NitrokeyManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index 71ac6fa..4f11314 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -44,7 +44,9 @@ namespace nitrokey { bool connect(); bool disconnect(); bool is_connected() throw() ; - DeviceModel get_connected_device_model() const; + bool could_current_device_be_enumerated(); + + DeviceModel get_connected_device_model() const; void set_debug(bool state); stick10::GetStatus::ResponsePayload get_status(); string get_status_as_string(); |