*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <string.h> /* strdup() */
#include <stdlib.h> /* free() */
const char * ppsz_all[] =
{
"Catalan", "ca",
+ "Czech", "cs",
"Danish", "da",
"German", "de",
"British", "en_GB",
"English", "en",
"Spanish", "es",
"French", "fr",
+ "Galician", "gl",
+ "Hebrew", "he",
+ "Hungarian", "hu",
"Italian", "it",
"Japanese", "ja",
"Korean", "ko",
- "Georgian", "ka",
+ "Georgian", "ka",
+ "Malay", "ms",
"Dutch", "nl",
- "Brazillian Portuguese", "pt_BR",
+ "Occitan", "oc",
+ "Brazilian Portuguese", "pt_BR",
"Romanian", "ro",
"Russian", "ru",
+ "Slovak", "sk",
+ "Slovenian", "sl",
+ "Swedish", "sv",
"Turkish", "tr",
- "Simplified Chinese", "zh_CN",
+ "Simplified Chinese", "zh_CN",
"Chinese Traditional", "zh_TW",
NULL
};
return 0;
}
-void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
{
char i_dummy;
char *p_char, *p_oldchar = &i_dummy;
/* Get the full program path and name */
- p_char = p_this->p_libvlc->psz_vlcpath = strdup( ppsz_argv[ 0 ] );
+ p_char = p_this->p_libvlc_global->psz_vlcpath = strdup( ppsz_argv[ 0 ] );
/* Remove trailing program name */
for( ; *p_char ; )
[o_pool release];
}
- vlc_mutex_init( p_this, &p_this->p_libvlc->iconv_lock );
- p_this->p_libvlc->iconv_macosx = vlc_iconv_open( "UTF-8", "UTF-8-MAC" );
+ vlc_mutex_init( p_this, &p_this->p_libvlc_global->iconv_lock );
+ p_this->p_libvlc_global->iconv_macosx = vlc_iconv_open( "UTF-8", "UTF-8-MAC" );
}
/*****************************************************************************
* system_Configure: check for system specific configuration options.
*****************************************************************************/
-void system_Configure( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
{
}
/*****************************************************************************
* system_End: free the program path.
*****************************************************************************/
-void system_End( vlc_t *p_this )
+void system_End( libvlc_int_t *p_this )
{
- free( p_this->p_libvlc->psz_vlcpath );
+ free( p_this->p_libvlc_global->psz_vlcpath );
- if ( p_this->p_libvlc->iconv_macosx != (vlc_iconv_t)-1 )
- vlc_iconv_close( p_this->p_libvlc->iconv_macosx );
- vlc_mutex_destroy( &p_this->p_libvlc->iconv_lock );
+ if ( p_this->p_libvlc_global->iconv_macosx != (vlc_iconv_t)-1 )
+ vlc_iconv_close( p_this->p_libvlc_global->iconv_macosx );
+ vlc_mutex_destroy( &p_this->p_libvlc_global->iconv_lock );
}