Hint added.
[AROS.git] / workbench / prefs / locale / prefs.h
blobbe465033e2ce0a87097798f0eefd62a56a9293f7
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;
56 #define CHARACTER_SET_LEN 255
58 extern struct List region_list, language_list, pref_language_list;
59 extern struct LocalePrefs localeprefs;
60 extern char character_set[CHARACTER_SET_LEN];
62 #endif /* PREFS_H */