/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: May 7, 1992 11:20:22 am PDT */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: ViewerHelpStringsImpl, module: ViewerHelpStringsImpl */ /* switches: bcfhklnouw */ #include <cedar/InstallationSupport.h> #include <cedar/CedarExtra.h> static char versionStamp[] = "@(#)mob←version [2431143277,2923215107] ViewerHelpStringsImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); #define SOURCE(p, l) /* source p, l */ static void NoName←Q552(); static void ViewerHelpStringsImpl←P0(); static word CreateHandle←P60(); static word GetHandle←P120(); static void MyDisplay←P180(); static void MyClear←P240(); static void NoVisible←P300(); static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\267\210\110\244\300\302\136\033\142\100\200\000\000"}; static struct {unsigned f; char r[4];} string2 = {131074, "\003\004\000"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\220\350\115\155\300\256\074\271\003\100\200\000\000"}; static struct {unsigned f; char r[4];} string4 = {131074, "\004\007\000"}; static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\267\210\110\244\300\302\136\033\142\100\164\000\000"}; static struct {unsigned f; char r[4];} string6 = {131074, "\004\003\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\104\304\000\000"}; static struct {unsigned f; char r[24];} string8 = {1376277, "\007\000\001\002\007\020\001\002\000\007\036\002\004\003\002\004\014\016\015\003\001\000\000"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\220\350\115\155\300\256\074\271\003\100\164\000\000"}; static struct {unsigned f; char r[4];} string10 = {196611, "\004C\000"}; static struct {unsigned f; char r[16];} string11 = {851984, "\257\300\074\270\063\045\300\023\342\016\224\100\150\000\000"}; static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\370\044\372\351\300\274\154\005\224\100\150\000\000"}; static struct { word f0[15]; word f15; word f16; word f17; word f18; word f19; word f20; word f21; word f22; word f23; word f24; word f25; word f26[3]; } globalframe = { {0}, (word) NoVisible←P300, 0, (word) MyClear←P240, 0, (word) MyDisplay←P180, 0, (word) GetHandle←P120, 0, (word) CreateHandle←P60, 0, (word) ViewerHelpStringsImpl←P0, {0} }; static void NoName←Q552() { register ptr gf←c036 = (ptr) &globalframe; word var←c8028; (* (( (ptr) gf←c036)+10) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf←c036)+12) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4); (* (( (ptr) gf←c036)+13) ) = (word) XR←GetTypeIndex((word) &string5, 0, (word) &string6); (* (( (ptr) gf←c036)+14) ) = (word) XR←GetTypeIndex((word) &string7, 0, (word) &string8); (void) XR←DeclareGlobalFrame((word) "ViewerHelpStringsImpl", &globalframe, (word) XR←GetTypeIndex((word) &string9, 0, (word) &string10) , (word) (( (bPt) gf←c036)+100)/* var←c7772 */ ); var←c8028 = (word) XR←ImportInterface((word) "MessageWindow", (word) XR←GetTypeIndexS((word) (&string11)), 7); (* (( (ptr) gf←c036)+27)/* var←c7964 */ ) = var←c8028; (void) XR←ImportProcS(var←c8028, 0); (void) XR←ImportProcS(var←c8028, 524546); var←c8028 = (word) XR←ExportInterface((word) "ViewerHelpStrings", (word) XR←GetTypeIndexS((word) (&string12)), 1); (* (( (ptr) gf←c036)+28)/* var←c8060 */ ) = var←c8028; (void) XR←ExportProcS(var←c8028, (word) (( (bPt) gf←c036)+84)/* var←c7708 */ , 67108864); } static void ViewerHelpStringsImpl←P0(formal←c016, formal←c014) word formal←c016; word formal←c014; { register ptr gf←c8092 = (ptr) &globalframe; /* ViewerHelpStringsImpl: */ SOURCE(66, 1184) SOURCE(162, 158) { word var←c7804; var←c7804 = XR←NewObject(20, (* (( (ptr) gf←c8092)+10) )); (* (ptr) var←c7804 ) = (word) (( (bPt) gf←c8092)+76)/* var←c7676 */ ; (* (( (ptr) var←c7804)+1) ) = (word) (( (bPt) gf←c8092)+68)/* var←c7644 */ ; (* (( (ptr) var←c7804)+2) ) = (word) (( (bPt) gf←c8092)+60)/* var←c7612 */ ; (* (( (ptr) var←c7804)+3) ) = (word) (( (bPt) gf←c8092)+60)/* var←c7612 */ ; (* (( (ptr) gf←c8092)+8)/* myHelpClass←v2552 */ ) = var←c7804; }; SOURCE(564, 46) (* (( (ptr) gf←c8092)+9)/* theHandle←v2636 */ ) = (word) CreateHandle←P60(); } static word CreateHandle←P60() { register ptr gf←c8124 = (ptr) &globalframe; word h←v2968; word md←v3436; /* CreateHandle: */ SOURCE(408, 152) SOURCE(408, 152) h←v2968 = 0; SOURCE(472, 33) md←v3436 = XR←NewObject(12, (* (( (ptr) gf←c8124)+12) )); SOURCE(507, 53) { word var←c7868; var←c7868 = XR←NewObject(8, (* (( (ptr) gf←c8124)+13) )); (* (ptr) var←c7868 ) = (* (( (ptr) gf←c8124)+8)/* myHelpClass←v2552 */ ); (* (( (ptr) var←c7868)+1) ) = md←v3436; h←v2968 = var←c7868; }; SOURCE(408, 152) return(h←v2968); } static word GetHandle←P120() { register ptr gf←c8156 = (ptr) &globalframe; word var←c3028; /* GetHandle: */ SOURCE(613, 77) SOURCE(672, 18) return((* (( (ptr) gf←c8156)+9)/* theHandle←v2636 */ )); } static void MyDisplay←P180(h←v3088, string←v3116, key←v3144) word h←v3088; word string←v3116; word key←v3144; { register ptr gf←c8188 = (ptr) &globalframe; /* MyDisplay: */ SOURCE(696, 293) SOURCE(769, 220) { word var←c7900; var←c7900 = (* (( (ptr) h←v3088)+1) ); if ((var←c7900 == 0)) { goto lab←L100000; }; if (((* (( (ptr) gf←c8188)+12) ) == XR←GetReferentType(var←c7900))) { { word md←v3492; md←v3492 = var←c7900; SOURCE(811, 226) { word previousText←v3548; SOURCE(813, 33) previousText←v3548 = (* (( (ptr) md←v3492)+1) ); SOURCE(848, 70) { word var←c7932; var←c7932 = string←v3116; if ((var←c7932 == 0)) { goto lab←L100001; }; { word tc13; if (((* (( (ptr) gf←c8188)+14) ) == XR←GetReferentType(var←c7932))) { tc13 = (word) ((*(int*)var←c7932<0) == 0); } else { tc13 = (word) 0; }; if (tc13) { { word r←v3592; r←v3592 = var←c7932; SOURCE(888, 11) (* (( (ptr) md←v3492)+1) ) = r←v3592; }; } else { lab←L100001: ; SOURCE(912, 6) return; }; }; }; SOURCE(920, 18) (* (ptr) md←v3492 ) = string←v3116; SOURCE(940, 12) (* (( (ptr) md←v3492)+2) ) = key←v3144; SOURCE(954, 35) { word pd14; pd14 = (* (( (ptr) (* (( (ptr) gf←c8188)+27)/* var←c7964 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd14 ))))((* (( (ptr) md←v3492)+1) ), 1, pd14); }; }; }; } else { lab←L100000: ; }; }; } static void MyClear←P240(h←v3228, string←v3256, key←v3284) word h←v3228; word string←v3256; word key←v3284; { register ptr gf←c8220 = (ptr) &globalframe; /* MyClear: */ SOURCE(1058, 192) SOURCE(1129, 121) { word var←c7996; var←c7996 = (* (( (ptr) h←v3228)+1) ); if ((var←c7996 == 0)) { goto lab←L100002; }; if (((* (( (ptr) gf←c8220)+12) ) == XR←GetReferentType(var←c7996))) { { word md←v3636; md←v3636 = var←c7996; SOURCE(1173, 77) if (((* (ptr) md←v3636 ) == string←v3256) || ((* (( (ptr) md←v3636)+2) ) == key←v3284)) { SOURCE(1214, 21) { word pd15; pd15 = (* (( (ptr) (* (( (ptr) gf←c8220)+27)/* var←c7964 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd15 ))))(pd15); }; SOURCE(1237, 13) (* (( (ptr) md←v3636)+1) ) = 0; }; }; } else { lab←L100002: ; }; }; } static void NoVisible←P300(h←v3368, data←v3396) word h←v3368; word data←v3396; { /* NoVisible: */ } /* file: ViewerHelpStringsImpl, module: ViewerHelpStringsImpl, compiled at: May 7, 1992 11:20:21 am PDT */ extern void XR←install←ViewerHelpStringsImpl() { NoName←Q552(); } extern void XR←run←ViewerHelpStringsImpl() { XR←Start(&globalframe); }