# WEM Description file for OLE
# (c) Jaffa Software 1998

DEF WEMdetails
	Name		ole
	Description	OLE
	Author		(c) Jaffa Software 1998
	Version		1.00 (25Nov-1998)
	Type		1
ENDWEM


DEF WEMinclude
	If "<Wimp$ScrapDir>"="" Then Error This program requires the Scrap directory to be set.
ENDWEM


DEF WEMevents
	OLE file changed
		VAL(eva$),evb$
		id%, file$
	OLE file closed
		VAL(eva$),evb$
		id%
ENDWEM


DEF WEMcommands
	OLE	FN
		<filename>, <module spec>
		Creates a new OLE session (loading
		OLEsupport if necessary from the full
		filespec in <module spec>). Opens
		<filename> in an editor capable of editing
		the filetype of the file. Returns a unique
		ID for the file.
	ENDHELP
	CLOSEOLE	PROC
		<id>
		Informs any OLE servers that <id> has now
		been closed. OLEsupport will not be
		unloaded as other tasks may now be using it.
	ENDHELP
ENDWEM
