aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/wrappers/simple
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-01 15:43:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-01 15:43:53 +0300
commitd6d253ea7d3c3b4fd7cc402449eadef31d493203 (patch)
treee2cd5291c9395f76a7afe297f8ed78a59abd163a /um/wrappers/simple
parentum: strip the 'lib' prefix from include/ dirs (diff)
downloadwindows7-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.hpp4
-rw-r--r--um/wrappers/simple/src/device.cpp4
-rw-r--r--um/wrappers/simple/utils/exchange_ints.cpp2
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)
{