SmStrDefs.c 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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. ** File: SmStrDef.c
  34. **
  35. ** Project: HP DT Session Manager (dtsession)
  36. **
  37. ** Description:
  38. ** -----------
  39. ** Contains all resource names and classes for the session manager
  40. **
  41. **
  42. *******************************************************************
  43. ** (c) Copyright Hewlett-Packard Company, 1990. All rights are
  44. ** reserved. Copying or other reproduction of this program
  45. ** except for archival purposes is prohibited without prior
  46. ** written consent of Hewlett-Packard Company.
  47. ********************************************************************
  48. **
  49. **
  50. **
  51. *****************************************************************************
  52. *************************************<+>*************************************/
  53. /*
  54. * Global Resource Names
  55. */
  56. char SmNsessionVersion[] = "sessionVersion";
  57. /*
  58. * Session Manager Resource Names
  59. */
  60. /* Resources names for session manager behavior*/
  61. char SmNwmStartup[] = "wmStartupCommand";
  62. char SmNquerySettings[] = "queryServerSettings";
  63. char SmNkeys[] = "keys";
  64. char SmNalarmTime[] = "passwordTimeout";
  65. char SmNmemThreshold[] = "memThreshold";
  66. char SmNcontManagement[] = "contManagement";
  67. char SmNwaitClientTimeout[] = "waitClientTimeout";
  68. char SmNwaitWmTimeout[] = "waitWmTimeout";
  69. char SmNuseMessaging[] = "useMessaging";
  70. char SmNsaveFontPath[] = "saveFontPath";
  71. char SmNcycleTimeout[] = "cycleTimeout";
  72. char SmNlockTimeout[] = "lockTimeout";
  73. char SmNsaverTimeout[] = "saverTimeout";
  74. char SmNrandom[] = "random";
  75. char SmNsaverList[] = "saverList";
  76. char SmNsaveYourselfTimeout[] = "saveYourselfTimeout";
  77. char SmNmergeXdefaults[] = "mergeXdefaults";
  78. char SmNnumSessionsBackedup[] = "numSessionsBackedup";
  79. char SmNignoreEnvironment[] = "ignoreEnvironment";
  80. char SmNxineramaPreferredScreen[] = "xineramaPreferredScreen";
  81. /* Resource names for settings information */
  82. char SmNkeyClick[] = "keyClickPercent";
  83. char SmNbellPercent[] = "bellPercent";
  84. char SmNbellPitch[] = "bellPitch";
  85. char SmNbellDuration[] = "bellDuration";
  86. char SmNledMask[] = "ledMask";
  87. char SmNglobalRepeats[] = "globalAutoRepeats";
  88. char SmNautoRepeats[] = "autoRepeats";
  89. char SmNaccelNum[] = "accelNum";
  90. char SmNaccelDenom[] = "accelDenom";
  91. char SmNthreshold[] = "threshold";
  92. char SmNtimeout[] = "timeout";
  93. char SmNinterval[] = "interval";
  94. char SmNpreferBlank[] = "preferBlank";
  95. char SmNallowExp[] = "allowExp";
  96. char SmNfontPath[] = "fontPath";
  97. char SmNkeySymsPerKey[] = "keySymsPerKeyCode";
  98. char SmNnumKeyCode[] = "numKeyCode";
  99. char SmNkeySyms[] = "keySyms";
  100. char SmNmaxKeyPerMod[] = "maxKeyPerMod";
  101. char SmNmodMap[] = "modMap";
  102. char SmNbuttonMap[] = "buttonMap";
  103. char SmNhostState[] = "hostState";
  104. char SmNhostNames[] = "hostName";
  105. char SmNdidQuerySettings[] = "didQuery";
  106. char SmNshutDownState[] = "shutDownState";
  107. char SmNshutDownMode[] = "shutDownMode";
  108. char SmNdisplayResolution[] = "displayResolution";
  109. char SmNsessionLang[] = "sessionLanguage";
  110. /*
  111. * Global resource classes
  112. */
  113. char SmCsessionVersion[] = "SessionVersion";
  114. /*
  115. * Session Manager Resource Classes
  116. */
  117. /* Resources classes for session manager behavior*/
  118. char SmCwmStartup[] = "WmStartupCommand";
  119. char SmCquerySettings[] = "QueryServerSettings";
  120. char SmCkeys[] = "Keys";
  121. char SmCalarmTime[] = "PasswordTimeout";
  122. char SmCmemThreshold[] = "MemThreshold";
  123. char SmCContManagement[] = "ContManagement";
  124. char SmCWaitClientTimeout[] = "WaitClientTimeout";
  125. char SmCWaitWmTimeout[] = "WaitWmTimeout";
  126. char SmCUseMessaging[] = "UseMessaging";
  127. char SmCsaveFontPath[] = "SaveFontPath";
  128. char SmCcycleTimeout[] = "CycleTimeout";
  129. char SmClockTimeout[] = "LockTimeout";
  130. char SmCsaverTimeout[] = "SaverTimeout";
  131. char SmCrandom[] = "Random";
  132. char SmCsaverList[] = "SaverList";
  133. char SmCsaveYourselfTimeout[] = "SaveYourselfTimeout";
  134. char SmCmergeXdefaults[] = "MergeXdefaults";
  135. char SmCnumSessionsBackedup[] = "NumSessionsBackedup";
  136. char SmCignoreEnvironment[] = "IgnoreEnvironment";
  137. char SmCxineramaPreferredScreen[] = "XineramaPreferredScreen";
  138. /*
  139. * Class names for session settings information
  140. */
  141. char SmCkeyClick[] = "KeyClickPercent";
  142. char SmCbellPercent[] = "BellPercent";
  143. char SmCbellPitch[] = "BellPitch";
  144. char SmCbellDuration[] = "BellDuration";
  145. char SmCledMask[] ="LedMask";
  146. char SmCglobalRepeats[] = "GlobalAutoRepeats";
  147. char SmCautoRepeats[] = "AutoRepeats";
  148. char SmCaccelNum[] = "AccelNum";
  149. char SmCaccelDenom[] = "AccelDenom";
  150. char SmCthreshold[] = "Threshold";
  151. char SmCtimeout[] = "Timeout";
  152. char SmCinterval[] = "Interval";
  153. char SmCpreferBlank[] = "PreferBlank";
  154. char SmCallowExp[] = "AllowExp";
  155. char SmCfontPath[] = "FontPath";
  156. char SmCkeySymsPerKey[] = "KeySymsPerKeyCode";
  157. char SmCnumKeyCode[] = "NumKeyCode";
  158. char SmCkeySyms[] = "KeySyms";
  159. char SmCmaxKeyPerMod[] = "MaxKeyPerMod";
  160. char SmCmodMap[] = "ModMap";
  161. char SmCbuttonMap[] = "ButtonMap";
  162. char SmChostState[] = "HostState";
  163. char SmChostNames[] = "HostName";
  164. char SmCdidQuerySettings[] = "DidQuery";
  165. char SmCshutDownState[] = "ShutDownState";
  166. char SmCshutDownMode[] = "ShutDownMode";
  167. char SmCdisplayResolution[] = "DisplayResolution";
  168. char SmCsessionLang[] = "SessionLanguage";
  169. /*************************************<->*************************************
  170. *
  171. * Session manager resource converter names ...
  172. *
  173. *
  174. * Description:
  175. * -----------
  176. *
  177. *************************************<->***********************************/
  178. char SmRContManagement[] = "ContManagement";
  179. /* from Sm.h */
  180. char SM_CLIENT_FILE[] = "dt.session";
  181. char SM_CLIENT_FILE2[] = "dtsession.db";
  182. char SM_RESOURCE_FILE[] = "dt.resources";
  183. char SM_FONT_FILE[] = "dt.font";
  184. char SM_LOW_RES_EXT[] = "l";
  185. char SM_MED_RES_EXT[] = "m";
  186. char SM_HIGH_RES_EXT[] = "h";
  187. char SM_SETTING_FILE[] = "dt.settings";
  188. char SM_CONVERSION_FILE[] = "*CONVERTED*";
  189. char SM_SYSTEM_CLIENT_FILE[] = "sys.session";
  190. char SM_SYSTEM_RESOURCE_FILE[] = "sys.resources";
  191. char SM_SYSTEM_FONT_FILE[] = "sys.font";
  192. char SM_SYSTEM_PATH[] = CDE_CONFIGURATION_TOP "/config";
  193. char SM_SECURE_PATH[] = "/.secure/etc/passwd";
  194. char SM_CURRENT_DIRECTORY[] = "current";
  195. char SM_CURRENT_FONT_DIRECTORY[] = "current.font";
  196. char SM_HOME_FONT_DIRECTORY[] = "home.font";
  197. char SM_HOME_DIRECTORY[] = "home";
  198. char SM_OLD_EXTENSION[] = "old";
  199. char SM_SYSTEM_DIRECTORY[] = "system";
  200. char smEtcFile[] = "sessionetc";
  201. char smExitFile[] = "sessionexit";
  202. char SM_RESOURCE_CLASS[] = "Dtsession";
  203. char SM_RESOURCE_NAME[] = "dtsession";
  204. char SM_HELP_VOLUME[] = "FPanel";
  205. char SM_RUNNING_LOCK[] = "dtsession_running";
  206. char SM_SCREEN_SAVER_NAME[] = "screensaver";
  207. /*
  208. * Strings for the XSMP
  209. */
  210. char SM_SESSION_MANAGER[] = "SESSION_MANAGER";
  211. char SM_VENDOR_NAME[] = "DtSession";
  212. char SM_RELEASE_NAME[] = "1.0";
  213. char SM_CLIENT_ID[] = "SM_CLIENT_ID";
  214. /*
  215. * ToolTalk operation names
  216. */
  217. char SM_DISPLAY_LOCK[] = "Display_Lock";
  218. char SM_XSESSION_EXIT[] = "XSession_Exit";
  219. char SM_RESOURCES_RELOAD[] = "Resources_Reload";
  220. char SM_SAVE_SESSION[] = "Save_Session";