Execute commands defined in apps.json
This commit is contained in:
parent
20f5f90588
commit
b7eab0883c
9 changed files with 194 additions and 105 deletions
|
|
@ -34,7 +34,7 @@ struct gamepad_state_t {
|
|||
|
||||
std::string get_local_ip();
|
||||
|
||||
void interrupt_process(std::uint64_t handle);
|
||||
void terminate_process(std::uint64_t handle);
|
||||
|
||||
mic_t microphone();
|
||||
audio_t audio(mic_t &mic, std::uint32_t sample_size);
|
||||
|
|
|
|||
|
|
@ -84,8 +84,8 @@ std::string get_local_ip(int family) {
|
|||
|
||||
std::string get_local_ip() { return get_local_ip(AF_INET); }
|
||||
|
||||
void interrupt_process(std::uint64_t handle) {
|
||||
kill((pid_t)handle, SIGINT);
|
||||
void terminate_process(std::uint64_t handle) {
|
||||
kill((pid_t)handle, SIGTERM);
|
||||
}
|
||||
|
||||
struct display_attr_t {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue