Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:23

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */ 
0023 #ifndef _XmCommandP_h
0024 #define _XmCommandP_h
0025 
0026 #include <Xm/SelectioBP.h>
0027 #include <Xm/Command.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 /* Constraint part record for Command widget */
0034 
0035 typedef struct _XmCommandConstraintPart
0036 {
0037   char unused;
0038 } XmCommandConstraintPart, * XmCommandConstraint;
0039 
0040 /*  New fields for the Command widget class record  */
0041 
0042 typedef struct
0043 {
0044   XtPointer           extension;      /* Pointer to extension record */
0045 } XmCommandClassPart;
0046 
0047 
0048 /* Full class record declaration */
0049 
0050 typedef struct _XmCommandClassRec
0051 {
0052   CoreClassPart            core_class;
0053   CompositeClassPart       composite_class;
0054   ConstraintClassPart      constraint_class;
0055   XmManagerClassPart       manager_class;
0056   XmBulletinBoardClassPart bulletin_board_class;
0057   XmSelectionBoxClassPart  selection_box_class;
0058   XmCommandClassPart       command_class;
0059 } XmCommandClassRec;
0060 
0061 externalref XmCommandClassRec xmCommandClassRec;
0062 
0063 /* New fields for the Command widget record */
0064 
0065 typedef struct
0066 {
0067   XtCallbackList   callback;
0068   XtCallbackList   value_changed_callback;
0069   int              history_max_items;
0070   Boolean          error;        /* error has been made visible in list */
0071 } XmCommandPart;
0072 
0073 
0074 /****************************************************************
0075  *
0076  * Full instance record declaration
0077  *
0078  ****************************************************************/
0079 
0080 typedef struct _XmCommandRec
0081 {
0082     CorePart            core;
0083     CompositePart       composite;
0084     ConstraintPart      constraint;
0085     XmManagerPart       manager;
0086     XmBulletinBoardPart bulletin_board;
0087     XmSelectionBoxPart  selection_box;
0088     XmCommandPart       command;
0089 } XmCommandRec;
0090 
0091 
0092 #ifdef __cplusplus
0093 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0094 #endif
0095 
0096 #endif /* _XmCommandP_h */
0097 /* DON'T ADD ANYTHING AFTER THIS #endif */