SessionP.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. /* $TOG: SessionP.h /main/5 1998/07/30 12:11:06 mgreess $ */
  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: SessionP.h
  34. **
  35. ** Description: Private header for Session Management routines
  36. ** -----------
  37. **
  38. *******************************************************************
  39. ** (c) Copyright Hewlett-Packard Company, 1990. All rights are
  40. ** reserved. Copying or other reproduction of this program
  41. ** except for archival purposes is prohibited without prior
  42. ** written consent of Hewlett-Packard Company.
  43. ********************************************************************
  44. **
  45. **
  46. **
  47. *****************************************************************************
  48. *************************************<+>*************************************/
  49. #ifndef _SessionP_h
  50. #define _SessionP_h
  51. /*
  52. * include statements
  53. */
  54. /*
  55. * define statements
  56. */
  57. /*
  58. * typedef statements
  59. */
  60. /*
  61. * Definition for the _DT_SM_WINDOW_INFO property.
  62. */
  63. typedef struct
  64. {
  65. unsigned long flags;
  66. unsigned long smWindow;
  67. } PropDtSmWindowInfo;
  68. /*
  69. * Definition for the _DT_SM_STATE_INFO property
  70. */
  71. typedef struct
  72. {
  73. unsigned long flags;
  74. unsigned long smStartState;
  75. unsigned long smConfirmMode;
  76. unsigned long smCompatMode;
  77. unsigned long smSendSettings;
  78. unsigned long smCoverScreen;
  79. unsigned long smLockOnTimeout;
  80. unsigned long smLockOnTimeoutStatus;
  81. unsigned long smCycleTimeout;
  82. unsigned long smLockTimeout;
  83. unsigned long smSaverTimeout;
  84. unsigned long smRandom;
  85. unsigned long smDisplaySpecific;
  86. } PropDtSmStateInfo;
  87. /*
  88. * Definition for the _DT_SM_SCREEN_INFO property
  89. */
  90. typedef struct
  91. {
  92. unsigned long flags;
  93. unsigned long smTimeout;
  94. unsigned long smInterval;
  95. unsigned long smPreferBlank;
  96. unsigned long smAllowExp;
  97. } PropDtSmScreenInfo;
  98. /*
  99. * Definition for the _DT_SM_AUDIO_INFO property
  100. */
  101. typedef struct
  102. {
  103. unsigned long flags;
  104. unsigned long smBellPercent;
  105. unsigned long smBellPitch;
  106. unsigned long smBellDuration;
  107. } PropDtSmAudioInfo;
  108. /*
  109. * Definition for the _DT_SM_KEYBOARD_INFO property
  110. */
  111. typedef struct
  112. {
  113. unsigned long flags;
  114. unsigned long smKeyClickPercent;
  115. unsigned long smGlobalAutoRepeat;
  116. } PropDtSmKeyboardInfo;
  117. #endif /* _SessionP_h */
  118. /* Do not add anything after this endif. */