aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/service
diff options
context:
space:
mode:
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
-rw-r--r--um/service/src/device.cpp2
-rw-r--r--um/service/src/service.cpp2
-rw-r--r--um/service/src/service_manager.cpp2
-rw-r--r--um/service/src/windows_error.cpp2
-rw-r--r--um/service/test/windows_error.cpp2
-rw-r--r--um/service/utils/install_service.cpp2
-rw-r--r--um/service/utils/start_service.cpp2
-rw-r--r--um/service/utils/stop_service.cpp2
-rw-r--r--um/service/utils/uninstall_service.cpp2
16 files changed, 32 insertions, 32 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
diff --git a/um/service/src/device.cpp b/um/service/src/device.cpp
index a6333c7..003c19d 100644
--- a/um/service/src/device.cpp
+++ b/um/service/src/device.cpp
@@ -14,7 +14,7 @@
#include <string>
#include <system_error>
-namespace libservice
+namespace service
{
namespace
{
diff --git a/um/service/src/service.cpp b/um/service/src/service.cpp
index f45436a..26cf35d 100644
--- a/um/service/src/service.cpp
+++ b/um/service/src/service.cpp
@@ -10,7 +10,7 @@
#include <string>
#include <system_error>
-namespace libservice
+namespace service
{
namespace
{
diff --git a/um/service/src/service_manager.cpp b/um/service/src/service_manager.cpp
index 96e0f75..58377ed 100644
--- a/um/service/src/service_manager.cpp
+++ b/um/service/src/service_manager.cpp
@@ -9,7 +9,7 @@
#include <system_error>
-namespace libservice
+namespace service
{
ServiceManager ServiceManager::open()
{
diff --git a/um/service/src/windows_error.cpp b/um/service/src/windows_error.cpp
index 90ebd7c..5b358ca 100644
--- a/um/service/src/windows_error.cpp
+++ b/um/service/src/windows_error.cpp
@@ -9,7 +9,7 @@
#include <string>
-namespace libservice
+namespace service
{
std::string WindowsErrorCategory::message(int code) const
{
diff --git a/um/service/test/windows_error.cpp b/um/service/test/windows_error.cpp
index 019939b..5785e99 100644
--- a/um/service/test/windows_error.cpp
+++ b/um/service/test/windows_error.cpp
@@ -17,7 +17,7 @@ int main()
{
throw std::system_error(
ERROR_FILE_NOT_FOUND,
- libservice::WindowsErrorCategory::get(),
+ service::WindowsErrorCategory::get(),
LIBSERVICE_ERROR_PREFIX);
}
catch (const std::exception& e)
diff --git a/um/service/utils/install_service.cpp b/um/service/utils/install_service.cpp
index aed0ae1..c452e0d 100644
--- a/um/service/utils/install_service.cpp
+++ b/um/service/utils/install_service.cpp
@@ -18,7 +18,7 @@ int main(int argc, char* argv[])
try
{
- libservice::Service::install(libservice::ServiceManager::open(), argv[1], argv[2]);
+ service::Service::install(service::ServiceManager::open(), argv[1], argv[2]);
}
catch (const std::exception& e)
{
diff --git a/um/service/utils/start_service.cpp b/um/service/utils/start_service.cpp
index 7f23fd4..79c2d24 100644
--- a/um/service/utils/start_service.cpp
+++ b/um/service/utils/start_service.cpp
@@ -18,7 +18,7 @@ int main(int argc, char* argv[])
try
{
- libservice::Service::open(libservice::ServiceManager::open(), argv[1]).start();
+ service::Service::open(service::ServiceManager::open(), argv[1]).start();
}
catch (const std::exception& e)
{
diff --git a/um/service/utils/stop_service.cpp b/um/service/utils/stop_service.cpp
index 0f11878..d9ccde9 100644
--- a/um/service/utils/stop_service.cpp
+++ b/um/service/utils/stop_service.cpp
@@ -18,7 +18,7 @@ int main(int argc, char* argv[])
try
{
- libservice::Service::open(libservice::ServiceManager::open(), argv[1]).stop();
+ service::Service::open(service::ServiceManager::open(), argv[1]).stop();
}
catch (const std::exception& e)
{
diff --git a/um/service/utils/uninstall_service.cpp b/um/service/utils/uninstall_service.cpp
index 58a879c..aa5af85 100644
--- a/um/service/utils/uninstall_service.cpp
+++ b/um/service/utils/uninstall_service.cpp
@@ -18,7 +18,7 @@ int main(int argc, char* argv[])
try
{
- libservice::Service::open(libservice::ServiceManager::open(), argv[1]).uninstall();
+ service::Service::open(service::ServiceManager::open(), argv[1]).uninstall();
}
catch (const std::exception& e)
{