-- File: WalnutPrintOps.mesa
-- Contents: Implementation of printing of Msgs, MsgSets, MsgSetTOC's (someday)
-- Created by: Willie-Sue, June 29, 1983

-- Last edit by:
-- Willie-Sue on: July 26, 1983 2:19 pm

DIRECTORY
Menus USING [MenuProc],
Rope,
ViewerClasses USING [Viewer],
WalnutDB USING [Msg, MsgSet];

WalnutPrintOps: CEDAR DEFINITIONS =

BEGIN

MsgSetPrintProc: Menus.MenuProc;
-- prints msgset, using the msgset viewer

MsgPrintProc: Menus.MenuProc;
-- prints msg, using the msg viewer

AbortPrintProc
: Menus.MenuProc;


PrintMsgSet:
PROC[msgSet: WalnutDB.MsgSet, msName: Rope.ROPE] RETURNS[allOK: BOOL];
-- uses walnut control window

PrintMsgList: PROC[mList: LIST OF WalnutDB.Msg, msViewer: ViewerClasses.Viewer]
RETURNS[allOK: BOOL];
-- uses msgset viewer

END.