-- MDDB.Mesa, last edit January 6, 1983 2:12 pm
-- Pilot 6.0/ Mesa 7.0
-- definitions file for MDDBImpl

DIRECTORY
  Dir: TYPE USING [DepSeq, FileInfo],
  MDModel: TYPE USING [LOCSymbol, MODELSymbol, Symbol, SymbolSeq],
  Subr: TYPE USING [TTYProcs],
  TypeScript: TYPE USING[TS];

MDDB: DEFINITIONS = {

-- called by InternalStartModelling in MDMainImpl
BringOverFilesAndCheckAllParms: PROC[symbolseq: MDModel.SymbolSeq,
	makethismodel: BOOL, typeScript: TypeScript.TS, ttywindow: Subr.TTYProcs];

-- called by InternalNotice in MDMainImpl and internally in MDDBImpl
CheckAndFillInParameters: PROC[sp: MDModel.Symbol, 
	sploc: MDModel.LOCSymbol, symbolseq: MDModel.SymbolSeq, 
	spmodel: MDModel.MODELSymbol, makethismodel: BOOL,
	typeScript: TypeScript.TS, ttywindow: Subr.TTYProcs] RETURNS[modelchanged: BOOL];

-- called by RCompImpl and internally in MDDBImpl
GetSrcDepSeq: PROC[fi: Dir.FileInfo, srcCreate: LONG CARDINAL] 
	RETURNS[srcDepSeq: Dir.DepSeq];

-- called by MDCompImpl, RCompImpl, and internally in MDDBImpl
-- returns a depseq that is filled in, if file is on local disk
-- bcdCreate is used as a hint to look in the database
GetBcdDepSeq: PROC[fi: Dir.FileInfo, bcdCreate: LONG CARDINAL] 
	RETURNS[bcddepseq: Dir.DepSeq];

}.