aboutsummaryrefslogtreecommitdiff
path: root/include/Process.hpp
blob: 56d06b8b1011bd610d03122fffdc96d0f9ea2bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <sys/types.h>

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(pid_t &gsr_pid, GsrMode &mode);
}