home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / Command.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  2.2 KB  |  86 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2.1
  7. */ 
  8. /*   $RCSfile: Command.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:35: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 _XmCommand_h
  14. #define _XmCommand_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 xmCommandWidgetClass;
  25.  
  26. typedef struct _XmCommandClassRec * XmCommandWidgetClass;
  27. typedef struct _XmCommandRec      * XmCommandWidget;
  28.  
  29.  
  30. #ifndef XmIsCommand
  31. #define XmIsCommand(w)  (XtIsSubclass (w, xmCommandWidgetClass))
  32. #endif
  33.  
  34.  
  35.  
  36. /********    Public Function Declarations    ********/
  37. #ifdef _NO_PROTO
  38.  
  39. extern Widget XmCreateCommand() ;
  40. extern Widget XmCommandGetChild() ;
  41. extern void XmCommandSetValue() ;
  42. extern void XmCommandAppendValue() ;
  43. extern void XmCommandError() ;
  44. extern Widget XmCreateCommandDialog() ;
  45.  
  46. #else
  47.  
  48. extern Widget XmCreateCommand( 
  49.                         Widget parent,
  50.                         String name,
  51.                         ArgList al,
  52.                         Cardinal ac) ;
  53. extern Widget XmCommandGetChild( 
  54.                         Widget widget,
  55. #if NeedWidePrototypes
  56.                         unsigned int child) ;
  57. #else
  58.                         unsigned char child) ;
  59. #endif /* NeedWidePrototypes */
  60. extern void XmCommandSetValue( 
  61.                         Widget widget,
  62.                         XmString value) ;
  63. extern void XmCommandAppendValue( 
  64.                         Widget widget,
  65.                         XmString value) ;
  66. extern void XmCommandError( 
  67.                         Widget widget,
  68.                         XmString error) ;
  69. extern Widget XmCreateCommandDialog( 
  70.                         Widget ds_p,
  71.                         String name,
  72.                         ArgList fsb_args,
  73.                         Cardinal fsb_n) ;
  74.  
  75.  
  76. #endif /* _NO_PROTO */
  77. /********    End Public Function Declarations    ********/
  78.  
  79.  
  80. #ifdef __cplusplus
  81. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  82. #endif
  83.  
  84. #endif /* _XmCommand_h */
  85. /* DON'T ADD ANYTHING AFTER THIS #endif */
  86.