diff options
Diffstat (limited to 'utils/hwstub/include')
-rw-r--r-- | utils/hwstub/include/hwstub.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/hwstub/include/hwstub.hpp b/utils/hwstub/include/hwstub.hpp index e403857200..90b29ebf9d 100644 --- a/utils/hwstub/include/hwstub.hpp +++ b/utils/hwstub/include/hwstub.hpp | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <mutex> | 33 | #include <mutex> |
34 | #include <condition_variable> | 34 | #include <condition_variable> |
35 | #include <ostream> | 35 | #include <ostream> |
36 | #include <functional> | ||
36 | 37 | ||
37 | namespace hwstub { | 38 | namespace hwstub { |
38 | 39 | ||
@@ -80,7 +81,7 @@ std::string error_string(error err); | |||
80 | * | 81 | * |
81 | * A context provides a way to regularly poll for derive changes. There are two | 82 | * A context provides a way to regularly poll for derive changes. There are two |
82 | * ways to manually force an update: | 83 | * ways to manually force an update: |
83 | * - on call to get_device_list(), the list is already refetched | 84 | * - on call to get_device_list(), the list is always refetched |
84 | * - on call to update_list() to force list update | 85 | * - on call to update_list() to force list update |
85 | * Note that automatic polling is disabled by default. | 86 | * Note that automatic polling is disabled by default. |
86 | */ | 87 | */ |
@@ -212,7 +213,7 @@ public: | |||
212 | std::shared_ptr<context> get_context(); | 213 | std::shared_ptr<context> get_context(); |
213 | 214 | ||
214 | protected: | 215 | protected: |
215 | /** Some subsystems allow for hardware to be open several times and so do not. | 216 | /** Some subsystems allow for hardware to be open several times and some do not. |
216 | * For example, libusb only allows one handle per device. To workaround this issue, | 217 | * For example, libusb only allows one handle per device. To workaround this issue, |
217 | * open() will do some magic to allow for several open() even when the hardware | 218 | * open() will do some magic to allow for several open() even when the hardware |
218 | * supports only one. If the device does not support multiple | 219 | * supports only one. If the device does not support multiple |