From 152197adf5b060602ecdd99e6f272c4e8b2b410e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 6 Dec 2020 22:59:19 +0100 Subject: Add get_process_id() --- src/lib/cross.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/cross.h') diff --git a/src/lib/cross.h b/src/lib/cross.h index d8f0e56a5..cc066488a 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -67,6 +67,9 @@ extern bool running_32_on_64 (); extern void unprivileged (); extern boost::filesystem::path config_path (); extern boost::filesystem::path directory_containing_executable (); +namespace dcpomatic { + std::string get_process_id (); +} class PrivilegeEscalator { -- cgit v1.2.3