DIRECTORY Rope USING [ROPE] ; SilKernel: CEDAR DEFINITIONS = BEGIN SilError: ERROR[explain: SilErrorType]; SilErrorType: TYPE = {BadFile, BadFileName}; SilData: TYPE = REF SilDataObject; SilDataObject: TYPE = RECORD [ model: SilModel, --Internal representation of Sil File uiData: SilUIData, --User input data displayData: SilDisplayData, --Display data mainProcess: PROCESS, --The process that is going to get all of the work done . . . mainProcessShouldStop: BOOL _ FALSE --TRUE if the sil instance/viewer is being destroyed ]; SilModel: TYPE = REF SilModelRec; SilModelRec: TYPE; -- SilFile's private business (SilFileImpl.SilModelRec) SilUIData: TYPE = REF SilUIDataRec; SilUIDataRec: TYPE; -- SilUserInput's private business (SilUserInputImpl.SilUIDataRec) SilDisplayData: TYPE = REF SilDisplayDataRec; SilDisplayDataRec: TYPE; -- SilDisplay's private business (SilDisplayInternal.SilDisplayDataRec) StartSilInstance: PROC [fileName: Rope.ROPE]; RepaintSilViewers: PROC; END. XSilKernel.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Tracy Larrabee: September 23, 1983 9:57 pm Last Edited by: Ken Pier, August 15, 1985 1:22:15 pm PDT This file contains the top level definitions of the Sil error and data types. Each Sil window will have one of these SilData records - which contains three sub-records. SilData keeps all the state that a particular Sil instance needs. Initialize everything that will be needed to start a bare Sil viewer open on fileName (the fileName may be an empty rope). called from the Sil font manager when fonts are swapped Κˆ˜code™Kšœ Οmœ1™<—K™*™8K™—K™MK˜šΟk ˜ Kšœžœžœ˜Kšœ˜—K˜šΟb œžœž œž˜$K˜Kšœ žœ˜'Kšœžœ˜,K˜K™žKšœ žœžœ˜"šœžœžœ˜KšœΟc%˜6Kšœ ˜$Kšœ ˜+Kšœ žœ =˜SKšœžœžœ 4˜XK˜K˜—Kšœ žœžœ ˜!šœ žœ 7˜JK˜—Kšœ žœžœ˜#Kšœžœ B˜VK˜Kšœžœžœ˜-Kšœžœ G˜`K˜šΟnœžœžœ˜-K™z—K˜š‘œžœ˜K™7K™——Kšžœ˜—…—ΰΐ