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

shans at svn.annodex.net shans at svn.annodex.net
Tue Jun 12 21:56:23 PDT 2007


Author: shans
Date: 2007-06-12 21:56:21 -0700 (Tue, 12 Jun 2007)
New Revision: 2906

Modified:
   liboggplay/trunk/plugin/nsILibOggPlugin.idl
Log:
Added nsILibOggCallback javascript object interface



Modified: liboggplay/trunk/plugin/nsILibOggPlugin.idl
===================================================================
--- liboggplay/trunk/plugin/nsILibOggPlugin.idl	2007-06-13 04:55:58 UTC (rev 2905)
+++ liboggplay/trunk/plugin/nsILibOggPlugin.idl	2007-06-13 04:56:21 UTC (rev 2906)
@@ -40,6 +40,11 @@
 
 #include "nsISupports.idl"
 
+[scriptable, uuid(482e1890-1fe5-11d5-9cf8-0260b0fbd8ad)]
+interface nsILibOggCallback : nsISupports {
+  void cmmlCallback(in string cmmlData);
+};
+
 [scriptable, uuid(482e1890-1fe5-11d5-9cf8-0260b0fbd8ac)]
 interface nsILibOggPlugin : nsISupports {
   readonly attribute string version;
@@ -52,7 +57,7 @@
   void restart();
   short getCurrentState();
   /* CMML related */
-  void registerCMMLCallback(in string cmmlCallback);
+  void registerCallbackObject(in nsILibOggCallback callback);
   void retrieveAnnotations(out string xmlData);
   /* audio related */
   void setVolume(in float volume);



More information about the commits mailing list