Recognizes if input is ogg or not.
[xiph.git] / oggds / LocStrings.h
blob737351fff1a50485f44a0f6d8a7f7b3c64836028
1 /*******************************************************************************
2 * *
3 * This file is part of the Ogg Vorbis DirectShow filter collection *
4 * *
5 * Copyright (c) 2001, Tobias Waldvogel *
6 * All rights reserved. *
7 * *
8 * Redistribution and use in source and binary forms, with or without *
9 * modification, are permitted provided that the following conditions are met: *
10 * *
11 * - Redistributions of source code must retain the above copyright notice, *
12 * this list of conditions and the following disclaimer. *
13 * *
14 * - Redistributions in binary form must reproduce the above copyright notice, *
15 * this list of conditions and the following disclaimer in the documentation *
16 * and/or other materials provided with the distribution. *
17 * *
18 * - The names of the contributors may not be used to endorse or promote *
19 * products derived from this software without specific prior written *
20 * permission. *
21 * *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" *
23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE *
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE *
26 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR *
27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
32 * POSSIBILITY OF SUCH DAMAGE. *
33 * *
34 *******************************************************************************/
35 typedef struct
37 __int16 langid;
38 char** strings;
39 } LOCALE_STRING_ENTRY;
41 char* GetLocString(int sid);
43 // LangIDs
44 #define LANGID_EN 0x0009
45 #define LANGID_DE 0x0007
46 #define LANGID_ES 0x000a
48 // StringIDs
49 #define sidProperties 0
50 #define sidTrayToolTip 1
51 #define sidTypeVideo 2
52 #define sidTypeAudio 3
53 #define sidTypeSubtitle 4
54 #define sidTypeChapter 5
55 #define sidTypeOther 6
57 static const char* strings_en[] =
59 "Properties",
60 "OggDSF",
61 "Video",
62 "Sound",
63 "Subtitle",
64 "Chapter",
65 "Other"
68 static const char* strings_de[] =
70 "Eigenschaften",
71 "OggDSF",
72 "Video",
73 "Ton",
74 "Untertitel",
75 "Kapite",
76 "Andere Kanäle"
79 static const char* strings_es[] =
81 "Propiedades",
82 "OggDSF",
83 "Imagen",
84 "Sonido",
85 "Subtitulos",
86 "Capitulos",
87 "Otros"
90 static const LOCALE_STRING_ENTRY locale_strings[] =
92 { LANGID_EN, (char**)strings_en },
93 { LANGID_DE, (char**)strings_de },
94 { LANGID_ES, (char**)strings_es }