[xiph-commits] r2898 - liboggplay/trunk/plugin

shans at svn.annodex.net shans at svn.annodex.net
Tue Jun 12 21:53:05 PDT 2007


Author: shans
Date: 2007-06-12 21:53:04 -0700 (Tue, 12 Jun 2007)
New Revision: 2898

Modified:
   liboggplay/trunk/plugin/plugin.h
Log:
Added member variable for callback object



Modified: liboggplay/trunk/plugin/plugin.h
===================================================================
--- liboggplay/trunk/plugin/plugin.h	2007-06-13 04:52:43 UTC (rev 2897)
+++ liboggplay/trunk/plugin/plugin.h	2007-06-13 04:53:04 UTC (rev 2898)
@@ -82,13 +82,14 @@
   char* getCurrentMovie();
   long getPlayPosition();
   short getCurrentState();
-  void setCMMLCallback(const char * callback);
-  char* retrieveAllAnnotations();
-  void setVolume(float volume);
-  float getVolume();
-  void setPlaylistCallback(const char *callback);
-  char* getMovieAt(int position);
-  void setMovieAt(int position, const char *url);
+  void setCallbackObject(nsILibOggCallback *cbObj);
+  void onCMMLData(char **cmml_data, int cmml_size);
+  char* retrieveAllAnnotations();
+  void setVolume(float volume);
+  float getVolume();
+  void setPlaylistCallback(const char *callback);
+  char* getMovieAt(int position);
+  void setMovieAt(int position, const char *url);
   void appendMovie(const char *url); 
 
   nsScriptablePeer* getScriptablePeer();
@@ -101,8 +102,8 @@
   nsScriptablePeer  * mScriptablePeer;
   void              * mOggHandle;
   void              * mGuiHandle;
-  void              * mToolsHandle;
   char              * mSource;
+  nsILibOggCallback * mCallback;
 
 #if defined(XP_WIN)
   WNDPROC             lpOldProc;  



More information about the commits mailing list