From c16bb75c8890bbeb7d375beb110224ec0f14b115 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 10 Dec 2022 19:39:08 +0100 Subject: Matrix: re-add sync from latest cache --- plugins/utils/UniqueProcess.hpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/utils/UniqueProcess.hpp (limited to 'plugins/utils') diff --git a/plugins/utils/UniqueProcess.hpp b/plugins/utils/UniqueProcess.hpp new file mode 100644 index 0000000..f85704f --- /dev/null +++ b/plugins/utils/UniqueProcess.hpp @@ -0,0 +1,7 @@ +#pragma once + +namespace QuickMedia { + bool is_quickmedia_instance_already_running(const char *sock_file_dir, const char *plugin_name); + bool set_quickmedia_instance_unique(const char *sock_file_dir, const char *plugin_name); + void remove_quickmedia_instance_lock(const char *sock_file_dir, const char *plugin_name); +} \ No newline at end of file -- cgit v1.2.3