aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zenutil/include/zenutil/zenserverprocess.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/zenserverprocess.h b/src/zenutil/include/zenutil/zenserverprocess.h
index 75009b045..563970363 100644
--- a/src/zenutil/include/zenutil/zenserverprocess.h
+++ b/src/zenutil/include/zenutil/zenserverprocess.h
@@ -32,6 +32,9 @@ public:
ZenServerEnvironment();
~ZenServerEnvironment();
+ ZenServerEnvironment(const ZenServerEnvironment&) = delete;
+ ZenServerEnvironment& operator=(const ZenServerEnvironment&) = delete;
+
void Initialize(std::filesystem::path ProgramBaseDir);
void InitializeForTest(std::filesystem::path ProgramBaseDir, std::filesystem::path TestBaseDir, std::string_view ServerClass = "");
@@ -66,6 +69,9 @@ struct ZenServerInstance
ZenServerInstance(ZenServerEnvironment& TestEnvironment);
~ZenServerInstance();
+ ZenServerInstance(const ZenServerInstance&) = delete;
+ ZenServerInstance& operator=(const ZenServerInstance&) = delete;
+
int Shutdown();
bool SignalShutdown(std::error_code& OutEc);
uint16_t WaitUntilReady();