diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-03-21 13:40:11 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-03-21 13:40:11 -0500 |
commit | 7a25132c125f6e5e413ad26ea950ae22bee982f5 (patch) | |
tree | 1870caed0aec4960053bd9e5125574dbcb48b08c /src/usb-manager.h | |
parent | 45709c48f34e0909c1309dccac1dd3e047f518fb (diff) | |
download | ayatana-indicator-display-7a25132c125f6e5e413ad26ea950ae22bee982f5.tar.gz ayatana-indicator-display-7a25132c125f6e5e413ad26ea950ae22bee982f5.tar.bz2 ayatana-indicator-display-7a25132c125f6e5e413ad26ea950ae22bee982f5.zip |
if our USB device is disconnected while prompting the user for ADBD, cancel the prompt.
Diffstat (limited to 'src/usb-manager.h')
-rw-r--r-- | src/usb-manager.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usb-manager.h b/src/usb-manager.h index ec405c0..960d634 100644 --- a/src/usb-manager.h +++ b/src/usb-manager.h @@ -19,6 +19,8 @@ #pragma once +#include <src/usb-monitor.h> + #include <memory> #include <string> @@ -28,10 +30,17 @@ class UsbManager { public: - UsbManager(const std::string& socket_path, const std::string& public_key_filename); + + UsbManager( + const std::string& socket_path, + const std::string& public_key_filename, + const std::shared_ptr<UsbMonitor>& + ); + ~UsbManager(); protected: + class Impl; std::unique_ptr<Impl> impl; }; |