XlDB.mesa
Copyright Ó 1989, 1990, 1991 by Xerox Corporation. All rights reserved.
Created by Christian Jacobi, October 11, 1989 2:16:11 pm PDT
Christian Jacobi, March 7, 1991 4:48 pm PST
DIRECTORY Customize, Rope, Xl;
XlDB: CEDAR DEFINITIONS ~ BEGIN
GetStandardDBReadWrite: PROC [c: Xl.Connection] RETURNS [db: Customize.DB];
Returns a modifiable copy of the default data base of the connection
GetStandardDB: PROC [c: Xl.Connection] RETURNS [db: Customize.DBreadonly];
Returns cached and shared default data base of the connection
RegisterDBInvalidator: PROC [c: Xl.Connection, proc: Xl.EventProcType, tq: Xl.TQ, data: REF ¬ NIL];
Registers proc to be called whenever a new standard db for c would be returned
QueryStandardDB: PROC [c: Xl.Connection, query: Rope.ROPE] RETURNS [answer: Rope.ROPE];
Shortcut for accessing the standard db, doing a query and narrowing the result to a rope
END.