diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-01 15:43:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-01 15:43:53 +0300 |
commit | d6d253ea7d3c3b4fd7cc402449eadef31d493203 (patch) | |
tree | e2cd5291c9395f76a7afe297f8ed78a59abd163a /um/wrappers/simple | |
parent | um: strip the 'lib' prefix from include/ dirs (diff) | |
download | windows7-drivers-d6d253ea7d3c3b4fd7cc402449eadef31d493203.tar.gz windows7-drivers-d6d253ea7d3c3b4fd7cc402449eadef31d493203.zip |
um: strip the 'lib' prefix from namespace names
Diffstat (limited to '')
-rw-r--r-- | um/wrappers/simple/include/simple/device.hpp | 4 | ||||
-rw-r--r-- | um/wrappers/simple/src/device.cpp | 4 | ||||
-rw-r--r-- | um/wrappers/simple/utils/exchange_ints.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/um/wrappers/simple/include/simple/device.hpp b/um/wrappers/simple/include/simple/device.hpp index d8bdaad..acbda76 100644 --- a/um/wrappers/simple/include/simple/device.hpp +++ b/um/wrappers/simple/include/simple/device.hpp @@ -7,9 +7,9 @@ #include "service/all.hpp" -namespace libsimple +namespace simple { - class Device : libservice::Device + class Device : service::Device { public: Device(); diff --git a/um/wrappers/simple/src/device.cpp b/um/wrappers/simple/src/device.cpp index 7aeef96..2523be6 100644 --- a/um/wrappers/simple/src/device.cpp +++ b/um/wrappers/simple/src/device.cpp @@ -9,7 +9,7 @@ #include <Windows.h> -namespace libsimple +namespace simple { namespace { @@ -18,7 +18,7 @@ namespace libsimple } Device::Device() - : libservice::Device(libservice::Device::open(device_path)) + : service::Device(service::Device::open(device_path)) { } unsigned int Device::exchange_ints(unsigned int src) const diff --git a/um/wrappers/simple/utils/exchange_ints.cpp b/um/wrappers/simple/utils/exchange_ints.cpp index bc210a6..cf8d70c 100644 --- a/um/wrappers/simple/utils/exchange_ints.cpp +++ b/um/wrappers/simple/utils/exchange_ints.cpp @@ -32,7 +32,7 @@ int main(int argc, char* argv[]) return 1; } - std::cout << libsimple::Device().exchange_ints(src) << "\n"; + std::cout << simple::Device().exchange_ints(src) << "\n"; } catch (const std::exception& e) { |