aboutsummaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan.zalega@gmail.com>2016-02-20 15:23:05 +0100
committerSzczepan Zalega <szczepan.zalega@gmail.com>2016-02-20 15:23:05 +0100
commita0db16048f81313604a06509cc6afeb5cdbf740d (patch)
treeeff23c3e2963928c0e95dd65b7aedfcda0c8748f /include/device.h
parent6a8151c3a25b09a12118343342fdd87b3d429a83 (diff)
downloadlibnitrokey-a0db16048f81313604a06509cc6afeb5cdbf740d.tar.gz
libnitrokey-a0db16048f81313604a06509cc6afeb5cdbf740d.tar.bz2
compiling own version of lib hid_libusb (copied from nitroapp) and linking it statically with debug messages
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index dfc7149..943fe1a 100644
--- a/include/device.h
+++ b/include/device.h
@@ -27,6 +27,7 @@ public:
// lack of device is not actually an error,
// so it doesn't throw
virtual bool connect();
+ virtual bool disconnect();
/*
* Sends packet of HID_REPORT_SIZE.