Link with C++ linker
[oweals/cde.git] / cde / programs / dtsession / SmStrDefs.c
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: SmStrDefs.c /main/9 1996/02/02 15:14:33 barstow $ */
24 /*                                                                      *
25  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
26  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
27  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
28  * (c) Copyright 1993, 1994 Novell, Inc.                                *
29  */
30
31 /*************************************<+>*************************************
32  *****************************************************************************
33  **
34  **  File:        SmStrDef.c
35  **
36  **  Project:     HP DT Session Manager (dtsession)
37  **
38  **  Description:
39  **  -----------
40  **  Contains all resource names and classes for the session manager
41  **
42  **
43  *******************************************************************
44  **  (c) Copyright Hewlett-Packard Company, 1990.  All rights are  
45  **  reserved.  Copying or other reproduction of this program      
46  **  except for archival purposes is prohibited without prior      
47  **  written consent of Hewlett-Packard Company.                     
48  ********************************************************************
49  **
50  **
51  **
52  *****************************************************************************
53  *************************************<+>*************************************/
54
55 /*
56  * Global Resource Names
57  */
58 char SmNsessionVersion[] = "sessionVersion";
59
60 /*
61  * Session Manager Resource Names
62  */
63 /* Resources names for session manager behavior*/
64 char SmNwmStartup[] = "wmStartupCommand";
65 char SmNquerySettings[] = "queryServerSettings";
66 char SmNkeys[] = "keys";
67 char SmNalarmTime[] = "passwordTimeout";
68 char SmNmemThreshold[] = "memThreshold";
69 char SmNcontManagement[] = "contManagement";
70 char SmNwaitClientTimeout[] = "waitClientTimeout";
71 char SmNwaitWmTimeout[] = "waitWmTimeout";
72 char SmNuseMessaging[] = "useMessaging";
73 char SmNsaveFontPath[] = "saveFontPath";
74 char SmNcycleTimeout[] = "cycleTimeout";
75 char SmNlockTimeout[] = "lockTimeout";
76 char SmNsaverTimeout[] = "saverTimeout";
77 char SmNrandom[] = "random";
78 char SmNsaverList[] = "saverList";
79 char SmNsaveYourselfTimeout[] = "saveYourselfTimeout";
80 char SmNmergeXdefaults[] = "mergeXdefaults";
81 char SmNnumSessionsBackedup[] = "numSessionsBackedup";
82 char SmNignoreEnvironment[] = "ignoreEnvironment";
83
84
85 /* Resource names for settings information */
86
87 char SmNkeyClick[] = "keyClickPercent";
88 char SmNbellPercent[] = "bellPercent";
89 char SmNbellPitch[] = "bellPitch";
90 char SmNbellDuration[] = "bellDuration";
91 char SmNledMask[] = "ledMask";
92 char SmNglobalRepeats[] = "globalAutoRepeats";
93 char SmNautoRepeats[] = "autoRepeats";
94 char SmNaccelNum[] = "accelNum";
95 char SmNaccelDenom[] = "accelDenom";
96 char SmNthreshold[] = "threshold";
97 char SmNtimeout[] = "timeout";
98 char SmNinterval[] = "interval";
99 char SmNpreferBlank[] = "preferBlank";
100 char SmNallowExp[] = "allowExp";
101 char SmNfontPath[] = "fontPath";
102 char SmNkeySymsPerKey[] = "keySymsPerKeyCode";
103 char SmNnumKeyCode[] = "numKeyCode";
104 char SmNkeySyms[] = "keySyms";
105 char SmNmaxKeyPerMod[] = "maxKeyPerMod";
106 char SmNmodMap[] = "modMap";
107 char SmNbuttonMap[] = "buttonMap";
108 char SmNhostState[] = "hostState";
109 char SmNhostNames[] = "hostName";
110 char SmNdidQuerySettings[] = "didQuery";
111 char SmNshutDownState[] = "shutDownState";
112 char SmNshutDownMode[] = "shutDownMode";
113 char SmNdisplayResolution[] = "displayResolution";
114 char SmNsessionLang[] = "sessionLanguage";
115
116 /*
117  * Global resource classes
118  */
119 char SmCsessionVersion[] = "SessionVersion";
120
121 /*
122  * Session Manager Resource Classes
123  */
124 /* Resources classes for session manager behavior*/
125 char SmCwmStartup[] = "WmStartupCommand";
126 char SmCquerySettings[] = "QueryServerSettings";
127 char SmCkeys[] = "Keys";
128 char SmCalarmTime[] = "PasswordTimeout";
129 char SmCmemThreshold[] = "MemThreshold";
130 char SmCContManagement[] = "ContManagement";
131 char SmCWaitClientTimeout[] = "WaitClientTimeout";
132 char SmCWaitWmTimeout[] = "WaitWmTimeout";
133 char SmCUseMessaging[] = "UseMessaging";
134 char SmCsaveFontPath[] = "SaveFontPath";
135 char SmCcycleTimeout[] = "CycleTimeout";
136 char SmClockTimeout[] = "LockTimeout";
137 char SmCsaverTimeout[] = "SaverTimeout";
138 char SmCrandom[] = "Random";
139 char SmCsaverList[] = "SaverList";
140 char SmCsaveYourselfTimeout[] = "SaveYourselfTimeout";
141 char SmCmergeXdefaults[] = "MergeXdefaults";
142 char SmCnumSessionsBackedup[] = "NumSessionsBackedup";
143 char SmCignoreEnvironment[] = "IgnoreEnvironment";
144
145 /*
146  * Class names for session settings information
147  */
148 char SmCkeyClick[] = "KeyClickPercent";
149 char SmCbellPercent[] = "BellPercent";
150 char SmCbellPitch[] = "BellPitch";
151 char SmCbellDuration[] = "BellDuration";
152 char SmCledMask[] ="LedMask";
153 char SmCglobalRepeats[] = "GlobalAutoRepeats";
154 char SmCautoRepeats[] = "AutoRepeats";
155 char SmCaccelNum[] = "AccelNum";
156 char SmCaccelDenom[] = "AccelDenom";
157 char SmCthreshold[] = "Threshold";
158 char SmCtimeout[] = "Timeout";
159 char SmCinterval[] = "Interval";
160 char SmCpreferBlank[] = "PreferBlank";
161 char SmCallowExp[] = "AllowExp";
162 char SmCfontPath[] = "FontPath";
163 char SmCkeySymsPerKey[] = "KeySymsPerKeyCode";
164 char SmCnumKeyCode[] = "NumKeyCode";
165 char SmCkeySyms[] = "KeySyms";
166 char SmCmaxKeyPerMod[] = "MaxKeyPerMod";
167 char SmCmodMap[] = "ModMap";
168 char SmCbuttonMap[] = "ButtonMap";
169 char SmChostState[] = "HostState";
170 char SmChostNames[] = "HostName";
171 char SmCdidQuerySettings[] = "DidQuery";
172 char SmCshutDownState[] = "ShutDownState";
173 char SmCshutDownMode[] = "ShutDownMode";
174 char SmCdisplayResolution[] = "DisplayResolution";
175 char SmCsessionLang[] = "SessionLanguage";
176
177
178 /*************************************<->*************************************
179  *
180  *  Session manager resource converter names ...
181  *
182  *
183  *  Description:
184  *  -----------
185  *
186  *************************************<->***********************************/
187
188 char SmRContManagement[] = "ContManagement";
189
190
191 /* from Sm.h */
192
193 char SM_CLIENT_FILE[] = "dt.session";
194 char SM_CLIENT_FILE2[] = "dtsession.db";
195 char SM_RESOURCE_FILE[] = "dt.resources";
196 char SM_FONT_FILE[] = "dt.font";
197 char SM_LOW_RES_EXT[] = "l";
198 char SM_MED_RES_EXT[] = "m";
199 char SM_HIGH_RES_EXT[] = "h";
200 char SM_SETTING_FILE[] = "dt.settings";
201 char SM_CONVERSION_FILE[] = "*CONVERTED*";
202 char SM_SYSTEM_CLIENT_FILE[] = "sys.session";
203 char SM_SYSTEM_RESOURCE_FILE[] = "sys.resources";
204 char SM_SYSTEM_FONT_FILE[] = "sys.font";
205 char SM_SYSTEM_PATH[] = CDE_CONFIGURATION_TOP "/config";
206 char SM_SECURE_PATH[] = "/.secure/etc/passwd";
207 char SM_CURRENT_DIRECTORY[] = "current";
208 char SM_CURRENT_FONT_DIRECTORY[] = "current.font";
209 char SM_HOME_FONT_DIRECTORY[] = "home.font";
210 char SM_HOME_DIRECTORY[] = "home";
211 char SM_OLD_EXTENSION[] = "old";
212 char SM_SYSTEM_DIRECTORY[] = "system";
213 char smEtcFile[] = "sessionetc";
214 char smExitFile[] = "sessionexit";
215 char SM_RESOURCE_CLASS[] = "Dtsession";
216 char SM_RESOURCE_NAME[] = "dtsession";
217 char SM_HELP_VOLUME[] = "FPanel";
218 char SM_RUNNING_LOCK[] = "dtsession_running";
219 char SM_SCREEN_SAVER_NAME[] = "screensaver";
220
221 /*
222  * Strings for the XSMP
223  */
224 char SM_SESSION_MANAGER[]       = "SESSION_MANAGER";
225 char SM_VENDOR_NAME[]           = "DtSession";
226 char SM_RELEASE_NAME[]          = "1.0";
227 char SM_CLIENT_ID[]             = "SM_CLIENT_ID";
228
229 /*
230  * ToolTalk operation names
231  */
232 char SM_DISPLAY_LOCK[]          = "Display_Lock";
233 char SM_XSESSION_EXIT[]         = "XSession_Exit";
234 char SM_RESOURCES_RELOAD[]      = "Resources_Reload";
235 char SM_SAVE_SESSION[]          = "Save_Session";
236