dtfile: remove register keyword
[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 libraries 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 char SmNxineramaPreferredScreen[] = "xineramaPreferredScreen";
84
85
86 /* Resource names for settings information */
87
88 char SmNkeyClick[] = "keyClickPercent";
89 char SmNbellPercent[] = "bellPercent";
90 char SmNbellPitch[] = "bellPitch";
91 char SmNbellDuration[] = "bellDuration";
92 char SmNledMask[] = "ledMask";
93 char SmNglobalRepeats[] = "globalAutoRepeats";
94 char SmNautoRepeats[] = "autoRepeats";
95 char SmNaccelNum[] = "accelNum";
96 char SmNaccelDenom[] = "accelDenom";
97 char SmNthreshold[] = "threshold";
98 char SmNtimeout[] = "timeout";
99 char SmNinterval[] = "interval";
100 char SmNpreferBlank[] = "preferBlank";
101 char SmNallowExp[] = "allowExp";
102 char SmNfontPath[] = "fontPath";
103 char SmNkeySymsPerKey[] = "keySymsPerKeyCode";
104 char SmNnumKeyCode[] = "numKeyCode";
105 char SmNkeySyms[] = "keySyms";
106 char SmNmaxKeyPerMod[] = "maxKeyPerMod";
107 char SmNmodMap[] = "modMap";
108 char SmNbuttonMap[] = "buttonMap";
109 char SmNhostState[] = "hostState";
110 char SmNhostNames[] = "hostName";
111 char SmNdidQuerySettings[] = "didQuery";
112 char SmNshutDownState[] = "shutDownState";
113 char SmNshutDownMode[] = "shutDownMode";
114 char SmNdisplayResolution[] = "displayResolution";
115 char SmNsessionLang[] = "sessionLanguage";
116
117 /*
118  * Global resource classes
119  */
120 char SmCsessionVersion[] = "SessionVersion";
121
122 /*
123  * Session Manager Resource Classes
124  */
125 /* Resources classes for session manager behavior*/
126 char SmCwmStartup[] = "WmStartupCommand";
127 char SmCquerySettings[] = "QueryServerSettings";
128 char SmCkeys[] = "Keys";
129 char SmCalarmTime[] = "PasswordTimeout";
130 char SmCmemThreshold[] = "MemThreshold";
131 char SmCContManagement[] = "ContManagement";
132 char SmCWaitClientTimeout[] = "WaitClientTimeout";
133 char SmCWaitWmTimeout[] = "WaitWmTimeout";
134 char SmCUseMessaging[] = "UseMessaging";
135 char SmCsaveFontPath[] = "SaveFontPath";
136 char SmCcycleTimeout[] = "CycleTimeout";
137 char SmClockTimeout[] = "LockTimeout";
138 char SmCsaverTimeout[] = "SaverTimeout";
139 char SmCrandom[] = "Random";
140 char SmCsaverList[] = "SaverList";
141 char SmCsaveYourselfTimeout[] = "SaveYourselfTimeout";
142 char SmCmergeXdefaults[] = "MergeXdefaults";
143 char SmCnumSessionsBackedup[] = "NumSessionsBackedup";
144 char SmCignoreEnvironment[] = "IgnoreEnvironment";
145 char SmCxineramaPreferredScreen[] = "XineramaPreferredScreen";
146
147 /*
148  * Class names for session settings information
149  */
150 char SmCkeyClick[] = "KeyClickPercent";
151 char SmCbellPercent[] = "BellPercent";
152 char SmCbellPitch[] = "BellPitch";
153 char SmCbellDuration[] = "BellDuration";
154 char SmCledMask[] ="LedMask";
155 char SmCglobalRepeats[] = "GlobalAutoRepeats";
156 char SmCautoRepeats[] = "AutoRepeats";
157 char SmCaccelNum[] = "AccelNum";
158 char SmCaccelDenom[] = "AccelDenom";
159 char SmCthreshold[] = "Threshold";
160 char SmCtimeout[] = "Timeout";
161 char SmCinterval[] = "Interval";
162 char SmCpreferBlank[] = "PreferBlank";
163 char SmCallowExp[] = "AllowExp";
164 char SmCfontPath[] = "FontPath";
165 char SmCkeySymsPerKey[] = "KeySymsPerKeyCode";
166 char SmCnumKeyCode[] = "NumKeyCode";
167 char SmCkeySyms[] = "KeySyms";
168 char SmCmaxKeyPerMod[] = "MaxKeyPerMod";
169 char SmCmodMap[] = "ModMap";
170 char SmCbuttonMap[] = "ButtonMap";
171 char SmChostState[] = "HostState";
172 char SmChostNames[] = "HostName";
173 char SmCdidQuerySettings[] = "DidQuery";
174 char SmCshutDownState[] = "ShutDownState";
175 char SmCshutDownMode[] = "ShutDownMode";
176 char SmCdisplayResolution[] = "DisplayResolution";
177 char SmCsessionLang[] = "SessionLanguage";
178
179
180 /*************************************<->*************************************
181  *
182  *  Session manager resource converter names ...
183  *
184  *
185  *  Description:
186  *  -----------
187  *
188  *************************************<->***********************************/
189
190 char SmRContManagement[] = "ContManagement";
191
192
193 /* from Sm.h */
194
195 char SM_CLIENT_FILE[] = "dt.session";
196 char SM_CLIENT_FILE2[] = "dtsession.db";
197 char SM_RESOURCE_FILE[] = "dt.resources";
198 char SM_FONT_FILE[] = "dt.font";
199 char SM_LOW_RES_EXT[] = "l";
200 char SM_MED_RES_EXT[] = "m";
201 char SM_HIGH_RES_EXT[] = "h";
202 char SM_SETTING_FILE[] = "dt.settings";
203 char SM_CONVERSION_FILE[] = "*CONVERTED*";
204 char SM_SYSTEM_CLIENT_FILE[] = "sys.session";
205 char SM_SYSTEM_RESOURCE_FILE[] = "sys.resources";
206 char SM_SYSTEM_FONT_FILE[] = "sys.font";
207 char SM_SYSTEM_PATH[] = CDE_CONFIGURATION_TOP "/config";
208 char SM_SECURE_PATH[] = "/.secure/etc/passwd";
209 char SM_CURRENT_DIRECTORY[] = "current";
210 char SM_CURRENT_FONT_DIRECTORY[] = "current.font";
211 char SM_HOME_FONT_DIRECTORY[] = "home.font";
212 char SM_HOME_DIRECTORY[] = "home";
213 char SM_OLD_EXTENSION[] = "old";
214 char SM_SYSTEM_DIRECTORY[] = "system";
215 char smEtcFile[] = "sessionetc";
216 char smExitFile[] = "sessionexit";
217 char SM_RESOURCE_CLASS[] = "Dtsession";
218 char SM_RESOURCE_NAME[] = "dtsession";
219 char SM_HELP_VOLUME[] = "FPanel";
220 char SM_RUNNING_LOCK[] = "dtsession_running";
221 char SM_SCREEN_SAVER_NAME[] = "screensaver";
222
223 /*
224  * Strings for the XSMP
225  */
226 char SM_SESSION_MANAGER[]       = "SESSION_MANAGER";
227 char SM_VENDOR_NAME[]           = "DtSession";
228 char SM_RELEASE_NAME[]          = "1.0";
229 char SM_CLIENT_ID[]             = "SM_CLIENT_ID";
230
231 /*
232  * ToolTalk operation names
233  */
234 char SM_DISPLAY_LOCK[]          = "Display_Lock";
235 char SM_XSESSION_EXIT[]         = "XSession_Exit";
236 char SM_RESOURCES_RELOAD[]      = "Resources_Reload";
237 char SM_SAVE_SESSION[]          = "Save_Session";
238