summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2010-01-16 20:55:05 +0000
committerphintuka <phintuka>2010-01-16 20:55:05 +0000
commitdcade9370b1949785179f53be45c34241d9c9e4a (patch)
tree3f29b23cc98f7d22c5e3c88ba8043acc0a44838e
parent06181a8e6280f369fab2b6d0244e3fc5f4de6f32 (diff)
downloadxineliboutput-dcade9370b1949785179f53be45c34241d9c9e4a.tar.gz
xineliboutput-dcade9370b1949785179f53be45c34241d9c9e4a.tar.bz2
Added Sync(): wait until all pending control messages have been processed by the client
-rw-r--r--frontend.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend.h b/frontend.h
index 9d3c2e8b..9c793f24 100644
--- a/frontend.h
+++ b/frontend.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.h,v 1.32 2010-01-16 20:11:19 phintuka Exp $
+ * $Id: frontend.h,v 1.33 2010-01-16 20:55:05 phintuka Exp $
*
*/
@@ -52,6 +52,9 @@ class cXinelibThread : public cThread, public cListObject
virtual void TrickSpeed(int Speed, bool Backwards);
+ // Sync(): wait until all pending control messages have been processed by the client
+ virtual void Sync(void) { return Xine_Control("SYNC"); };
+
protected:
int Xine_Control(const char *cmd, const char *p1);
int Xine_Control(const char *cmd, int p1);