Protocol.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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: Protocol.h /main/5 1996/03/25 00:53:06 pascale $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: Protocol.h
  28. **
  29. ** Project: DT 3.0
  30. **
  31. ** This file contains function definitions for the corresponding .c
  32. ** file
  33. **
  34. **
  35. ****************************************************************************
  36. ************************************<+>*************************************/
  37. /*
  38. * (c) Copyright 1996 Digital Equipment Corporation.
  39. * (c) Copyright 1990, 1996 Hewlett-Packard Company.
  40. * (c) Copyright 1996 International Business Machines Corp.
  41. * (c) Copyright 1996 Sun Microsystems, Inc.
  42. * (c) Copyright 1996 Novell, Inc.
  43. * (c) Copyright 1996 FUJITSU LIMITED.
  44. * (c) Copyright 1996 Hitachi.
  45. */
  46. #ifndef _protocol_h
  47. #define _protocol_h
  48. extern Window smWindow;
  49. /* External Interface */
  50. extern void MwmReparentNotify(
  51. Widget w,
  52. XtPointer client_data,
  53. XEvent *event ) ;
  54. extern void InitDtstyleProtocol( void ) ;
  55. extern void GetSessionSaveMode( unsigned char **mode ) ;
  56. extern void SetWindowProperties( void ) ;
  57. extern void SmSaveHomeSession(
  58. int origStartState,
  59. int origConfirmMode);
  60. extern void SmDefaultAudioSettings( void ) ;
  61. extern void SmDefaultScreenSettings( void ) ;
  62. extern void SmDefaultKeyboardSettings( void ) ;
  63. extern void SmNewAudioSettings(
  64. int volume,
  65. int tone,
  66. int duration ) ;
  67. extern void SmNewScreenSettings(
  68. int timeout,
  69. int blanking,
  70. int interval,
  71. int exposures ) ;
  72. extern void SmNewLockSettings(
  73. int lock,
  74. int cover ) ;
  75. extern void SmNewKeyboardSettings(
  76. int keyClickPercent,
  77. int autoRepeat) ;
  78. extern void SmNewPointerSettings(
  79. char *pointerString) ;
  80. extern void SmNewStartupSettings( void ) ;
  81. extern void SmNewFontSettings(
  82. char *fontResourceString) ;
  83. extern void SmNewPreeditSettings(
  84. char *preeditResourceString) ;
  85. #endif /* _protocol_h */
  86. /* DON'T ADD ANYTHING AFTER THIS #endif */