PSKMessages.mesa
Copyright (C) 1985, 1986 by Xerox Corporation. All rights reserved.
Last edited by Jacks 6-Nov-85 12:54:20
Tim Diebert: December 2, 1986 4:30:44 pm PST
<<Central interface for Print Service Kernel messages.>>
DIRECTORY
NSString USING [String],
XMessage USING [Handle];
PSKMessages: CEDAR DEFINITIONS = BEGIN
TYPEs --
Handle: TYPE ~ REF Object;
Object: TYPE;
Domain: TYPE = { --3 domains of messages within the PrintServiceConfig msg file
control, --messages used by CommandConfig and ControlConfig
exec, --messages used by ExecutiveConfig
printerStatus --printer status messages used by all
};
PROCs --
GetHandle: PROCEDURE [domain: Domain] RETURNS [XMessage.Handle];
Returns handle to specified message domain.
Name: PROCEDURE [domain: Domain] RETURNS [NSString.String];
Returns the name of the specified domain.
DestroyMsgs: PROCEDURE[];
Destroys the message handles for all domains. Handles already gotten with GetHandle become invalid.
END.
LOG
6-Nov-85 12:54:19 - Jacks - Created.