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/special/nt_namespace | |
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 'um/wrappers/special/nt_namespace')
3 files changed, 5 insertions, 5 deletions
diff --git a/um/wrappers/special/nt_namespace/include/nt_namespace/device.hpp b/um/wrappers/special/nt_namespace/include/nt_namespace/device.hpp index 793db4b..a3d725c 100644 --- a/um/wrappers/special/nt_namespace/include/nt_namespace/device.hpp +++ b/um/wrappers/special/nt_namespace/include/nt_namespace/device.hpp @@ -9,9 +9,9 @@ #include <string> -namespace libnt_namespace +namespace nt_namespace { - class Device : libservice::Device + class Device : service::Device { public: Device(); diff --git a/um/wrappers/special/nt_namespace/src/device.cpp b/um/wrappers/special/nt_namespace/src/device.cpp index 97b3886..1697e45 100644 --- a/um/wrappers/special/nt_namespace/src/device.cpp +++ b/um/wrappers/special/nt_namespace/src/device.cpp @@ -12,7 +12,7 @@ #include <string> #include <vector> -namespace libnt_namespace +namespace nt_namespace { namespace { @@ -21,7 +21,7 @@ namespace libnt_namespace } Device::Device() - : libservice::Device(libservice::Device::open(device_path)) + : service::Device(service::Device::open(device_path)) { } std::wstring Device::convert_nt_path(const std::wstring& src) diff --git a/um/wrappers/special/nt_namespace/utils/convert_nt_path.cpp b/um/wrappers/special/nt_namespace/utils/convert_nt_path.cpp index 1954bd1..ec215dc 100644 --- a/um/wrappers/special/nt_namespace/utils/convert_nt_path.cpp +++ b/um/wrappers/special/nt_namespace/utils/convert_nt_path.cpp @@ -12,7 +12,7 @@ int wmain(int argc, wchar_t* argv[]) { try { - libnt_namespace::Device dev; + nt_namespace::Device dev; for (int i = 1; i < argc; ++i) std::wcout << dev.convert_nt_path(argv[i]) << L"\n"; } |