summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);