[MPlayer-cvslog] r35441 - in trunk/gui: interface.c interface.h

ib subversion at mplayerhq.hu
Thu Nov 22 14:10:46 CET 2012


Author: ib
Date: Thu Nov 22 14:10:46 2012
New Revision: 35441

Log:
Make import_file_into_gui() available.

This function allows adding files to the GUI's playlist and can be used
in other places as well.

Modified:
   trunk/gui/interface.c
   trunk/gui/interface.h

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Nov 22 11:28:30 2012	(r35440)
+++ trunk/gui/interface.c	Thu Nov 22 14:10:46 2012	(r35441)
@@ -835,7 +835,7 @@ int gui(int what, void *data)
 }
 
 // This function adds/inserts one file into the gui playlist.
-static int import_file_into_gui(char *temp, int insert)
+int import_file_into_gui(char *temp, int insert)
 {
     char *filename, *pathname;
     plItem *item;

Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h	Thu Nov 22 11:28:30 2012	(r35440)
+++ trunk/gui/interface.h	Thu Nov 22 14:10:46 2012	(r35441)
@@ -150,4 +150,6 @@ void mplayerLoadSubtitle(const char *nam
 void gmp_msg(int mod, int lev, const char *format, ...);
 //@}
 
+int import_file_into_gui(char *temp, int insert);
+
 #endif /* MPLAYER_GUI_INTERFACE_H */


More information about the MPlayer-cvslog mailing list