Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11
File: ObjectP.h
/***********************************************************
[0] Fix | Delete
[1] Fix | Delete
Copyright 1987, 1988, 1994, 1998 The Open Group
[2] Fix | Delete
[3] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[4] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[5] Fix | Delete
the above copyright notice appear in all copies and that both that
[6] Fix | Delete
copyright notice and this permission notice appear in supporting
[7] Fix | Delete
documentation.
[8] Fix | Delete
[9] Fix | Delete
The above copyright notice and this permission notice shall be included in
[10] Fix | Delete
all copies or substantial portions of the Software.
[11] Fix | Delete
[12] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
[13] Fix | Delete
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[14] Fix | Delete
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
[15] Fix | Delete
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
[16] Fix | Delete
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
[17] Fix | Delete
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[18] Fix | Delete
[19] Fix | Delete
Except as contained in this notice, the name of The Open Group shall not be
[20] Fix | Delete
used in advertising or otherwise to promote the sale, use or other dealings
[21] Fix | Delete
in this Software without prior written authorization from The Open Group.
[22] Fix | Delete
[23] Fix | Delete
[24] Fix | Delete
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
[25] Fix | Delete
[26] Fix | Delete
All Rights Reserved
[27] Fix | Delete
[28] Fix | Delete
Permission to use, copy, modify, and distribute this software and its
[29] Fix | Delete
documentation for any purpose and without fee is hereby granted,
[30] Fix | Delete
provided that the above copyright notice appear in all copies and that
[31] Fix | Delete
both that copyright notice and this permission notice appear in
[32] Fix | Delete
supporting documentation, and that the name of Digital not be
[33] Fix | Delete
used in advertising or publicity pertaining to distribution of the
[34] Fix | Delete
software without specific, written prior permission.
[35] Fix | Delete
[36] Fix | Delete
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
[37] Fix | Delete
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
[38] Fix | Delete
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
[39] Fix | Delete
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
[40] Fix | Delete
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
[41] Fix | Delete
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
[42] Fix | Delete
SOFTWARE.
[43] Fix | Delete
[44] Fix | Delete
******************************************************************/
[45] Fix | Delete
[46] Fix | Delete
#ifndef _Xt_ObjectP_h_
[47] Fix | Delete
#define _Xt_ObjectP_h_
[48] Fix | Delete
[49] Fix | Delete
#include <X11/Object.h>
[50] Fix | Delete
[51] Fix | Delete
_XFUNCPROTOBEGIN
[52] Fix | Delete
[53] Fix | Delete
/**********************************************************
[54] Fix | Delete
* Object Instance Data Structures
[55] Fix | Delete
*
[56] Fix | Delete
**********************************************************/
[57] Fix | Delete
/* these fields match CorePart and can not be changed */
[58] Fix | Delete
[59] Fix | Delete
typedef struct _ObjectPart {
[60] Fix | Delete
Widget self; /* pointer to widget itself */
[61] Fix | Delete
WidgetClass widget_class; /* pointer to Widget's ClassRec */
[62] Fix | Delete
Widget parent; /* parent widget */
[63] Fix | Delete
XrmName xrm_name; /* widget resource name quarkified */
[64] Fix | Delete
Boolean being_destroyed; /* marked for destroy */
[65] Fix | Delete
XtCallbackList destroy_callbacks; /* who to call when widget destroyed */
[66] Fix | Delete
XtPointer constraints; /* constraint record */
[67] Fix | Delete
} ObjectPart;
[68] Fix | Delete
[69] Fix | Delete
typedef struct _ObjectRec {
[70] Fix | Delete
ObjectPart object;
[71] Fix | Delete
} ObjectRec;
[72] Fix | Delete
[73] Fix | Delete
/********************************************************
[74] Fix | Delete
* Object Class Data Structures
[75] Fix | Delete
*
[76] Fix | Delete
********************************************************/
[77] Fix | Delete
/* these fields match CoreClassPart and can not be changed */
[78] Fix | Delete
/* ideally these structures would only contain the fields required;
[79] Fix | Delete
but because the CoreClassPart cannot be changed at this late date
[80] Fix | Delete
extraneous fields are necessary to make the field offsets match */
[81] Fix | Delete
[82] Fix | Delete
typedef struct _ObjectClassPart {
[83] Fix | Delete
[84] Fix | Delete
WidgetClass superclass; /* pointer to superclass ClassRec */
[85] Fix | Delete
String class_name; /* widget resource class name */
[86] Fix | Delete
Cardinal widget_size; /* size in bytes of widget record */
[87] Fix | Delete
XtProc class_initialize; /* class initialization proc */
[88] Fix | Delete
XtWidgetClassProc class_part_initialize; /* dynamic initialization */
[89] Fix | Delete
XtEnum class_inited; /* has class been initialized? */
[90] Fix | Delete
XtInitProc initialize; /* initialize subclass fields */
[91] Fix | Delete
XtArgsProc initialize_hook; /* notify that initialize called */
[92] Fix | Delete
XtProc obj1; /* NULL */
[93] Fix | Delete
XtPointer obj2; /* NULL */
[94] Fix | Delete
Cardinal obj3; /* NULL */
[95] Fix | Delete
XtResourceList resources; /* resources for subclass fields */
[96] Fix | Delete
Cardinal num_resources; /* number of entries in resources */
[97] Fix | Delete
XrmClass xrm_class; /* resource class quarkified */
[98] Fix | Delete
Boolean obj4; /* NULL */
[99] Fix | Delete
XtEnum obj5; /* NULL */
[100] Fix | Delete
Boolean obj6; /* NULL */
[101] Fix | Delete
Boolean obj7; /* NULL */
[102] Fix | Delete
XtWidgetProc destroy; /* free data for subclass pointers */
[103] Fix | Delete
XtProc obj8; /* NULL */
[104] Fix | Delete
XtProc obj9; /* NULL */
[105] Fix | Delete
XtSetValuesFunc set_values; /* set subclass resource values */
[106] Fix | Delete
XtArgsFunc set_values_hook; /* notify that set_values called */
[107] Fix | Delete
XtProc obj10; /* NULL */
[108] Fix | Delete
XtArgsProc get_values_hook; /* notify that get_values called */
[109] Fix | Delete
XtProc obj11; /* NULL */
[110] Fix | Delete
XtVersionType version; /* version of intrinsics used */
[111] Fix | Delete
XtPointer callback_private; /* list of callback offsets */
[112] Fix | Delete
String obj12; /* NULL */
[113] Fix | Delete
XtProc obj13; /* NULL */
[114] Fix | Delete
XtProc obj14; /* NULL */
[115] Fix | Delete
XtPointer extension; /* pointer to extension record */
[116] Fix | Delete
}ObjectClassPart;
[117] Fix | Delete
[118] Fix | Delete
typedef struct {
[119] Fix | Delete
XtPointer next_extension; /* 1st 4 required for all extension records */
[120] Fix | Delete
XrmQuark record_type; /* NULLQUARK; when on ObjectClassPart */
[121] Fix | Delete
long version; /* must be XtObjectExtensionVersion */
[122] Fix | Delete
Cardinal record_size; /* sizeof(ObjectClassExtensionRec) */
[123] Fix | Delete
XtAllocateProc allocate;
[124] Fix | Delete
XtDeallocateProc deallocate;
[125] Fix | Delete
} ObjectClassExtensionRec, *ObjectClassExtension;
[126] Fix | Delete
[127] Fix | Delete
typedef struct _ObjectClassRec {
[128] Fix | Delete
ObjectClassPart object_class;
[129] Fix | Delete
} ObjectClassRec;
[130] Fix | Delete
[131] Fix | Delete
externalref ObjectClassRec objectClassRec;
[132] Fix | Delete
[133] Fix | Delete
_XFUNCPROTOEND
[134] Fix | Delete
[135] Fix | Delete
#define XtObjectExtensionVersion 1L
[136] Fix | Delete
#define XtInheritAllocate ((XtAllocateProc) _XtInherit)
[137] Fix | Delete
#define XtInheritDeallocate ((XtDeallocateProc) _XtInherit)
[138] Fix | Delete
[139] Fix | Delete
#endif /*_Xt_ObjectP_h_*/
[140] Fix | Delete
[141] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function