aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/service/include
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/service/include
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/service/include/service/device.hpp8
-rw-r--r--um/service/include/service/handle.hpp8
-rw-r--r--um/service/include/service/service.hpp8
-rw-r--r--um/service/include/service/service_handle.hpp8
-rw-r--r--um/service/include/service/service_manager.hpp8
-rw-r--r--um/service/include/service/singleton.hpp2
-rw-r--r--um/service/include/service/windows_error.hpp4
7 files changed, 23 insertions, 23 deletions
diff --git a/um/service/include/service/device.hpp b/um/service/include/service/device.hpp
index f61c59a..8ea2f90 100644
--- a/um/service/include/service/device.hpp
+++ b/um/service/include/service/device.hpp
@@ -15,7 +15,7 @@
#include <string>
#include <utility>
-namespace libservice
+namespace service
{
class Device
{
@@ -72,9 +72,9 @@ namespace libservice
namespace std
{
template <>
- inline void swap<libservice::Device>(
- libservice::Device& a,
- libservice::Device& b) LIBSERVICE_NOEXCEPT
+ inline void swap<service::Device>(
+ service::Device& a,
+ service::Device& b) LIBSERVICE_NOEXCEPT
{
a.swap(b);
}
diff --git a/um/service/include/service/handle.hpp b/um/service/include/service/handle.hpp
index abd1d5a..916c365 100644
--- a/um/service/include/service/handle.hpp
+++ b/um/service/include/service/handle.hpp
@@ -13,7 +13,7 @@
#include <type_traits>
#include <utility>
-namespace libservice
+namespace service
{
class Handle
{
@@ -74,9 +74,9 @@ namespace libservice
namespace std
{
template <>
- inline void swap<libservice::Handle>(
- libservice::Handle& a,
- libservice::Handle& b) LIBSERVICE_NOEXCEPT
+ inline void swap<service::Handle>(
+ service::Handle& a,
+ service::Handle& b) LIBSERVICE_NOEXCEPT
{
a.swap(b);
}
diff --git a/um/service/include/service/service.hpp b/um/service/include/service/service.hpp
index ca01ab4..983817b 100644
--- a/um/service/include/service/service.hpp
+++ b/um/service/include/service/service.hpp
@@ -12,7 +12,7 @@
#include <string>
#include <utility>
-namespace libservice
+namespace service
{
class Service
{
@@ -70,9 +70,9 @@ namespace libservice
namespace std
{
template <>
- inline void swap<libservice::Service>(
- libservice::Service& a,
- libservice::Service& b) LIBSERVICE_NOEXCEPT
+ inline void swap<service::Service>(
+ service::Service& a,
+ service::Service& b) LIBSERVICE_NOEXCEPT
{
a.swap(b);
}
diff --git a/um/service/include/service/service_handle.hpp b/um/service/include/service/service_handle.hpp
index 52e37f4..659f895 100644
--- a/um/service/include/service/service_handle.hpp
+++ b/um/service/include/service/service_handle.hpp
@@ -12,7 +12,7 @@
#include <memory>
#include <utility>
-namespace libservice
+namespace service
{
class ServiceHandle
{
@@ -73,9 +73,9 @@ namespace libservice
namespace std
{
template <>
- inline void swap<libservice::ServiceHandle>(
- libservice::ServiceHandle& a,
- libservice::ServiceHandle& b) LIBSERVICE_NOEXCEPT
+ inline void swap<service::ServiceHandle>(
+ service::ServiceHandle& a,
+ service::ServiceHandle& b) LIBSERVICE_NOEXCEPT
{
a.swap(b);
}
diff --git a/um/service/include/service/service_manager.hpp b/um/service/include/service/service_manager.hpp
index 3d4fe3a..f33817e 100644
--- a/um/service/include/service/service_manager.hpp
+++ b/um/service/include/service/service_manager.hpp
@@ -12,7 +12,7 @@
#include <utility>
-namespace libservice
+namespace service
{
class ServiceManager
{
@@ -60,9 +60,9 @@ namespace libservice
namespace std
{
template <>
- inline void swap<libservice::ServiceManager>(
- libservice::ServiceManager& a,
- libservice::ServiceManager& b) LIBSERVICE_NOEXCEPT
+ inline void swap<service::ServiceManager>(
+ service::ServiceManager& a,
+ service::ServiceManager& b) LIBSERVICE_NOEXCEPT
{
a.swap(b);
}
diff --git a/um/service/include/service/singleton.hpp b/um/service/include/service/singleton.hpp
index 1c7b1a7..c76d54b 100644
--- a/um/service/include/service/singleton.hpp
+++ b/um/service/include/service/singleton.hpp
@@ -7,7 +7,7 @@
#include <mutex>
-namespace libservice
+namespace service
{
template <typename DerivedT>
class Singleton
diff --git a/um/service/include/service/windows_error.hpp b/um/service/include/service/windows_error.hpp
index 13d7f47..c96dcfc 100644
--- a/um/service/include/service/windows_error.hpp
+++ b/um/service/include/service/windows_error.hpp
@@ -12,7 +12,7 @@
#include <string>
#include <system_error>
-namespace libservice
+namespace service
{
class WindowsErrorCategory
: public std::error_category
@@ -48,7 +48,7 @@ namespace libservice
"Error in function '" LIBSERVICE_FUNCTION_NAME "' at file '" LIBSERVICE_FILE_PATH "', line " LIBSERVICE_LINE_NUMBER_STRING
#elif defined(__GNUC__)
#define LIBSERVICE_ERROR_PREFIX \
- libservice::error::build_what(LIBSERVICE_FUNCTION_NAME, LIBSERVICE_FILE_PATH, LIBSERVICE_LINE_NUMBER)
+ service::error::build_what(LIBSERVICE_FUNCTION_NAME, LIBSERVICE_FILE_PATH, LIBSERVICE_LINE_NUMBER)
#else
#define LIBSERVICE_ERROR_PREFIX "Error"
#endif