DEFINITION MODULE BBC;
FROM Graphics IMPORT GSTREAM;
EXPORT QUALIFIED ReConfigure,FindInOut, FindInput, FindOutput, Delete, Update;
(*-------------------------------------------------------------------------*)
(* BBC user-visible interface: offers GSTREAM creation/deletion facilities *)
(*-------------------------------------------------------------------------*)
PROCEDURE ReConfigure();
(* Large-scale granularity in updates to parameter database *)
PROCEDURE FindInOut  (Qual :ARRAY OF CHAR;
                      BBCXl, BBCYb, BBCXr, BBCYt :INTEGER) :GSTREAM;
               (* Open an interactive stream: Only one may exist at once *)
PROCEDURE FindInput  (Qual :ARRAY OF CHAR) :GSTREAM;
               (* Return a non-echoed (single char if poss) input stream *)
PROCEDURE FindOutput (Qual :ARRAY OF CHAR;
                      BBCXl, BBCYb, BBCXr, BBCYt :INTEGER) :GSTREAM;
               (* Open a stream for output only. Many of these may exist *)
PROCEDURE Delete (Stream :GSTREAM);

PROCEDURE Update (Stream :GSTREAM);

END BBC.
