diff gui/interface.h @ 35350:ee265b18d653

Rename import_file_into_gui() add_to_gui_playlist(). This seems to be a more appropriate name. Additionally, use self-explanatory enum constants instead of numeric ones, change the parameter names and a declaration to const, check the parameters and print the debug message only if the item will really be added. (For the sake of consistency, adjust the Win32 code as well.)
author ib
date Thu, 22 Nov 2012 13:57:40 +0000
parents 11408d97de7a
children 02006c5b3b30
line wrap: on
line diff
--- a/gui/interface.h	Thu Nov 22 13:13:29 2012 +0000
+++ b/gui/interface.h	Thu Nov 22 13:57:40 2012 +0000
@@ -150,6 +150,6 @@
 void gmp_msg(int mod, int lev, const char *format, ...);
 //@}
 
-int import_file_into_gui(char *temp, int insert);
+int add_to_gui_playlist(const char *what, int how);
 
 #endif /* MPLAYER_GUI_INTERFACE_H */