/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: August 19, 1992 3:34:30 pm PDT */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: XlCursorImpl, module: XlCursorImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [1934699839,1748571266] XlCursorImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); typedef struct {word f0, f1;} W2; #define SOURCE(p, l) /* source p, l */ static void NoName_Q408(); static void XlCursorImpl_P0(); static word GetConnectionData_P60(); static word InitConnection_P120(); static word StandardCursorFont_P180(); static word SharedStandardCursor_P240(); static word MutableStandardCursor_P300(); static struct {unsigned f; char r[4];} string1 = {65540, "\251\000\000"}; static struct {unsigned f; char r[4];} string2 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string3 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string4 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\101\144\000\000"}; static struct {unsigned f; char r[16];} string5 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[16];} string6 = {851984, "\257\300\163\121\055\077\300\150\071\024\202\100\200\000\000"}; static struct {unsigned f; char r[4];} string7 = {131074, "\004\007\000"}; static struct {unsigned f; char r[16];} string8 = {786448, "XlCursorImpl\000\000\000"}; static struct {unsigned f; char r[8];} string9 = {393224, "cursor\000"}; static struct {unsigned f; char r[4];} string10 = {65540, "x\000\000"}; static struct {unsigned f; char r[16];} string11 = {983056, "immutableCursor"}; static struct {unsigned f; char r[16];} string12 = {851984, "\257\300sQ-?\300h9\024\202@t\000\000"}; static struct {unsigned f; char r[12];} string13 = {655370, "\006\003 \001$\001@D\004\017\000"}; static struct {unsigned f; char r[16];} string14 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\100\164\000\000"}; static struct {unsigned f; char r[16];} string15 = {851984, "\257\300\044\126\136\322\300\125\273\233\107\100\150\000\000"}; static struct {unsigned f; char r[16];} string16 = {851984, "\257\300\223\215\300\016\300\070\141\304\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string17 = {851984, "\257\300\072\360\043\311\300\372\054\163\300\100\150\000\000"}; static struct { word f0[21]; word f21; word f22; word f23; word f24; word f25; word f26; word f27; word f28; word f29; word f30; word f31; word f32[5]; } globalframe = { {0}, (word) MutableStandardCursor_P300, 0, (word) SharedStandardCursor_P240, 0, (word) StandardCursorFont_P180, 0, (word) InitConnection_P120, 0, (word) GetConnectionData_P60, 0, (word) XlCursorImpl_P0, {0} }; static void NoName_Q408() { register ptr gf_c046 = (ptr) &globalframe; word var_c9868; (* (( (ptr) gf_c046)+10) ) = (word) XR_GetTypeIndexS((word) (&string1)); (* (( (ptr) gf_c046)+11) ) = (word) XR_GetTypeIndex((word) &string2, 0, (word) &string3); (* (( (ptr) gf_c046)+12) ) = (word) XR_GetTypeIndexS((word) (&string4)); (* (( (ptr) gf_c046)+13) ) = (word) XR_GetTypeIndex((word) &string5, 0, (word) &string3); (* (( (ptr) gf_c046)+14) ) = (word) XR_GetTypeIndex((word) &string6, 0, (word) &string7); (* (ptr) (( (bPt) gf_c046)+68) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c046)+11) ), (word) &string8); (* (ptr) (( (bPt) gf_c046)+72) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c046)+13) ), (word) &string9); (* (ptr) (( (bPt) gf_c046)+76) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c046)+11) ), (word) &string10); (* (ptr) (( (bPt) gf_c046)+80) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c046)+11) ), (word) &string11); (void) XR_DeclareGlobalFrame((word) "XlCursorImpl", &globalframe, (word) XR_GetTypeIndex((word) &string12, 0, (word) &string13) , (word) (( (bPt) gf_c046)+124)/* var_c9452 */ ); var_c9868 = (word) XR_ImportInterface((word) "Xl", (word) XR_GetTypeIndexS((word) (&string14)), 218); (* (( (ptr) gf_c046)+33)/* var_c9548 */ ) = var_c9868; (void) XR_ImportProcS(var_c9868, 69228808); (void) XR_ImportProcS(var_c9868, 67919875); (void) XR_ImportProcS(var_c9868, 67901699); var_c9868 = (word) XR_ImportInterface((word) "XlPrivateResources", (word) XR_GetTypeIndexS((word) (&string15)), 9); (* (( (ptr) gf_c046)+35)/* var_c9740 */ ) = var_c9868; (void) XR_ImportProcS(var_c9868, 787971); var_c9868 = (word) XR_ImportInterface((word) "CardTab", (word) XR_GetTypeIndexS((word) (&string16)), 12); (* (( (ptr) gf_c046)+34)/* var_c9644 */ ) = var_c9868; (void) XR_ImportProcS(var_c9868, 67896579); (void) XR_ImportProcS(var_c9868, 134742786); (void) XR_ImportProcS(var_c9868, 67371265); var_c9868 = (word) XR_ExportInterface((word) "XlCursor", (word) XR_GetTypeIndexS((word) (&string17)), 3); (* (( (ptr) gf_c046)+36)/* var_c9900 */ ) = var_c9868; (void) XR_ExportProcS(var_c9868, (word) (( (bPt) gf_c046)+100)/* var_c9356 */ , 67371009); (void) XR_ExportProcS(var_c9868, (word) (( (bPt) gf_c046)+92)/* var_c9324 */ , 67633410); (void) XR_ExportProcS(var_c9868, (word) (( (bPt) gf_c046)+84)/* var_c9292 */ , 67633666); } static void XlCursorImpl_P0(formal_c019, formal_c017) word formal_c019; word formal_c017; { register ptr gf_c9932 = (ptr) &globalframe; /* XlCursorImpl: */ SOURCE(63, 1865) SOURCE(177, 47) { word var_c9484; var_c9484 = XR_NewObject(4, (* (( (ptr) gf_c9932)+11) )); (* (ptr) var_c9484 ) = (* (( (ptr) gf_c9932)+17) ); (* (( (ptr) gf_c9932)+8)/* myPropKey_v2636 */ ) = var_c9484; }; SOURCE(227, 48) (* (( (ptr) gf_c9932)+9)/* cache_v2664 */ ) = XR_NewObject(12, (* (( (ptr) gf_c9932)+14) )); } static word GetConnectionData_P60(c_v3064) word c_v3064; { register ptr gf_c9964 = (ptr) &globalframe; word ca_v3108; /* GetConnectionData: */ SOURCE(570, 219) SOURCE(570, 219) ca_v3108 = 0; SOURCE(644, 10) ca_v3108 = (* (( (ptr) gf_c9964)+9)/* cache_v2664 */ ); SOURCE(680, 109) if (((* (ptr) ca_v3108 ) != c_v3064)) { SOURCE(707, 70) { word pd18; pd18 = (* (( (ptr) (* (( (ptr) gf_c9964)+33)/* var_c9548 */ ))+29) ); ca_v3108 = XR_Narrow((word) ( *( (fPt) ((* (ptr) pd18 ))))(c_v3064, (* (( (ptr) gf_c9964)+8)/* myPropKey_v2636 */ ), (word) ( ( (bPt) gf_c9964)+108)/* var_c9388 */ , pd18), (* (( (ptr) gf_c9964)+14) )); }; SOURCE(779, 10) (* (( (ptr) gf_c9964)+9)/* cache_v2664 */ ) = ca_v3108; }; SOURCE(570, 219) return(ca_v3108); } static word InitConnection_P120(c_v4452, key_v4480) word c_v4452; word key_v4480; { register ptr gf_c9996 = (ptr) &globalframe; word val_v4524; word ca_v3504; /* InitConnection: */ SOURCE(807, 197) SOURCE(807, 197) val_v4524 = (* (( (ptr) gf_c9996)+19) ); SOURCE(846, 144) { word var_c9580; word var_c9612; word var_c9676; { word pd19; pd19 = (* (( (ptr) (* (( (ptr) gf_c9996)+33)/* var_c9548 */ ))+100) ); var_c9580 = (word) ( *( (fPt) ((* (ptr) pd19 ))))(c_v4452, (* (( (ptr) gf_c9996)+18) ), 0, pd19); }; { word pd20; pd20 = (* (( (ptr) (* (( (ptr) gf_c9996)+34)/* var_c9644 */ ))+5) ); var_c9612 = (word) ( *( (fPt) ((* (ptr) pd20 ))))(17, pd20); }; var_c9676 = XR_NewObject(12, (* (( (ptr) gf_c9996)+14) )); (* (ptr) var_c9676 ) = c_v4452; (* (( (ptr) var_c9676)+1) ) = var_c9580; (* (( (ptr) var_c9676)+2) ) = var_c9612; ca_v3504 = var_c9676; }; SOURCE(992, 12) return(ca_v3504); } static word StandardCursorFont_P180(c_v3168) word c_v3168; { word var_c3212; word data_v3548; /* StandardCursorFont: */ SOURCE(1008, 137) SOURCE(1075, 44) data_v3548 = (word) GetConnectionData_P60(c_v3168); SOURCE(1121, 24) return((* (( (ptr) data_v3548)+1) )); } static word SharedStandardCursor_P240(c_v3272, source_v3300) word c_v3272; word source_v3300; { register ptr gf_c10028 = (ptr) &globalframe; word cursor_v3344; word data_v3592; /* SharedStandardCursor: */ SOURCE(1151, 456) SOURCE(1259, 44) data_v3592 = (word) GetConnectionData_P60(c_v3272); SOURCE(1305, 302) { word var_c9708; W2 var_c037; { word pd21; pd21 = (* (( (ptr) (* (( (ptr) gf_c10028)+34)/* var_c9644 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd21 ))))((word) &var_c037, (* (( (ptr) data_v3592)+2) ), source_v3300, pd21); }; var_c9708 = var_c037.f1; if ((var_c9708 == 0)) { goto lab_L100000; }; if (((* (( (ptr) gf_c10028)+12) ) == XR_GetReferentType(var_c9708))) { { word cc_v3636; cc_v3636 = var_c9708; SOURCE(1399, 12) return((* (ptr) cc_v3636 )); }; } else { lab_L100000: ; SOURCE(1426, 41) cursor_v3344 = (word) MutableStandardCursor_P300(c_v3272, source_v3300); SOURCE(1469, 54) { word pd22; pd22 = (* (( (ptr) (* (( (ptr) gf_c10028)+35)/* var_c9740 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd22 ))))(c_v3272, cursor_v3344, (* (( (ptr) gf_c10028)+20) ), pd22); }; SOURCE(1525, 82) { word var_c9836; { word var_c9772; { word var_c9804; var_c9804 = XR_NewObject(4, (* (( (ptr) gf_c10028)+12) )); (* (ptr) var_c9804 ) = cursor_v3344; var_c9772 = var_c9804; }; { word pd23; pd23 = (* (( (ptr) (* (( (ptr) gf_c10028)+34)/* var_c9644 */ ))+9) ); var_c9836 = (word) ( *( (fPt) ((* (ptr) pd23 ))))((* (( (ptr) data_v3592)+2) ), source_v3300, var_c9772, pd23); }; }; }; }; }; SOURCE(1151, 456) return(cursor_v3344); } static word MutableStandardCursor_P300(c_v3404, source_v3432) word c_v3404; word source_v3432; { register ptr gf_c10060 = (ptr) &globalframe; word cursor_v3476; word data_v3692; /* MutableStandardCursor: */ SOURCE(1615, 313) SOURCE(1730, 44) data_v3692 = (word) GetConnectionData_P60(c_v3404); SOURCE(1776, 152) { word pd24; pd24 = (* (( (ptr) (* (( (ptr) gf_c10060)+33)/* var_c9548 */ ))+93) ); cursor_v3476 = (word) ( *( (fPt) ((* (ptr) pd24 ))))((* (ptr) data_v3692 ), (* (( (ptr) data_v3692)+1) ), (* (( (ptr) data_v3692)+1) ), source_v3432, (source_v3432 + 1), (* (ptr) (* (( (ptr) (* (( (ptr) gf_c10060)+33)/* var_c9548 */ ))+183) ) ) , (* (ptr) (* (( (ptr) (* (( (ptr) gf_c10060)+33)/* var_c9548 */ ))+182) ) ), 0, pd24); }; SOURCE(1615, 313) return(cursor_v3476); } /* file: XlCursorImpl, module: XlCursorImpl, compiled at: August 19, 1992 3:34:30 pm PDT */ extern void XR_install_XlCursorImpl() { NoName_Q408(); } extern void XR_run_XlCursorImpl() { XR_Start(&globalframe); }