2
* @OPENGROUP_COPYRIGHT@
4
* Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
5
* Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
6
* ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
7
* the full copyright text.
9
* This software is subject to an open license. It may only be
10
* used on, with or for operating systems which are themselves open
11
* source systems. You must contact The Open Group for a license
12
* allowing distribution and sublicensing of this software on, with,
13
* or for operating systems which are not Open Source programs.
15
* See http://www.opengroup.org/openmotif/license for full
16
* details of the license agreement. Any use, reproduction, or
17
* distribution of the program constitutes recipient's acceptance of
20
* EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
21
* PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
22
* KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
23
* WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
24
* OR FITNESS FOR A PARTICULAR PURPOSE
26
* EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
27
* NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
28
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
* DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
30
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32
* ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
33
* EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
34
* POSSIBILITY OF SUCH DAMAGES.
39
/* $XConsortium: CommandP.h /main/11 1995/07/14 10:16:43 drk $ */
41
* (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
43
* (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
47
#include <Xm/SelectioBP.h>
48
#include <Xm/Command.h>
54
/* Constraint part record for Command widget */
56
typedef struct _XmCommandConstraintPart
59
} XmCommandConstraintPart, * XmCommandConstraint;
61
/* New fields for the Command widget class record */
65
XtPointer extension; /* Pointer to extension record */
69
/* Full class record declaration */
71
typedef struct _XmCommandClassRec
73
CoreClassPart core_class;
74
CompositeClassPart composite_class;
75
ConstraintClassPart constraint_class;
76
XmManagerClassPart manager_class;
77
XmBulletinBoardClassPart bulletin_board_class;
78
XmSelectionBoxClassPart selection_box_class;
79
XmCommandClassPart command_class;
82
externalref XmCommandClassRec xmCommandClassRec;
84
/* New fields for the Command widget record */
88
XtCallbackList callback;
89
XtCallbackList value_changed_callback;
90
int history_max_items;
91
Boolean error; /* error has been made visible in list */
95
/****************************************************************
97
* Full instance record declaration
99
****************************************************************/
101
typedef struct _XmCommandRec
104
CompositePart composite;
105
ConstraintPart constraint;
106
XmManagerPart manager;
107
XmBulletinBoardPart bulletin_board;
108
XmSelectionBoxPart selection_box;
109
XmCommandPart command;
114
} /* Close scope of 'extern "C"' declaration which encloses file. */
117
#endif /* _XmCommandP_h */
118
/* DON'T ADD ANYTHING AFTER THIS #endif */