DIRECTORY BasicTime USING [GMT], BcdDefs USING [VersionStamp], Rope USING [ROPE], VersionMap USING [Map, MapList]; VersionMapDefaults: CEDAR DEFINITIONS = BEGIN OPEN BasicTime, BcdDefs, Rope, VersionMap; WhichMapList: TYPE = ATOM; FileNameFromVersion: PROC [which: WhichMapList, version: VersionStamp] RETURNS [name: ROPE, created: GMT]; GetMapList: PROC [which: WhichMapList] RETURNS [MapList]; AddToMapList: PROC [which: WhichMapList, map: Map]; SetMapList: PROC [which: WhichMapList, list: MapList _ NIL]; END. °VersionMapDefaults.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Russ Atkinson, February 6, 1985 7:53:24 pm PST These definitions give access to the default source and object version maps. Operations on default version map lists. $Source => the source symbol version map list (initially from CedarSource.VersionMap) $Symbols => the source symbol version map list (initially from CedarSymbols.VersionMap) other => a user-defined version map variety (initially empty) ... returns a name (and create date) corresponding to the given version stamp in the indicated map list (does not check for multiple names, since that is the responsibility of the version map creator). ... gets the current selected version map list. If there is no such map, then NIL will be returned unless which = $Source or which = $Symbols, which will restore the official version maps from CedarSource.VersionMap or CedarSymbols.VersionMap respectively. ... adds a new map to the lookup list. Use this proc for adding personal version maps. .. sets the current version map for source files. Since there can be a race between GetMapList and SetMapList, this operation should not be casually used! Κ]˜codešœ™Kšœ Οmœ1™