X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fminimal_macosx%2Fmacosx.c;h=49cd6b1806c181f095b1c84c87b2a70fae7f90f2;hb=67daaa16e0ce6cea8878f48b44fb9b19f5e66d12;hp=01165111d13c1628cf12e76246cea4f111bd1138;hpb=27d483e9ef7a451397d7857251c8d67097661f1d;p=vlc diff --git a/modules/gui/minimal_macosx/macosx.c b/modules/gui/minimal_macosx/macosx.c index 01165111d1..49cd6b1806 100644 --- a/modules/gui/minimal_macosx/macosx.c +++ b/modules/gui/minimal_macosx/macosx.c @@ -34,38 +34,39 @@ # include "config.h" #endif -#include +#include #include /***************************************************************************** * External prototypes *****************************************************************************/ -int E_(OpenIntf) ( vlc_object_t * ); -void E_(CloseIntf) ( vlc_object_t * ); +int OpenIntf ( vlc_object_t * ); +void CloseIntf ( vlc_object_t * ); -int E_(OpenVideoGL) ( vlc_object_t * ); -void E_(CloseVideoGL) ( vlc_object_t * ); +int OpenVideoGL ( vlc_object_t * ); +void CloseVideoGL ( vlc_object_t * ); /***************************************************************************** * Module descriptor *****************************************************************************/ -vlc_module_begin(); +vlc_module_begin () /* Minimal interface. see intf.m */ - set_shortname( "Minimal Macosx" ); - add_shortcut( "minimal_macosx" ); - set_description( _("Minimal Mac OS X interface") ); - set_capability( "interface", 50 ); - set_callbacks( E_(OpenIntf), E_(CloseIntf) ); - set_category( CAT_INTERFACE ); - set_subcategory( SUBCAT_INTERFACE_MAIN ); + set_shortname( "Minimal Macosx" ) + add_shortcut( "minimal_macosx" ) + add_shortcut( "miosx" ) + set_description( N_("Minimal Mac OS X interface") ) + set_capability( "interface", 50 ) + set_callbacks( OpenIntf, CloseIntf ) + set_category( CAT_INTERFACE ) + set_subcategory( SUBCAT_INTERFACE_MAIN ) - add_submodule(); + add_submodule () /* Will be loaded even without interface module. see voutgl.m */ - set_description( _("Minimal Mac OS X OpenGL video output (opens a borderless window)") ); - set_capability( "opengl provider", 50 ); - set_category( CAT_VIDEO); - set_subcategory( SUBCAT_VIDEO_VOUT ); - set_callbacks( E_(OpenVideoGL), E_(CloseVideoGL) ); -vlc_module_end(); + set_description( N_("Minimal Mac OS X OpenGL video output (opens a borderless window)") ) + set_capability( "opengl provider", 50 ) + set_category( CAT_VIDEO) + set_subcategory( SUBCAT_VIDEO_VOUT ) + set_callbacks( OpenVideoGL, CloseVideoGL ) +vlc_module_end ()