20 lines
416 B
C++
20 lines
416 B
C++
#ifndef SYSTEM_HPP
|
|
#define SYSTEM_HPP
|
|
|
|
#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"
|
|
|
|
#include <string>
|
|
|
|
extern int announce_thread_pid;
|
|
|
|
void kill_all();
|
|
|
|
void device_check();
|
|
|
|
void announce_loop();
|
|
|
|
void filetime_loop(std::string const& filepath);
|
|
|
|
#endif //SYSTEM_HPP
|