(* Xm/FileSB.def  Oct 15  17:34:27  1996 *)
(* Copyright (c) 1996,1997 XDS Ltd, Russia. All rights reserved. *)

(* Converted from Xm/FileSB.h using H2D v1.16. *)

(* $RCSfile: FileSB.def,v $ $Revision: 4 $ $Date: 28.07.98 23:14 $ *)

<*+ M2ADDTYPES *>
<*+ M2EXTENSIONS *>
<*+ NOHEADER *> 
<* IF NOT DEFINED(GENTYPEDEF) THEN *> <* NEW GENTYPEDEF+ *> <* END *>
<*+ CSTDLIB *>

DEFINITION MODULE ["C"] FileSB;

IMPORT SYSTEM, Xt:=Intrinsic, Xm;
(* H2D:  Required IMPORT clause: 
IMPORT FileSB, Intrinsic, Xm;
*)

(*
 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 *)

(*
 * Motif Release 1.2 
 *)

(*  Type definitions for FileSB resources:  *)

TYPE 
  XmQualifyProc = PROCEDURE ( Xt.Widget,
                              Xt.XtPointer,
                              Xt.XtPointer );

  XmSearchProc = PROCEDURE ( Xt.Widget,
                             Xt.XtPointer );

(*  Class record constants  *)

  _XmFileSelectionBoxClassRec = RECORD
    (* Declaration without definition *)
  END;

  XmFileSelectionBoxWidgetClass = POINTER TO _XmFileSelectionBoxClassRec;

  _XmFileSelectionBoxRec = RECORD
    (* Declaration without definition *)
  END;

  XmFileSelectionBoxWidget = POINTER TO _XmFileSelectionBoxRec;

VAR 
  xmFileSelectionBoxWidgetClass: Xt.WidgetClass;

<* IF __GEN_C__ THEN *>

(* H2D: this procedure corresponds to a macro. *)
PROCEDURE XmIsFileSelectionBox ( w: Xt.Widget ): Xt.Boolean;

<* ELSE *>

PROCEDURE  / XmIsFileSelectionBox ( w: Xt.Widget ): Xt.Boolean;

<* END *>

(********    Public Function Declarations    ********)

PROCEDURE XmFileSelectionBoxGetChild ( fs: Xt.Widget;
                                       which: SYSTEM.unsigned ): Xt.Widget;

PROCEDURE XmFileSelectionDoSearch ( fs: Xt.Widget;
                                    dirmask: Xm.XmString );

PROCEDURE XmCreateFileSelectionBox ( p: Xt.Widget;
                                     name: ARRAY OF CHAR;
                                     args: Xt.ArgList;
                                     n: Xt.Cardinal ): Xt.Widget;

PROCEDURE XmCreateFileSelectionDialog ( ds_p: Xt.Widget;
                                        name: ARRAY OF CHAR;
                                        fsb_args: Xt.ArgList;
                                        fsb_n: Xt.Cardinal ): Xt.Widget;

(********    End Public Function Declarations    ********)

END FileSB.
