(* Xm/Command.def  Oct 15  16:5:32  1996 *)
(* Copyright (c) 1996,1997 XDS Ltd, Russia. All rights reserved. *)

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

(* $RCSfile: Command.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"] Command;

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

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

(*
 * Motif Release 1.2.1
 *)

VAR 
  xmCommandWidgetClass: Xt.WidgetClass;

TYPE 
  _XmCommandClassRec = RECORD

(* Declaration without definition *)
  END;

  XmCommandWidgetClass = POINTER TO _XmCommandClassRec;

  _XmCommandRec = RECORD

(* Declaration without definition *)
  END;

  XmCommandWidget = POINTER TO _XmCommandRec;

<* IF __GEN_C__ THEN *>

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

<* ELSE *>

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

<* END *>

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

PROCEDURE XmCreateCommand ( parent: Xt.Widget; name: ARRAY OF CHAR;
                            al: Xt.ArgList;
                            ac: Xt.Cardinal ): Xt.Widget;

PROCEDURE XmCommandGetChild ( widget: Xt.Widget;
                              child: SYSTEM.unsigned ): Xt.Widget;

PROCEDURE XmCommandSetValue ( widget: Xt.Widget; value: Xm.XmString );

PROCEDURE XmCommandAppendValue ( widget: Xt.Widget;
                                 value: Xm.XmString );

PROCEDURE XmCommandError ( widget: Xt.Widget; error: Xm.XmString );

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

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

END Command.
