Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/X11
File: ShellP.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
/*
[47] Fix | Delete
* ShellP.h - Private definitions for Shell widget
[48] Fix | Delete
*
[49] Fix | Delete
* Author: Paul Asente
[50] Fix | Delete
* Digital Equipment Corporation
[51] Fix | Delete
* Western Software Laboratory
[52] Fix | Delete
* Date: Thu Dec 3, 1987
[53] Fix | Delete
*/
[54] Fix | Delete
[55] Fix | Delete
#ifndef _XtShellPrivate_h
[56] Fix | Delete
#define _XtShellPrivate_h
[57] Fix | Delete
[58] Fix | Delete
#include <X11/Shell.h>
[59] Fix | Delete
[60] Fix | Delete
/* *****
[61] Fix | Delete
* ***** VendorP.h is included later on; it needs fields defined in the first
[62] Fix | Delete
* ***** part of this header file
[63] Fix | Delete
* *****
[64] Fix | Delete
*/
[65] Fix | Delete
[66] Fix | Delete
_XFUNCPROTOBEGIN
[67] Fix | Delete
[68] Fix | Delete
/***********************************************************************
[69] Fix | Delete
*
[70] Fix | Delete
* Shell Widget Private Data
[71] Fix | Delete
*
[72] Fix | Delete
***********************************************************************/
[73] Fix | Delete
[74] Fix | Delete
/* New fields for the Shell widget class record */
[75] Fix | Delete
[76] Fix | Delete
typedef struct {
[77] Fix | Delete
XtPointer extension; /* pointer to extension record */
[78] Fix | Delete
} ShellClassPart;
[79] Fix | Delete
[80] Fix | Delete
typedef struct {
[81] Fix | Delete
XtPointer next_extension; /* 1st 4 mandated for all extension records */
[82] Fix | Delete
XrmQuark record_type; /* NULLQUARK; on ShellClassPart */
[83] Fix | Delete
long version; /* must be XtShellExtensionVersion */
[84] Fix | Delete
Cardinal record_size; /* sizeof(ShellClassExtensionRec) */
[85] Fix | Delete
XtGeometryHandler root_geometry_manager;
[86] Fix | Delete
} ShellClassExtensionRec, *ShellClassExtension;
[87] Fix | Delete
[88] Fix | Delete
#define XtShellExtensionVersion 1L
[89] Fix | Delete
#define XtInheritRootGeometryManager ((XtGeometryHandler)_XtInherit)
[90] Fix | Delete
[91] Fix | Delete
typedef struct _ShellClassRec {
[92] Fix | Delete
CoreClassPart core_class;
[93] Fix | Delete
CompositeClassPart composite_class;
[94] Fix | Delete
ShellClassPart shell_class;
[95] Fix | Delete
} ShellClassRec;
[96] Fix | Delete
[97] Fix | Delete
externalref ShellClassRec shellClassRec;
[98] Fix | Delete
[99] Fix | Delete
/* New fields for the shell widget */
[100] Fix | Delete
[101] Fix | Delete
typedef struct {
[102] Fix | Delete
char *geometry;
[103] Fix | Delete
XtCreatePopupChildProc create_popup_child_proc;
[104] Fix | Delete
XtGrabKind grab_kind;
[105] Fix | Delete
Boolean spring_loaded;
[106] Fix | Delete
Boolean popped_up;
[107] Fix | Delete
Boolean allow_shell_resize;
[108] Fix | Delete
Boolean client_specified; /* re-using old name */
[109] Fix | Delete
#define _XtShellPositionValid ((Boolean)(1<<0))
[110] Fix | Delete
#define _XtShellNotReparented ((Boolean)(1<<1))
[111] Fix | Delete
#define _XtShellPPositionOK ((Boolean)(1<<2))
[112] Fix | Delete
#define _XtShellGeometryParsed ((Boolean)(1<<3))
[113] Fix | Delete
Boolean save_under;
[114] Fix | Delete
Boolean override_redirect;
[115] Fix | Delete
[116] Fix | Delete
XtCallbackList popup_callback;
[117] Fix | Delete
XtCallbackList popdown_callback;
[118] Fix | Delete
Visual* visual;
[119] Fix | Delete
} ShellPart;
[120] Fix | Delete
[121] Fix | Delete
typedef struct {
[122] Fix | Delete
CorePart core;
[123] Fix | Delete
CompositePart composite;
[124] Fix | Delete
ShellPart shell;
[125] Fix | Delete
} ShellRec, *ShellWidget;
[126] Fix | Delete
[127] Fix | Delete
/***********************************************************************
[128] Fix | Delete
*
[129] Fix | Delete
* OverrideShell Widget Private Data
[130] Fix | Delete
*
[131] Fix | Delete
***********************************************************************/
[132] Fix | Delete
[133] Fix | Delete
/* New fields for the OverrideShell widget class record */
[134] Fix | Delete
[135] Fix | Delete
typedef struct {
[136] Fix | Delete
XtPointer extension; /* pointer to extension record */
[137] Fix | Delete
} OverrideShellClassPart;
[138] Fix | Delete
[139] Fix | Delete
typedef struct _OverrideShellClassRec {
[140] Fix | Delete
CoreClassPart core_class;
[141] Fix | Delete
CompositeClassPart composite_class;
[142] Fix | Delete
ShellClassPart shell_class;
[143] Fix | Delete
OverrideShellClassPart override_shell_class;
[144] Fix | Delete
} OverrideShellClassRec;
[145] Fix | Delete
[146] Fix | Delete
externalref OverrideShellClassRec overrideShellClassRec;
[147] Fix | Delete
[148] Fix | Delete
/* No new fields for the override shell widget */
[149] Fix | Delete
[150] Fix | Delete
typedef struct {int frabjous;} OverrideShellPart;
[151] Fix | Delete
[152] Fix | Delete
typedef struct {
[153] Fix | Delete
CorePart core;
[154] Fix | Delete
CompositePart composite;
[155] Fix | Delete
ShellPart shell;
[156] Fix | Delete
OverrideShellPart override;
[157] Fix | Delete
} OverrideShellRec, *OverrideShellWidget;
[158] Fix | Delete
[159] Fix | Delete
/***********************************************************************
[160] Fix | Delete
*
[161] Fix | Delete
* WMShell Widget Private Data
[162] Fix | Delete
*
[163] Fix | Delete
***********************************************************************/
[164] Fix | Delete
[165] Fix | Delete
/* New fields for the WMShell widget class record */
[166] Fix | Delete
[167] Fix | Delete
typedef struct {
[168] Fix | Delete
XtPointer extension; /* pointer to extension record */
[169] Fix | Delete
} WMShellClassPart;
[170] Fix | Delete
[171] Fix | Delete
typedef struct _WMShellClassRec {
[172] Fix | Delete
CoreClassPart core_class;
[173] Fix | Delete
CompositeClassPart composite_class;
[174] Fix | Delete
ShellClassPart shell_class;
[175] Fix | Delete
WMShellClassPart wm_shell_class;
[176] Fix | Delete
} WMShellClassRec;
[177] Fix | Delete
[178] Fix | Delete
externalref WMShellClassRec wmShellClassRec;
[179] Fix | Delete
[180] Fix | Delete
/* New fields for the WM shell widget */
[181] Fix | Delete
[182] Fix | Delete
typedef struct {
[183] Fix | Delete
char *title;
[184] Fix | Delete
int wm_timeout;
[185] Fix | Delete
Boolean wait_for_wm;
[186] Fix | Delete
Boolean transient;
[187] Fix | Delete
Boolean urgency;
[188] Fix | Delete
Widget client_leader;
[189] Fix | Delete
String window_role;
[190] Fix | Delete
struct _OldXSizeHints { /* pre-R4 Xlib structure */
[191] Fix | Delete
long flags;
[192] Fix | Delete
int x, y;
[193] Fix | Delete
int width, height;
[194] Fix | Delete
int min_width, min_height;
[195] Fix | Delete
int max_width, max_height;
[196] Fix | Delete
int width_inc, height_inc;
[197] Fix | Delete
struct {
[198] Fix | Delete
int x;
[199] Fix | Delete
int y;
[200] Fix | Delete
} min_aspect, max_aspect;
[201] Fix | Delete
} size_hints;
[202] Fix | Delete
XWMHints wm_hints;
[203] Fix | Delete
int base_width, base_height;
[204] Fix | Delete
int win_gravity;
[205] Fix | Delete
Atom title_encoding;
[206] Fix | Delete
} WMShellPart;
[207] Fix | Delete
[208] Fix | Delete
typedef struct {
[209] Fix | Delete
CorePart core;
[210] Fix | Delete
CompositePart composite;
[211] Fix | Delete
ShellPart shell;
[212] Fix | Delete
WMShellPart wm;
[213] Fix | Delete
} WMShellRec, *WMShellWidget;
[214] Fix | Delete
[215] Fix | Delete
_XFUNCPROTOEND
[216] Fix | Delete
[217] Fix | Delete
#include <X11/VendorP.h>
[218] Fix | Delete
[219] Fix | Delete
_XFUNCPROTOBEGIN
[220] Fix | Delete
[221] Fix | Delete
/***********************************************************************
[222] Fix | Delete
*
[223] Fix | Delete
* TransientShell Widget Private Data
[224] Fix | Delete
*
[225] Fix | Delete
***********************************************************************/
[226] Fix | Delete
[227] Fix | Delete
/* New fields for the TransientShell widget class record */
[228] Fix | Delete
[229] Fix | Delete
typedef struct {
[230] Fix | Delete
XtPointer extension; /* pointer to extension record */
[231] Fix | Delete
} TransientShellClassPart;
[232] Fix | Delete
[233] Fix | Delete
typedef struct _TransientShellClassRec {
[234] Fix | Delete
CoreClassPart core_class;
[235] Fix | Delete
CompositeClassPart composite_class;
[236] Fix | Delete
ShellClassPart shell_class;
[237] Fix | Delete
WMShellClassPart wm_shell_class;
[238] Fix | Delete
VendorShellClassPart vendor_shell_class;
[239] Fix | Delete
TransientShellClassPart transient_shell_class;
[240] Fix | Delete
} TransientShellClassRec;
[241] Fix | Delete
[242] Fix | Delete
externalref TransientShellClassRec transientShellClassRec;
[243] Fix | Delete
[244] Fix | Delete
/* New fields for the transient shell widget */
[245] Fix | Delete
[246] Fix | Delete
typedef struct {
[247] Fix | Delete
Widget transient_for;
[248] Fix | Delete
} TransientShellPart;
[249] Fix | Delete
[250] Fix | Delete
typedef struct {
[251] Fix | Delete
CorePart core;
[252] Fix | Delete
CompositePart composite;
[253] Fix | Delete
ShellPart shell;
[254] Fix | Delete
WMShellPart wm;
[255] Fix | Delete
VendorShellPart vendor;
[256] Fix | Delete
TransientShellPart transient;
[257] Fix | Delete
} TransientShellRec, *TransientShellWidget;
[258] Fix | Delete
[259] Fix | Delete
/***********************************************************************
[260] Fix | Delete
*
[261] Fix | Delete
* TopLevelShell Widget Private Data
[262] Fix | Delete
*
[263] Fix | Delete
***********************************************************************/
[264] Fix | Delete
[265] Fix | Delete
/* New fields for the TopLevelShell widget class record */
[266] Fix | Delete
[267] Fix | Delete
typedef struct {
[268] Fix | Delete
XtPointer extension; /* pointer to extension record */
[269] Fix | Delete
} TopLevelShellClassPart;
[270] Fix | Delete
[271] Fix | Delete
typedef struct _TopLevelShellClassRec {
[272] Fix | Delete
CoreClassPart core_class;
[273] Fix | Delete
CompositeClassPart composite_class;
[274] Fix | Delete
ShellClassPart shell_class;
[275] Fix | Delete
WMShellClassPart wm_shell_class;
[276] Fix | Delete
VendorShellClassPart vendor_shell_class;
[277] Fix | Delete
TopLevelShellClassPart top_level_shell_class;
[278] Fix | Delete
} TopLevelShellClassRec;
[279] Fix | Delete
[280] Fix | Delete
externalref TopLevelShellClassRec topLevelShellClassRec;
[281] Fix | Delete
[282] Fix | Delete
/* New fields for the top level shell widget */
[283] Fix | Delete
[284] Fix | Delete
typedef struct {
[285] Fix | Delete
char *icon_name;
[286] Fix | Delete
Boolean iconic;
[287] Fix | Delete
Atom icon_name_encoding;
[288] Fix | Delete
} TopLevelShellPart;
[289] Fix | Delete
[290] Fix | Delete
typedef struct {
[291] Fix | Delete
CorePart core;
[292] Fix | Delete
CompositePart composite;
[293] Fix | Delete
ShellPart shell;
[294] Fix | Delete
WMShellPart wm;
[295] Fix | Delete
VendorShellPart vendor;
[296] Fix | Delete
TopLevelShellPart topLevel;
[297] Fix | Delete
} TopLevelShellRec, *TopLevelShellWidget;
[298] Fix | Delete
[299] Fix | Delete
/***********************************************************************
[300] Fix | Delete
*
[301] Fix | Delete
* ApplicationShell Widget Private Data
[302] Fix | Delete
*
[303] Fix | Delete
***********************************************************************/
[304] Fix | Delete
[305] Fix | Delete
/* New fields for the ApplicationShell widget class record */
[306] Fix | Delete
[307] Fix | Delete
typedef struct {
[308] Fix | Delete
XtPointer extension; /* pointer to extension record */
[309] Fix | Delete
} ApplicationShellClassPart;
[310] Fix | Delete
[311] Fix | Delete
typedef struct _ApplicationShellClassRec {
[312] Fix | Delete
CoreClassPart core_class;
[313] Fix | Delete
CompositeClassPart composite_class;
[314] Fix | Delete
ShellClassPart shell_class;
[315] Fix | Delete
WMShellClassPart wm_shell_class;
[316] Fix | Delete
VendorShellClassPart vendor_shell_class;
[317] Fix | Delete
TopLevelShellClassPart top_level_shell_class;
[318] Fix | Delete
ApplicationShellClassPart application_shell_class;
[319] Fix | Delete
} ApplicationShellClassRec;
[320] Fix | Delete
[321] Fix | Delete
externalref ApplicationShellClassRec applicationShellClassRec;
[322] Fix | Delete
[323] Fix | Delete
/* New fields for the application shell widget */
[324] Fix | Delete
[325] Fix | Delete
typedef struct {
[326] Fix | Delete
#if defined(__cplusplus) || defined(c_plusplus)
[327] Fix | Delete
char *c_class;
[328] Fix | Delete
#else
[329] Fix | Delete
char *class;
[330] Fix | Delete
#endif
[331] Fix | Delete
XrmClass xrm_class;
[332] Fix | Delete
int argc;
[333] Fix | Delete
char **argv;
[334] Fix | Delete
} ApplicationShellPart;
[335] Fix | Delete
[336] Fix | Delete
typedef struct {
[337] Fix | Delete
CorePart core;
[338] Fix | Delete
CompositePart composite;
[339] Fix | Delete
ShellPart shell;
[340] Fix | Delete
WMShellPart wm;
[341] Fix | Delete
VendorShellPart vendor;
[342] Fix | Delete
TopLevelShellPart topLevel;
[343] Fix | Delete
ApplicationShellPart application;
[344] Fix | Delete
} ApplicationShellRec, *ApplicationShellWidget;
[345] Fix | Delete
[346] Fix | Delete
/***********************************************************************
[347] Fix | Delete
*
[348] Fix | Delete
* SessionShell Widget Private Data
[349] Fix | Delete
*
[350] Fix | Delete
***********************************************************************/
[351] Fix | Delete
[352] Fix | Delete
/* New fields for the SessionShell widget class record */
[353] Fix | Delete
[354] Fix | Delete
typedef struct {
[355] Fix | Delete
XtPointer extension; /* pointer to extension record */
[356] Fix | Delete
} SessionShellClassPart;
[357] Fix | Delete
[358] Fix | Delete
typedef struct _SessionShellClassRec {
[359] Fix | Delete
CoreClassPart core_class;
[360] Fix | Delete
CompositeClassPart composite_class;
[361] Fix | Delete
ShellClassPart shell_class;
[362] Fix | Delete
WMShellClassPart wm_shell_class;
[363] Fix | Delete
VendorShellClassPart vendor_shell_class;
[364] Fix | Delete
TopLevelShellClassPart top_level_shell_class;
[365] Fix | Delete
ApplicationShellClassPart application_shell_class;
[366] Fix | Delete
SessionShellClassPart session_shell_class;
[367] Fix | Delete
} SessionShellClassRec;
[368] Fix | Delete
[369] Fix | Delete
externalref SessionShellClassRec sessionShellClassRec;
[370] Fix | Delete
[371] Fix | Delete
typedef struct _XtSaveYourselfRec *XtSaveYourself; /* implementation-private */
[372] Fix | Delete
[373] Fix | Delete
/* New fields for the session shell widget */
[374] Fix | Delete
[375] Fix | Delete
typedef struct {
[376] Fix | Delete
SmcConn connection;
[377] Fix | Delete
String session_id;
[378] Fix | Delete
String* restart_command;
[379] Fix | Delete
String* clone_command;
[380] Fix | Delete
String* discard_command;
[381] Fix | Delete
String* resign_command;
[382] Fix | Delete
String* shutdown_command;
[383] Fix | Delete
String* environment;
[384] Fix | Delete
String current_dir;
[385] Fix | Delete
String program_path;
[386] Fix | Delete
unsigned char restart_style;
[387] Fix | Delete
unsigned char checkpoint_state;
[388] Fix | Delete
Boolean join_session;
[389] Fix | Delete
XtCallbackList save_callbacks;
[390] Fix | Delete
XtCallbackList interact_callbacks;
[391] Fix | Delete
XtCallbackList cancel_callbacks;
[392] Fix | Delete
XtCallbackList save_complete_callbacks;
[393] Fix | Delete
XtCallbackList die_callbacks;
[394] Fix | Delete
XtCallbackList error_callbacks;
[395] Fix | Delete
XtSaveYourself save;
[396] Fix | Delete
XtInputId input_id;
[397] Fix | Delete
XtPointer ses20;
[398] Fix | Delete
XtPointer ses19;
[399] Fix | Delete
XtPointer ses18;
[400] Fix | Delete
XtPointer ses17;
[401] Fix | Delete
XtPointer ses16;
[402] Fix | Delete
XtPointer ses15;
[403] Fix | Delete
XtPointer ses14;
[404] Fix | Delete
XtPointer ses13;
[405] Fix | Delete
XtPointer ses12;
[406] Fix | Delete
XtPointer ses11;
[407] Fix | Delete
XtPointer ses10;
[408] Fix | Delete
XtPointer ses9;
[409] Fix | Delete
XtPointer ses8;
[410] Fix | Delete
XtPointer ses7;
[411] Fix | Delete
XtPointer ses6;
[412] Fix | Delete
XtPointer ses5;
[413] Fix | Delete
XtPointer ses4;
[414] Fix | Delete
XtPointer ses3;
[415] Fix | Delete
XtPointer ses2;
[416] Fix | Delete
XtPointer ses1;
[417] Fix | Delete
} SessionShellPart;
[418] Fix | Delete
[419] Fix | Delete
typedef struct {
[420] Fix | Delete
CorePart core;
[421] Fix | Delete
CompositePart composite;
[422] Fix | Delete
ShellPart shell;
[423] Fix | Delete
WMShellPart wm;
[424] Fix | Delete
VendorShellPart vendor;
[425] Fix | Delete
TopLevelShellPart topLevel;
[426] Fix | Delete
ApplicationShellPart application;
[427] Fix | Delete
SessionShellPart session;
[428] Fix | Delete
} SessionShellRec, *SessionShellWidget;
[429] Fix | Delete
[430] Fix | Delete
_XFUNCPROTOEND
[431] Fix | Delete
[432] Fix | Delete
#endif /* _XtShellPrivate_h */
[433] Fix | Delete
[434] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function