fix filenames
[AROS.git] / workbench / prefs / locale / prefs.h
blob8b6c1108e38599e2da4d9d97b35bf7eaef55a113
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 #ifndef _PREFS_H_
10 #define _PREFS_H_
12 #include <prefs/locale.h>
13 #include <dos/dos.h>
14 #include <intuition/classusr.h>
16 /*********************************************************************************************/
18 BOOL Prefs_Initialize(VOID);
19 VOID Prefs_Deinitialize(VOID);
20 BOOL Prefs_HandleArgs(STRPTR from, BOOL use, BOOL save);
21 BOOL Prefs_ImportFH(BPTR fh);
22 BOOL Prefs_ExportFH(BPTR fh);
23 BOOL Prefs_SaveCharset(BOOL envarc);
24 BOOL Prefs_Default(VOID);
25 BOOL Prefs_LoadRegion(STRPTR name, struct CountryPrefs *country);
27 /*********************************************************************************************/
29 extern struct LocalePrefs localeprefs;
31 /*********************************************************************************************/
33 struct ListviewEntry
35 struct Node node;
36 char realname[30];
37 char *displayflag;
40 struct RegionEntry
42 struct ListviewEntry lve;
43 struct BitMap *flagbm;
44 WORD flagw;
45 WORD flagh;
46 Object *pic;
47 Object *list_pic;
51 struct LanguageEntry
53 struct ListviewEntry lve;
54 BOOL preferred;
57 #define CHARACTER_SET_LEN 255
59 extern struct List region_list, language_list, pref_language_list;
60 extern struct LocalePrefs localeprefs;
61 extern char character_set[CHARACTER_SET_LEN];
63 #endif /* PREFS_H */