| !Run file for APITest

IconSprites <Obey$Dir>.!Sprites

Set APITest$Dir <Obey$Dir>
Set APITest$Path <Obey$Dir>.

Set APITest$Help <APITest$Dir>.!Help

| { Sourcery generated help details

Set APITest$Version "1.00"
Set APITest$Web "http://www.reallysmall.co.uk"
Set APITest$Title "APITest"
Set APITest$Publisher "The Really Small Software Company"
Set APITest$Description "API tester"
| }

RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions

| { Sourcery generated module list

Set APITest$RunComplete ""
If "<Boot$OSVersion>" LEFT 1 = 5 Then Run <APITest$Dir>.!RunFiles.RunOS5
If "<APITest$RunError>" <> "" Then Error "Error loading modules"
If "<APITest$RunComplete>" = "" Then Run <APITest$Dir>.!RunFiles.RunOSAny
Unset APITest$RunComplete
| }

| The URL fetcher modules are not in the Sourcery module list, so load them here

RMEnsure URL_Fetcher 0.37 RMLoad System:Modules.Network.URL.URL
RMEnsure URL_Fetcher 0.37 Error APITest needs the URL fetcher module (System:Modules.Network.URL.URL 0.37 or later)
RMEnsure AcornHTTP 0.84 RMLoad System:Modules.Network.URL.AcornHTTP
RMEnsure AcornHTTP 0.84 Error APITest needs the AcornHTTP module (System:Modules.Network.URL.AcornHTTP 0.84 or later)
RMEnsure AcornSSL 0.00 X RMLoad System:Modules.Network.URL.AcornSSL

WimpSlot -Min 768k -Max 768k
Run <APITest$Dir>.!RunImage %*0
