SaveRestore.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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: SaveRestore.h /main/5 1996/03/25 00:53:26 pascale $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: SaveRestore.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 _saverestore_h
  47. #define _saverestore_h
  48. /* External Interface */
  49. extern void saveSessionCB(
  50. Widget w,
  51. XtPointer client_data,
  52. XtPointer call_data) ;
  53. extern Boolean restoreSession(
  54. Widget shell,
  55. char *name) ;
  56. extern void restoreFonts( Widget shell, XrmDatabase db) ;
  57. extern void saveFonts( int fd) ;
  58. extern void restoreMain( Widget shell, XrmDatabase db) ;
  59. extern void saveMain( int fd) ;
  60. extern void restoreMouse( Widget shell, XrmDatabase db) ;
  61. extern void saveMouse( int fd) ;
  62. extern void restoreAudio( Widget shell, XrmDatabase db) ;
  63. extern void saveAudio( int fd) ;
  64. extern void restoreScreen( Widget shell, XrmDatabase db) ;
  65. extern void saveScreen( int fd) ;
  66. extern void restoreColor( Widget shell, XrmDatabase db) ;
  67. extern void saveColor( int fd) ;
  68. extern void restoreColorEdit( Widget shell, XrmDatabase db) ;
  69. extern void saveColorEdit( int fd) ;
  70. extern void restoreKeybd( Widget shell, XrmDatabase db) ;
  71. extern void saveKeybd( int fd) ;
  72. extern void restoreStartup( Widget shell, XrmDatabase db) ;
  73. extern void saveStartup( int fd) ;
  74. extern void restoreBackdrop( Widget shell, XrmDatabase db) ;
  75. extern void saveBackdrop( int fd) ;
  76. extern void restoreI18n( Widget shell, XrmDatabase db) ;
  77. extern void saveI18n( int fd) ;
  78. #endif /* _saverestore_h */
  79. /* DON'T ADD ANYTHING AFTER THIS #endif */