zmidimap/include/system.hpp
zawz e7c1384079 +Added no-log option
*Safer kill method
2019-08-06 17:49:58 +02:00

17 lines
352 B
C++

#ifndef SYSTEM_HPP
#define SYSTEM_HPP
#include "popen.h"
#define ANNOUNCE_COMMAND "aseqdump -p System:1"
#define LIST_COMMAND "aseqdump -l | tail -n +2 | cut -c10-42 | tr -s ' '"
#define LIST_EXTENDED_COMMAND "aseqdump -l | tail -n +2 | cut -c-42"
extern pid_t announce_thread_pid;
void device_check();
void announce_loop();
#endif //SYSTEM_HPP