Updated German translation
[dasher.git] / Src / Common / AppSettingsData.h
blob5beddc2dc03ecad0426f3ab9e7c348b1ba4e517c
1 #include "AppSettingsHeader.h"
2 #include "../DasherCore/Parameters.h"
4 // This file is an include file purely for the purposes of
5 // cross-platform consistency. IT WILL NOT LINK IF INCLUDED IN MORE
6 // THAN ONE PLACE! You probably want to obtain values via the
7 // application settings object instead.
9 // The following tables contain details of the application specific
10 // settings. Fields are:
12 // Key: See corresponding enum in AppSettingsHeader.h - entries *must*
13 // be in the same order as in the enum
14 //
15 // Registry Name: Short text, without spaces. Used as the registry key
16 // and for other 'machine readable' purposes. Please make the name
17 // indicative of the purpose of the setting.
19 // Persistence: Whether this should be persistent or set at the begining of each setting.
21 // Default value: Hopefully pretty obvious
23 // Human-readable Name: Used for help text etc. Please make sure this
24 // is useful
26 Dasher::Settings::bp_table app_boolparamtable[] = {
27 { APP_BP_TIME_STAMP, "TimeStampNewFiles", Persistence::PERSISTENT, true, "TimeStampNewFiles" },
28 { APP_BP_CONFIRM_UNSAVED, "ConfirmUnsavedFiles", Persistence::PERSISTENT, true, "ConfirmUnsavedFiles" },
29 {APP_BP_SHOW_TOOLBAR, "ViewToolbar", Persistence::PERSISTENT, true, "ViewToolbar"},
30 #ifdef WITH_MAEMO
31 { APP_BP_SHOW_STATUSBAR, "ViewStatusbar", Persistence::PERSISTENT, false, "ViewStatusbar" },
32 #else
33 { APP_BP_SHOW_STATUSBAR, "ViewStatusbar", Persistence::PERSISTENT, true, "ViewStatusbar" },
34 #endif
35 { APP_BP_MIRROR_LAYOUT, "MirrorLayout", Persistence::PERSISTENT, false, "MirrorLayout" },
36 { APP_BP_FULL_SCREEN, "FullScreen", Persistence::PERSISTENT, false, "FullScreen" },
39 Dasher::Settings::lp_table app_longparamtable[] = {
40 {APP_LP_FILE_ENCODING, "FileEncodingFormat", Persistence::PERSISTENT, -1, "FileEncodingFormat"},
41 {APP_LP_EDIT_FONT_SIZE, "EditFontSize", Persistence::PERSISTENT, 0, "EditFontSize"},
42 {APP_LP_EDIT_SIZE, "EditSize", Persistence::PERSISTENT, 75, "The size of the edit window"},
43 {APP_LP_SCREEN_WIDTH, "ScreenWidth", Persistence::PERSISTENT, 400, "ScreenWidth"},
44 {APP_LP_SCREEN_HEIGHT, "ScreenHeight", Persistence::PERSISTENT, 500, "ScreenHeight"},
45 {APP_LP_STYLE, "AppStyle", Persistence::PERSISTENT, 0, "Application style"},
46 {APP_LP_X, "XPosition", Persistence::PERSISTENT, 100, "X location of window"},
47 {APP_LP_Y, "YPosition", Persistence::PERSISTENT, 100, "Y location of window"},
48 #ifdef WITH_MAEMO
49 {APP_LP_MAEMO_SIZE, "MaemoSize", Persistence::PERSISTENT, 0, "Size of Maemo input window"},
50 #endif
53 Dasher::Settings::sp_table app_stringparamtable[] = {
54 #ifdef WITH_MAEMO
55 {APP_SP_EDIT_FONT, "EditFont", Persistence::PERSISTENT, "Sans 20", "EditFont"},
56 #else
57 {APP_SP_EDIT_FONT, "EditFont", Persistence::PERSISTENT, "Sans 10", "EditFont"},
58 #endif
59 { APP_SP_TOOLBAR_ID, "ToolbarID", Persistence::PERSISTENT, "", "ToolbarID" },