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 / X11 / ConstrainP.h.z / ConstrainP.h
C/C++ Source or Header  |  1996-03-14  |  3KB  |  72 lines

  1. /* $XConsortium: ConstrainP.h,v 1.14 89/10/04 12:22:33 swick Exp $ */
  2. /* $oHeader: ConstrainP.h,v 1.2 88/08/18 15:54:15 asente Exp $ */
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. #ifndef _XtConstraintP_h
  28. #define _XtConstraintP_h
  29.  
  30. #include <X11/Constraint.h>
  31.  
  32. typedef struct _ConstraintPart {
  33.     XtPointer   mumble;        /* No new fields, keep C compiler happy */
  34. } ConstraintPart;
  35.  
  36. typedef struct _ConstraintRec {
  37.     CorePart        core;
  38.     CompositePart   composite;
  39.     ConstraintPart  constraint;
  40. } ConstraintRec, *ConstraintWidget;
  41.  
  42. typedef struct _ConstraintClassPart {
  43.     XtResourceList resources;          /* constraint resource list         */
  44.     Cardinal   num_resources;         /* number of constraints in list       */
  45.     Cardinal   constraint_size;       /* size of constraint record           */
  46.     XtInitProc initialize;            /* constraint initialization           */
  47.     XtWidgetProc destroy;             /* constraint destroy proc             */
  48.     XtSetValuesFunc set_values;       /* constraint set_values proc          */
  49.     XtPointer        extension;        /* pointer to extension record      */
  50. } ConstraintClassPart;
  51.  
  52. typedef struct {
  53.     XtPointer next_extension;    /* 1st 4 mandated for all extension records */
  54.     XrmQuark record_type;    /* NULLQUARK; on ConstraintClassPart */
  55.     long version;        /* must be XtConstraintExtensionVersion */
  56.     Cardinal record_size;    /* sizeof(ConstraintClassExtensionRec) */
  57.     XtArgsProc get_values_hook;
  58. } ConstraintClassExtensionRec, *ConstraintClassExtension;
  59.  
  60. typedef struct _ConstraintClassRec {
  61.     CoreClassPart       core_class;
  62.     CompositeClassPart  composite_class;
  63.     ConstraintClassPart constraint_class;
  64. } ConstraintClassRec;
  65.  
  66. externalref ConstraintClassRec constraintClassRec;
  67.  
  68. #define XtConstraintExtensionVersion 1L
  69.  
  70. #endif /* _XtConstraintP_h */
  71. /* DON'T ADD STUFF AFTER THIS #endif */
  72.