ocarina/include/libsaria.h
Bryan Schumaker 8a08967a48 Simplify remote commands
- 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>
2012-09-13 22:47:31 -04:00

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 */