aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-01-10 15:52:34 +0100
committerDan Engelbrecht <[email protected]>2025-01-10 15:52:34 +0100
commit7a73a49de6ddbc6712554c5c9b2863dd8e7de0f2 (patch)
treeb317ca99590a087724717e191ee3e2bc05801f75 /src/zenutil/include
parentcleanups (diff)
downloadzen-7a73a49de6ddbc6712554c5c9b2863dd8e7de0f2.tar.xz
zen-7a73a49de6ddbc6712554c5c9b2863dd8e7de0f2.zip
displayname and description are windows-only properties
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/service.h b/src/zenutil/include/zenutil/service.h
index 53c3483aa..1e96031f7 100644
--- a/src/zenutil/include/zenutil/service.h
+++ b/src/zenutil/include/zenutil/service.h
@@ -2,6 +2,8 @@
#pragma once
+#include <zenbase/zenbase.h>
+
#include <filesystem>
#include <optional>
@@ -18,8 +20,10 @@ struct ServiceSpec
{
std::filesystem::path ExecutablePath;
std::string CommandLineOptions;
+#if ZEN_PLATFORM_WINDOWS
std::string DisplayName;
std::string Description;
+#endif // ZEN_PLATFORM_WINDOWS
};
enum class ServiceStatus