summaryrefslogtreecommitdiffstats
path: root/xmlrpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmlrpc.h')
-rw-r--r--xmlrpc.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/xmlrpc.h b/xmlrpc.h
index c604e10..0dfab27 100644
--- a/xmlrpc.h
+++ b/xmlrpc.h
@@ -136,6 +136,18 @@ public:
};
+class GetOffset : public XmlRpcServerMethod, IvySyncPublicMethod {
+ public:
+
+ GetOffset(XmlRpcServer* srv, Linklist *decoders);
+
+ ~GetOffset() { };
+
+ void execute(XmlRpcValue &params, XmlRpcValue &result);
+
+ std::string help() {
+ return std::string("Return position of channel in byte offset"); }
+};
class SetPos : public XmlRpcServerMethod, IvySyncPublicMethod {
public:
@@ -151,6 +163,21 @@ class SetPos : public XmlRpcServerMethod, IvySyncPublicMethod {
};
+
+class SetOffset : public XmlRpcServerMethod, IvySyncPublicMethod {
+ public:
+
+ SetOffset(XmlRpcServer* srv, Linklist *decoders);
+
+ ~SetOffset() { };
+
+ void execute(XmlRpcValue &params, XmlRpcValue &result);
+
+ std::string help() {
+ return std::string("Skip channel to position in byte offset"); }
+
+};
+
class Open : public XmlRpcServerMethod, IvySyncPublicMethod {
public: