SmProtocol.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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: SmProtocol.h /main/7 1998/08/05 13:38:42 samborn $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: SmProtocol.h
  28. **
  29. ** Project: HP DT
  30. **
  31. ** Description
  32. ** -----------
  33. ** Variables and declarations needed for
  34. ** Protocol Handling for the session manager
  35. **
  36. **
  37. ****************************************************************************
  38. ************************************<+>*************************************/
  39. /*
  40. * (c) Copyright 1996 Digital Equipment Corporation.
  41. * (c) Copyright 1990, 1993, 1994, 1996 Hewlett-Packard Company
  42. * (c) Copyright 1993, 1994, 1996 International Business Machines Corp.
  43. * (c) Copyright 1993, 1994, 1996 Sun Microsystems, Inc.
  44. * (c) Copyright 1993, 1994, 1996 Novell, Inc.
  45. * (c) Copyright 1996 FUJITSU LIMITED.
  46. * (c) Copyright 1996 Hitachi.
  47. */
  48. #ifndef _smprotocol_h
  49. #define _smprotocol_h
  50. /*
  51. * #include statements
  52. */
  53. #include <X11/Xlib.h>
  54. /*
  55. * #define statements
  56. */
  57. /*
  58. * Property types used by the session manager not defined elsewhere
  59. */
  60. #define _XA_WM_PROTOCOLS "WM_PROTOCOLS"
  61. #define _XA_WM_STATE "WM_STATE"
  62. #define _XA_WM_SAVE_YOURSELF "WM_SAVE_YOURSELF"
  63. /*
  64. * typedef statements
  65. */
  66. /*
  67. * External variables
  68. */
  69. /*
  70. * Atoms interned by the session manager in order to communicate with
  71. * the other clients in the session
  72. */
  73. extern Atom XaWmProtocols;
  74. extern Atom XaWmSaveYourself;
  75. extern Atom XaWmState;
  76. extern Atom XaWmDtHints;
  77. extern Atom XaSmSaveMode;
  78. extern Atom XaSmRestoreMode;
  79. extern Atom XaSmRestoreDir;
  80. extern Atom XaSmStartAckWindow;
  81. extern Atom XaSmStopAckWindow;
  82. extern Atom XaWmWindowAck;
  83. extern Atom XaWmExitSession;
  84. extern Atom XaWmLockDisplay;
  85. extern Atom XaWmReady;
  86. extern Atom XaSmWmProtocol;
  87. extern Atom XaVsmInfo;
  88. extern Atom XaDtSmStateInfo;
  89. extern Atom XaDtSmSaverInfo;
  90. extern Atom XaDtSmStmProtocol;
  91. extern Atom XaDtSmSaveToHome;
  92. extern Atom XaDtSmStateChange;
  93. extern Atom XaDtSmRestoreDefault;
  94. extern Atom XaDtSmLockChange;
  95. extern Atom XaDtSmScreenInfo;
  96. extern Atom XaDtSmAudioInfo;
  97. extern Atom XaDtSmKeyboardInfo;
  98. extern Atom XaDtSmFontInfo;
  99. extern Atom XaDtSmPointerInfo;
  100. extern Atom XaSmScreenSaveRet;
  101. extern Atom XaDtSmPreeditInfo;
  102. /*
  103. * External Interface
  104. */
  105. extern void InitProtocol(void);
  106. #endif /*_smprotocols_h*/
  107. /* DON'T ADD ANYTHING AFTER THIS #endif */