Dt.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. /* $TOG: Dt.h /main/12 1999/10/18 14:49:57 samborn $ */
  24. /*
  25. * (c) Copyright 1997, The Open Group
  26. */
  27. /*
  28. * (c) Copyright 1996 Digital Equipment Corporation.
  29. * (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
  30. * (c) Copyright 1993,1994,1996 International Business Machines Corp.
  31. * (c) Copyright 1993-1996 Sun Microsystems, Inc.
  32. * (c) Copyright 1993,1994,1996 Novell, Inc.
  33. * (c) Copyright 1996 FUJITSU LIMITED.
  34. * (c) Copyright 1996 Hitachi.
  35. */
  36. #ifndef _Dt_Dt_h
  37. #define _Dt_Dt_h
  38. #include <X11/Intrinsic.h>
  39. #ifdef __cplusplus
  40. extern "C" {
  41. #endif
  42. /*
  43. * Constants
  44. */
  45. /* CDE Version information */
  46. #define DtVERSION 2
  47. #define DtREVISION 2
  48. #define DtUPDATE_LEVEL 4
  49. #define DtVERSION_NUMBER (DtVERSION * 10000 + \
  50. DtREVISION * 100 + \
  51. DtUPDATE_LEVEL)
  52. #define DtVERSION_STRING "CDE Version 2.2.4"
  53. /*
  54. * CDE Version information
  55. */
  56. externalref const int DtVersion;
  57. externalref const char *DtVersionString;
  58. /*
  59. * Functions
  60. */
  61. extern Boolean DtInitialize(
  62. Display *display,
  63. Widget widget,
  64. char *name,
  65. char *tool_class);
  66. extern Boolean DtAppInitialize(
  67. XtAppContext app_context,
  68. Display *display,
  69. Widget widget,
  70. char *name,
  71. char *tool_class);
  72. #ifdef __cplusplus
  73. }
  74. #endif
  75. #endif /* _Dt_Dt_h */