home *** CD-ROM | disk | FTP | other *** search
/ IRIS Development Option 6.2 / IRIS_Development_Option_6.2_814-0478-001.iso / dist / dev.idb / usr / include / abi / Xm / MessageB.h.z / MessageB.h
C/C++ Source or Header  |  1996-03-14  |  3KB  |  108 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: MessageB.h,v $ $Revision: 1.2 $ $Date: 1994/04/20 01:36:24 $ */
  9. /*
  10. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  11. /*
  12. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13. #ifndef _XmMessage_h
  14. #define _XmMessage_h
  15.  
  16. #include <Xm/Xm.h>
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. /* Class record constants */
  23.  
  24. externalref WidgetClass xmMessageBoxWidgetClass;
  25.  
  26. typedef struct _XmMessageBoxClassRec * XmMessageBoxWidgetClass;
  27. typedef struct _XmMessageBoxRec      * XmMessageBoxWidget;
  28.  
  29. /* fast XtIsSubclass define */
  30. #ifndef XmIsMessageBox
  31. #define XmIsMessageBox(w) XtIsSubclass (w, xmMessageBoxWidgetClass)
  32. #endif 
  33.  
  34.  
  35. /********    Public Function Declarations    ********/
  36. #ifdef _NO_PROTO
  37.  
  38. extern Widget XmCreateMessageBox() ;
  39. extern Widget XmCreateMessageDialog() ;
  40. extern Widget XmCreateErrorDialog() ;
  41. extern Widget XmCreateInformationDialog() ;
  42. extern Widget XmCreateQuestionDialog() ;
  43. extern Widget XmCreateWarningDialog() ;
  44. extern Widget XmCreateWorkingDialog() ;
  45. extern Widget XmCreateTemplateDialog() ;
  46. extern Widget XmMessageBoxGetChild() ;
  47.  
  48. #else
  49.  
  50. extern Widget XmCreateMessageBox( 
  51.                         Widget parent,
  52.                         char *name,
  53.                         ArgList al,
  54.                         Cardinal ac) ;
  55. extern Widget XmCreateMessageDialog( 
  56.                         Widget parent,
  57.                         char *name,
  58.                         ArgList al,
  59.                         Cardinal ac) ;
  60. extern Widget XmCreateErrorDialog( 
  61.                         Widget parent,
  62.                         char *name,
  63.                         ArgList al,
  64.                         Cardinal ac) ;
  65. extern Widget XmCreateInformationDialog( 
  66.                         Widget parent,
  67.                         char *name,
  68.                         ArgList al,
  69.                         Cardinal ac) ;
  70. extern Widget XmCreateQuestionDialog( 
  71.                         Widget parent,
  72.                         char *name,
  73.                         ArgList al,
  74.                         Cardinal ac) ;
  75. extern Widget XmCreateWarningDialog( 
  76.                         Widget parent,
  77.                         char *name,
  78.                         ArgList al,
  79.                         Cardinal ac) ;
  80. extern Widget XmCreateWorkingDialog( 
  81.                         Widget parent,
  82.                         char *name,
  83.                         ArgList al,
  84.                         Cardinal ac) ;
  85. extern Widget XmCreateTemplateDialog( 
  86.                         Widget parent,
  87.                         char *name,
  88.                         ArgList al,
  89.                         Cardinal ac) ;
  90. extern Widget XmMessageBoxGetChild( 
  91.                         Widget widget,
  92. #if NeedWidePrototypes
  93.                         unsigned int child) ;
  94. #else
  95.                         unsigned char child) ;
  96. #endif /* NeedWidePrototypes */
  97.  
  98. #endif /* _NO_PROTO */
  99. /********    End Public Function Declarations    ********/
  100.  
  101.  
  102. #ifdef __cplusplus
  103. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  104. #endif
  105.  
  106. #endif /* _XmMessage_h */
  107. /* DON'T ADD ANYTHING AFTER THIS #endif */
  108.