TermP.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. /*
  24. * $XConsortium: TermP.h /main/1 1996/04/21 19:16:07 drk $";
  25. */
  26. /* *
  27. * (c) Copyright 1993, 1994 Hewlett-Packard Company *
  28. * (c) Copyright 1993, 1994 International Business Machines Corp. *
  29. * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
  30. * (c) Copyright 1993, 1994 Novell, Inc. *
  31. */
  32. #ifndef _Dt_TermP_h
  33. #define _Dt_TermP_h
  34. #include "TermPrimP.h"
  35. #include "Term.h"
  36. #include "TermData.h"
  37. #include "TermFunctionKey.h"
  38. #ifdef __cplusplus
  39. extern "C" {
  40. #endif /* __cplusplus */
  41. /* Vt class structure... */
  42. typedef struct _DtTermClassPart
  43. {
  44. int foo;
  45. } DtTermClassPart;
  46. /* full clas record declaration for Vt class... */
  47. typedef struct _DtTermClassRec {
  48. CoreClassPart core_class;
  49. XmPrimitiveClassPart primitive_class;
  50. DtTermPrimitiveClassPart term_primitive_class;
  51. DtTermClassPart term_class;
  52. } DtTermClassRec;
  53. externalref DtTermClassRec dtTermClassRec;
  54. /* vt instance record... */
  55. typedef struct _DtTermPart
  56. {
  57. DtTermData td; /* non-widget terminal data */
  58. Boolean autoWrap;
  59. Boolean reverseWrap;
  60. Boolean sunFunctionKeys;
  61. Boolean c132;
  62. Boolean appKeypadMode;
  63. Boolean appCursorMode;
  64. } DtTermPart;
  65. /* full instance record declaration... */
  66. typedef struct _DtTermRec {
  67. CorePart core;
  68. XmPrimitivePart primitive;
  69. DtTermPrimitivePart term;
  70. DtTermPart vt;
  71. } DtTermRec;
  72. /* private function declarations... */
  73. /* end private function declarations... */
  74. #ifdef __cplusplus
  75. } /* close scope of 'extern "C"'... */
  76. #endif /* __cplusplus */
  77. #endif /* _Dt_TermP_h */
  78. /* DON'T ADD ANYTHING AFTER THIS #endif... */