diff options
-rw-r--r-- | frontend.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |