diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-31 02:38:18 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-31 02:38:18 +0200 |
commit | 5dc945eb6a0361ee7a64314f7a2acbf24ea9b565 (patch) | |
tree | 51132c347bda1d8c33945a962f8bc1ac0948a982 /include/Process.hpp | |
parent | 900553e6c0120edaf90fa8d28f34bd82af4c5a58 (diff) |
Start/stop recording if not running/already running
Diffstat (limited to 'include/Process.hpp')
-rw-r--r-- | include/Process.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/Process.hpp b/include/Process.hpp new file mode 100644 index 0000000..a41b9a0 --- /dev/null +++ b/include/Process.hpp @@ -0,0 +1,14 @@ +#pragma once + +namespace gsr { + enum class GsrMode { + Replay, + Record, + Stream, + Unknown + }; + + // Arguments ending with NULL + bool exec_program_daemonized(const char **args); + bool is_gpu_screen_recorder_running(int &gsr_pid, GsrMode &mode); +}
\ No newline at end of file |