summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaromil <jaromil@949728d9-16ea-0310-a75c-cbdf8430a4b8>2005-12-16 18:11:51 (GMT)
committer jaromil <jaromil@949728d9-16ea-0310-a75c-cbdf8430a4b8>2005-12-16 18:11:51 (GMT)
commit39767b2c6388bf0e25fd854db610f3b1ffa1b7b8 (patch)
treef463595bdaa4740875eb360a8955112ebd689265
parenta36e5488f98b8df5b095ff2de57a5e920b2a53c1 (diff)
header for xmlrpc daemon added (forgot that)
git-svn-id: svn://dyne.org/montevideo/ivysync@54 949728d9-16ea-0310-a75c-cbdf8430a4b8
-rw-r--r--daemon.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/daemon.h b/daemon.h
new file mode 100644
index 0000000..c49e9ef
--- /dev/null
+++ b/daemon.h
@@ -0,0 +1,33 @@
+#ifndef __DAEMON_H__
+#define __DAEMON_H__
+
+#include <decoder.h>
+#include <utils.h>
+#include <fakiir.h>
+
+class Daemon {
+ public:
+ Daemon();
+ ~Daemon();
+
+ bool init(vector<Decoder*> *devices);
+ void launch();
+ void quit();
+
+
+ /// fakiir external api
+ int get_num_decoders();
+
+ int play(int dec, char *path);
+ int stop();
+
+ float get_position(int dec);
+ int set_position(float pos);
+ ///
+
+
+ private:
+ vector<Decoder*> *decoders;
+};
+
+#endif