messageParam.h 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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: messageParam.h /main/3 1995/11/01 10:38:54 rswiston $ */
  24. /**********************************<+>*************************************
  25. ***************************************************************************
  26. **
  27. ** File: messageParam.h
  28. **
  29. ** Project: DT dtpad, a memo maker type editor based on the motif
  30. ** 1.1 widget.
  31. **
  32. ** Description: Contains the codes used in communication between the
  33. ** "client" and "server" dtpad. These are used in place
  34. ** of strings to reduce the computational overhead of
  35. ** parsing the parameters on the receiving (server) end.
  36. **
  37. *******************************************************************
  38. ** (c) Copyright Hewlett-Packard Company, 1992. All rights are
  39. ** reserved. Copying or other reproduction of this program
  40. ** except for archival purposes is prohibited without prior
  41. ** written consent of Hewlett-Packard Company.
  42. ********************************************************************
  43. **
  44. ********************************************************************
  45. ** (c) Copyright 1993, 1994 Hewlett-Packard Company
  46. ** (c) Copyright 1993, 1994 International Business Machines Corp.
  47. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  48. ** (c) Copyright 1993, 1994 Novell, Inc.
  49. ********************************************************************
  50. **
  51. **
  52. **************************************************************************
  53. **********************************<+>*************************************/
  54. #include <Tt/tt_c.h>
  55. /*
  56. * The codes are consecutive byte values to give the compiler the best
  57. * shot at optimizing the resulting "switch" statement.
  58. */
  59. #define NETFILE (char)'?'
  60. /* non Text Editor specific options */
  61. #define GEOMETRY (char)'A'
  62. /* basic options */
  63. #define STATUSLINE (char)'B'
  64. #define WINDOWWORDWRAP (char)'C'
  65. #define OVERSTRIKE (char)'D'
  66. #define SAVEONCLOSE (char)'E'
  67. #define MISSINGFILEWARNING (char)'F'
  68. #define NOREADONLYWARNING (char)'G'
  69. #define NONAMECHANGE (char)'H'
  70. #define VIEWONLY (char)'I'
  71. #define WORKSPACELIST (char)'J'
  72. #define SESSION (char)'K'
  73. /* client/server control options */
  74. #define BLOCKING (char)'L'
  75. /* field nos. for DTPAD_OPEN_FILE_MSG and DTPAD_RUN_SESSION_MSG fields
  76. * (DT_MSG_DATA_? are defined in lib1/DtSvc/DtUtil2/Message.h) */
  77. #define FILENAME_MSG_FIELD DT_MSG_DATA_1
  78. #define NETFILE_ID_MSG_FIELD DT_MSG_DATA_3
  79. #define PROCESS_ID_MSG_FIELD DT_MSG_DATA_5
  80. /* field nos. for DTPAD_DONE message fields */
  81. #define CHANNEL_MSG_FIELD DT_MSG_DATA_1
  82. #define RETURN_STATUS_MSG_FIELD DT_MSG_DATA_2