Debian Codegraph @

code/global/ProfileKeys.cpp

raw
1 /*
2 Copyright (C) 2009-2013 wxLauncher Team
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19 #include "ProfileKeys.h"
20
21 // Global profile keys and constants
22 const wxString GBL_CFG_MAIN_AUTOSAVEPROFILES (_T("/main/autosaveprofiles"));
23 const wxString GBL_CFG_MAIN_LASTPROFILE (_T("/main/lastprofile"));
24
25 const wxString GBL_CFG_PROXY_TYPE (_T("/proxy/type"));
26 const wxString GBL_CFG_PROXY_SERVER (_T("/proxy/server"));
27 const wxString GBL_CFG_PROXY_PORT (_T("/proxy/port"));
28
29 const wxString GBL_CFG_NET_FOLDER (_T("/net"));
30 const wxString GBL_CFG_NET_DOWNLOAD_NEWS (_T("/net/downloadnews"));
31 const wxString NEWS_LAST_TIME_FORMAT (_T("%Y %j %H %M %S"));
32 const wxString GBL_CFG_NET_NEWS_LAST_TIME (_T("lastdownloadnews"));
33 const wxString GBL_CFG_NET_THE_NEWS (_T("thenews"));
34
35 const wxString GBL_CFG_OPT_CONFIG_FRED (_T("/opt/configfred"));
36
37 // Profile keys and constants
38 const wxString PRO_CFG_MAIN_NAME (_T("/main/name"));
39 const wxString PRO_CFG_MAIN_FILENAME (_T("/main/filename"));
40 const wxString PRO_CFG_MAIN_INITIALIZED (_T("/main/initialized"));
41
42 const wxString PRO_CFG_TC_ROOT_FOLDER (_T("/tc/folder"));
43 const wxString PRO_CFG_TC_CURRENT_BINARY (_T("/tc/currentbinary"));
44 const wxString PRO_CFG_TC_CURRENT_MODLINE (_T("/tc/currentmodline"));
45 const wxString PRO_CFG_TC_CURRENT_MOD (_T("/tc/currentmod"));
46 const wxString PRO_CFG_TC_CURRENT_FLAG_LINE (_T("/tc/flags"));
47 const wxString PRO_CFG_TC_CURRENT_FRED (_T("/tc/currentfred"));
48
49 const wxString PRO_CFG_VIDEO_RESOLUTION_WIDTH (_T("/video/width"));
50 const wxString PRO_CFG_VIDEO_RESOLUTION_HEIGHT (_T("/video/height"));
51 const wxString CFG_RES_FORMAT_STRING (_T("%d x %d"));
52 const wxString PRO_CFG_VIDEO_BIT_DEPTH (_T("/video/depth"));
53 const wxString PRO_CFG_VIDEO_ANISOTROPIC (_T("/video/anisotropic"));
54 const wxString PRO_CFG_VIDEO_ANTI_ALIAS (_T("/video/antialias"));
55 const wxString PRO_CFG_VIDEO_TEXTURE_FILTER (_T("/video/texturefilter"));
56
57 const wxString PRO_CFG_LIGHTING_PRESET (_T("/lighting/preset"));
58
59 const wxString PRO_CFG_SPEECH_VOICE (_T("/speech/voice"));
60 const wxString PRO_CFG_SPEECH_VOLUME (_T("/speech/volume"));
61 const wxString PRO_CFG_SPEECH_IN_TECHROOM (_T("/speech/intechroom"));
62 const wxString PRO_CFG_SPEECH_IN_BRIEFINGS (_T("/speech/inbriefings"));
63 const wxString PRO_CFG_SPEECH_IN_GAME (_T("/speech/ingame"));
64 const wxString PRO_CFG_SPEECH_IN_MULTI (_T("/speech/inmulti"));
65
66 const wxString PRO_CFG_NETWORK_TYPE (_T("/network/type"));
67 const wxString PRO_CFG_NETWORK_SPEED (_T("/network/speed"));
68 const wxString PRO_CFG_NETWORK_PORT (_T("/network/port"));
69 const wxString PRO_CFG_NETWORK_IP (_T("/network/ip"));
70
71 const wxString PRO_CFG_OPENAL_DEVICE (_T("/openal/device"));
72 const wxString PRO_CFG_OPENAL_CAPTURE_DEVICE (_T("/openal/capturedevice"));
73 const wxString PRO_CFG_OPENAL_EFX (_T("/openal/efx"));
74 const wxString PRO_CFG_OPENAL_SAMPLE_RATE (_T("/openal/samplerate"));
75
76 const wxString PRO_CFG_JOYSTICK_ID (_T("/joystick/id"));
77 const wxString PRO_CFG_JOYSTICK_FORCE_FEEDBACK (_T("/joystick/forcefeedback"));
78 const wxString PRO_CFG_JOYSTICK_DIRECTIONAL (_T("/joystick/directional"));
79 /** @}*/