diff options
| author | Liam Mitchell <[email protected]> | 2025-08-22 15:51:32 -0700 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2025-08-22 15:51:32 -0700 |
| commit | 623f5bbd39e24a8a26203c02bafc3800d74d1db0 (patch) | |
| tree | 440f47c23b2d2d9c4afb53b06d732bf5228fcfbe /src | |
| parent | Move ReportServiceStatus to zenutil and remove extraneous logging (diff) | |
| download | zen-623f5bbd39e24a8a26203c02bafc3800d74d1db0.tar.xz zen-623f5bbd39e24a8a26203c02bafc3800d74d1db0.zip | |
Move windows service utilities to zenutil and fix clang-format errors
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenserver/main.cpp | 3 | ||||
| -rw-r--r-- | src/zenutil/include/zenutil/windows/service.h (renamed from src/zenserver/windows/service.h) | 0 | ||||
| -rw-r--r-- | src/zenutil/service.cpp | 1 | ||||
| -rw-r--r-- | src/zenutil/windows/service.cpp (renamed from src/zenserver/windows/service.cpp) | 3 |
4 files changed, 3 insertions, 4 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp index e3c88f8bb..6b22e1a0f 100644 --- a/src/zenserver/main.cpp +++ b/src/zenserver/main.cpp @@ -31,7 +31,7 @@ #if ZEN_PLATFORM_WINDOWS # include <zencore/windows.h> -# include "windows/service.h" +# include <zenutil/windows/service.h> #endif ////////////////////////////////////////////////////////////////////////// @@ -90,7 +90,6 @@ ZenEntryPoint::ZenEntryPoint(ZenServerOptions& ServerOptions) : m_ServerOptions( { } - int ZenEntryPoint::Run() { diff --git a/src/zenserver/windows/service.h b/src/zenutil/include/zenutil/windows/service.h index ca0270a36..ca0270a36 100644 --- a/src/zenserver/windows/service.h +++ b/src/zenutil/include/zenutil/windows/service.h diff --git a/src/zenutil/service.cpp b/src/zenutil/service.cpp index bf2d7d630..e4a9a951e 100644 --- a/src/zenutil/service.cpp +++ b/src/zenutil/service.cpp @@ -10,6 +10,7 @@ #if ZEN_PLATFORM_WINDOWS # include <zencore/windows.h> +# include <zenutil/windows/service.h> #endif #if ZEN_PLATFORM_MAC # include <zencore/filesystem.h> diff --git a/src/zenserver/windows/service.cpp b/src/zenutil/windows/service.cpp index 4be5e6205..b76ed7a66 100644 --- a/src/zenserver/windows/service.cpp +++ b/src/zenutil/windows/service.cpp @@ -1,10 +1,9 @@ // Copyright Epic Games, Inc. All Rights Reserved. -#include "service.h" - #include <zencore/zencore.h> #if ZEN_PLATFORM_WINDOWS +# include <zenutil/windows/service.h> # include <zencore/except.h> # include <zencore/thread.h> |