aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-17 23:16:34 +0200
committerStefan Boberg <[email protected]>2021-09-17 23:16:34 +0200
commit91c305d98ab2a0482114c2d52d23ef787f08190d (patch)
treeb2a33fc86532424b1efa3fb28a48796e4aa76b78 /zencore/include
parentIsProcessRunning now throws if it fails the function fails to get a handle to... (diff)
downloadzen-91c305d98ab2a0482114c2d52d23ef787f08190d.tar.xz
zen-91c305d98ab2a0482114c2d52d23ef787f08190d.zip
Added IsInteractiveSession() query to help identify if the process is running as a daemon or as an interactive process
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/zencore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 4f9dc6322..310f6c4ed 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -188,6 +188,8 @@ ZENCORE_API bool IsPointerToStack(const void* ptr); // Query if pointer is with
ZENCORE_API bool IsApplicationExitRequested();
ZENCORE_API void RequestApplicationExit(int ExitCode);
ZENCORE_API bool IsDebuggerPresent();
+ZENCORE_API bool IsInteractiveSession();
+
ZENCORE_API void zencore_forcelinktests();
} // namespace zen