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

tahn at svn.annodex.net tahn at svn.annodex.net
Thu Jun 7 22:34:17 PDT 2007


Author: tahn
Date: 2007-06-07 22:34:16 -0700 (Thu, 07 Jun 2007)
New Revision: 2875

Modified:
   liboggplay/trunk/plugin/plugin_gui_mac.c
Log:
Updated initialise_gui interface.


Modified: liboggplay/trunk/plugin/plugin_gui_mac.c
===================================================================
--- liboggplay/trunk/plugin/plugin_gui_mac.c	2007-06-08 05:20:33 UTC (rev 2874)
+++ liboggplay/trunk/plugin/plugin_gui_mac.c	2007-06-08 05:34:16 UTC (rev 2875)
@@ -71,6 +71,7 @@
   semaphore               oggplay_replace_sem;
   PluginStateChange       playback_state_change;
   semaphore               playback_sem;
+  void                  * tools_handle;
 } PluginWindowInfo;
 
 typedef struct {
@@ -551,7 +552,7 @@
  */
 
 void *
-initialise_gui(NPWindow *np_window, void *oggplay_handle) {
+initialise_gui(NPWindow *np_window, void *oggplay_handle, void *tools_handle) {
 
   PluginWindowInfo  * info;
 
@@ -570,6 +571,7 @@
   info->oggplay_handle        = oggplay_handle;
   info->new_oggplay_handle    = NULL;
   info->playback_state_change = NO_CHANGE;
+  info->tools_handle          = tools_handle;
 
   /*
    * Create semaphores to coordinate window resizing, replacement of the



More information about the commits mailing list