~ubuntu-branches/debian/wheezy/vlc/wheezy

« back to all changes in this revision

Viewing changes to include/iso_lang.h

Tags: upstream-0.7.2.final
Import upstream version 0.7.2.final

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * iso_lang.h: function to decode language code (in dvd or a52 for instance).
3
3
 *****************************************************************************
4
4
 * Copyright (C) 1998-2001 VideoLAN
5
 
 * $Id: iso_lang.h,v 1.1 2001/11/07 17:37:16 stef Exp $
 
5
 * $Id: iso_lang.h 6961 2004-03-05 17:34:23Z sam $
6
6
 *
7
7
 * Author: St�phane Borel <stef@via.ecp.fr>
 
8
 *         Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
8
9
 *
9
10
 * This program is free software; you can redistribute it and/or modify
10
11
 * it under the terms of the GNU General Public License as published by
11
12
 * the Free Software Foundation; either version 2 of the License, or
12
13
 * (at your option) any later version.
13
 
 * 
 
14
 *
14
15
 * This program is distributed in the hope that it will be useful,
15
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
22
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22
23
 *****************************************************************************/
23
24
 
24
 
char * DecodeLanguage( u16 );
 
25
struct iso639_lang_t
 
26
{
 
27
    char * psz_eng_name;        /* Description in English */
 
28
    char * psz_native_name;     /* Description in native language */
 
29
    char * psz_iso639_1;        /* ISO-639-1 (2 characters) code */
 
30
    char * psz_iso639_2T;       /* ISO-639-2/T (3 characters) English code */
 
31
    char * psz_iso639_2B;       /* ISO-639-2/B (3 characters) native code */
 
32
};
 
33
 
 
34
#if defined( __cplusplus )
 
35
extern "C" {
 
36
#endif
 
37
VLC_EXPORT( const iso639_lang_t *, GetLang_1, ( const char * ) );
 
38
VLC_EXPORT( const iso639_lang_t *, GetLang_2T, ( const char * ) );
 
39
VLC_EXPORT( const iso639_lang_t *, GetLang_2B, ( const char * ) );
 
40
VLC_EXPORT( const char *, DecodeLanguage, ( uint16_t ) );
 
41
#if defined( __cplusplus )
 
42
}
 
43
#endif
 
44