aboutsummaryrefslogtreecommitdiff
path: root/include/Process.hpp
blob: a41b9a07159263b785458f59320cf972e951a7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}