- Read a command from the pipe, rather than reading a file with a command in it. - Use a single ocarina script for all commands, rather than several two line scripts. - Change ocarina.bin to point to ocarina instead of ocarina-player for convenience. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
24 lines
338 B
C++
24 lines
338 B
C++
#ifndef LIBSARIA_H
|
|
#define LIBSARIA_H
|
|
|
|
#include <notify.h>
|
|
#include <track.h>
|
|
|
|
namespace libsaria
|
|
{
|
|
struct initdata {
|
|
int argc;
|
|
char **argv;
|
|
string name;
|
|
void (*on_notify)(notify_t, void *);
|
|
};
|
|
|
|
void init(struct initdata *);
|
|
void quit();
|
|
|
|
void play_outside_song(string &);
|
|
void run_cmd(string &);
|
|
}
|
|
|
|
#endif /* LIBSARIA_H */
|