# HG changeset patch # User ib # Date 1353589846 0 # Node ID 11408d97de7af6979896597c07144a75d530cd47 # Parent 9eeba22fd78a55d819d3b82fbec49bc9a3d491cb 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. diff -r 9eeba22fd78a -r 11408d97de7a gui/interface.c --- a/gui/interface.c Thu Nov 22 10:28:30 2012 +0000 +++ b/gui/interface.c Thu Nov 22 13:10:46 2012 +0000 @@ -835,7 +835,7 @@ } // 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; diff -r 9eeba22fd78a -r 11408d97de7a gui/interface.h --- a/gui/interface.h Thu Nov 22 10:28:30 2012 +0000 +++ b/gui/interface.h Thu Nov 22 13:10:46 2012 +0000 @@ -150,4 +150,6 @@ void gmp_msg(int mod, int lev, const char *format, ...); //@} +int import_file_into_gui(char *temp, int insert); + #endif /* MPLAYER_GUI_INTERFACE_H */