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 / FileSB.h.z / FileSB.h
C/C++ Source or Header  |  1996-03-14  |  2KB  |  92 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: FileSB.h,v $ $Revision: 1.2 $ $Date: 1994/04/20 01:32:33 $ */
  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 _XmFSelect_h
  14. #define _XmFSelect_h
  15.  
  16. #include <Xm/Xm.h>
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22.  
  23. /* Type definitions for FileSB resources: */
  24.  
  25. #ifdef _NO_PROTO
  26.  
  27. typedef void (*XmQualifyProc)() ;
  28. typedef void (*XmSearchProc)() ;
  29.  
  30. #else
  31.  
  32. typedef void (*XmQualifyProc)( Widget, XtPointer, XtPointer) ;
  33. typedef void (*XmSearchProc)( Widget, XtPointer) ;
  34.  
  35. #endif
  36.  
  37.  
  38. /* Class record constants */
  39.  
  40. externalref WidgetClass xmFileSelectionBoxWidgetClass;
  41.  
  42. typedef struct _XmFileSelectionBoxClassRec * XmFileSelectionBoxWidgetClass;
  43. typedef struct _XmFileSelectionBoxRec      * XmFileSelectionBoxWidget;
  44.  
  45.  
  46. #ifndef XmIsFileSelectionBox
  47. #define XmIsFileSelectionBox(w) (XtIsSubclass((w),xmFileSelectionBoxWidgetClass))
  48. #endif
  49.  
  50.  
  51. /********    Public Function Declarations    ********/
  52. #ifdef _NO_PROTO
  53.  
  54. extern Widget XmFileSelectionBoxGetChild() ;
  55. extern void XmFileSelectionDoSearch() ;
  56. extern Widget XmCreateFileSelectionBox() ;
  57. extern Widget XmCreateFileSelectionDialog() ;
  58.  
  59. #else
  60.  
  61. extern Widget XmFileSelectionBoxGetChild( 
  62.                         Widget fs,
  63. #if NeedWidePrototypes
  64.                         unsigned int which) ;
  65. #else
  66.                         unsigned char which) ;
  67. #endif /* NeedWidePrototypes */
  68. extern void XmFileSelectionDoSearch( 
  69.                         Widget fs,
  70.                         XmString dirmask) ;
  71. extern Widget XmCreateFileSelectionBox( 
  72.                         Widget p,
  73.                         String name,
  74.                         ArgList args,
  75.                         Cardinal n) ;
  76. extern Widget XmCreateFileSelectionDialog( 
  77.                         Widget ds_p,
  78.                         String name,
  79.                         ArgList fsb_args,
  80.                         Cardinal fsb_n) ;
  81.  
  82. #endif /* _NO_PROTO */
  83. /********    End Public Function Declarations    ********/
  84.  
  85.  
  86. #ifdef __cplusplus
  87. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  88. #endif
  89.  
  90. #endif /* _XmFSelect_h */
  91. /* DON'T ADD ANYTHING AFTER THIS #endif */
  92.