2
0

xmcvt.h 4.0 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. /* $XConsortium: xmcvt.h /main/4 1995/11/01 15:58:38 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: xmcvt.h
  28. **
  29. ** Project: CDE
  30. **
  31. ** Description: Public include file for xmcvt.c
  32. **
  33. **
  34. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992
  35. ** by Hewlett-Packard Company
  36. **
  37. **
  38. **
  39. ****************************************************************************
  40. ************************************<+>*************************************/
  41. #ifndef _Dtksh_xmcvt_h
  42. #define _Dtksh_xmcvt_h
  43. #include <Tt/tttk.h>
  44. extern struct named_integer NI_TT_STATUS[];
  45. extern char * XmStringToString(
  46. XmString string) ;
  47. extern void DtkshCvtXmStringToString(
  48. Display *dpy,
  49. XrmValuePtr args,
  50. Cardinal *nargs,
  51. XrmValuePtr fval,
  52. XrmValuePtr toval,
  53. XtPointer data) ;
  54. extern void DtkshCvtKeySymToString(
  55. XrmValuePtr args,
  56. Cardinal *nargs,
  57. XrmValuePtr fval,
  58. XrmValuePtr toval) ;
  59. extern void DtkshCvtListItemsToString(
  60. Display *dpy,
  61. XrmValuePtr args,
  62. Cardinal *nargs,
  63. XrmValuePtr fval,
  64. XrmValuePtr toval,
  65. XtPointer data) ;
  66. extern void DtkshCvtNamedValueToString(
  67. XrmValue *args,
  68. Cardinal *nargs,
  69. XrmValuePtr fval,
  70. XrmValuePtr toval) ;
  71. extern void DtkshCvtStringToNamedValue(
  72. XrmValue *args,
  73. Cardinal *nargs,
  74. XrmValuePtr fval,
  75. XrmValuePtr toval) ;
  76. extern void DtkshRegisterNamedIntConverters( void ) ;
  77. extern void DtkshCvtXEModifierStateToString(
  78. XrmValuePtr args,
  79. Cardinal *nargs,
  80. XrmValuePtr fval,
  81. XrmValuePtr toval) ;
  82. extern void DtkshCvtXEMotionHintToString(
  83. XrmValuePtr args,
  84. Cardinal *nargs,
  85. XrmValuePtr fval,
  86. XrmValuePtr toval) ;
  87. extern void DtkshCvtTtStatusToString(
  88. Tt_status ttStatus,
  89. XrmValue *pToVal);
  90. extern void DtkshCvtStringToTtStatus(
  91. char *pString,
  92. XrmValue *pToVal);
  93. extern void DtkshCvtStringToBool(
  94. char *pString,
  95. XrmValue *pToVal);
  96. extern void DtkshCvtStringToTtOp(
  97. char *pString,
  98. XrmValue *pToVal);
  99. extern void DtkshCvtTtOpToString(
  100. Tttk_op op,
  101. XrmValue *pToVal);
  102. extern void DtkshCvtStringToTtScope(
  103. char *pString,
  104. XrmValue *pToVal);
  105. /******** Private Function Declarations ********/
  106. extern char * _CvtXmStringTableToString(
  107. XmStringTable stringtable,
  108. int itemCount) ;
  109. #endif /* _Dtksh_xmcvt_h */
  110. /* DON'T ADD ANYTHING AFTER THIS #endif */