Commit c47a2922 authored by Christophe Mutricy's avatar Christophe Mutricy

Export a function to get the install dir of VLC from the plugins

parent 1782c4e4
......@@ -35,7 +35,7 @@
#elif defined( __APPLE__ )
/* Nothing at the moment, create darwin_specific.h when needed */
#elif defined( WIN32 ) || defined( UNDER_CE )
/* Nothing at the moment, create win32_specific.h when needed */
VLC_EXPORT( const char * , system_VLCPath, (void));
#else
# undef _NEED_OS_SPECIFIC_H
#endif
......
......@@ -368,3 +368,12 @@ void system_End( libvlc_int_t *p_this )
WSACleanup();
}
/*****************************************************************************
* system_VLCPath
* **************************************************************************/
const char* system_VLCPath( void )
{
libvlc_global_data_t* libvlc_global = vlc_global();
return libvlc_global->psz_vlcpath;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment