ModuleInfo "Version: 1.28"
ModuleInfo "Author: Mark Sibly, Simon Armstrong"
ModuleInfo "License: zlib/libpng"
ModuleInfo "Copyright: Blitz Research Ltd"
ModuleInfo "Modserver: BRL"
ModuleInfo "History: 1.28"
ModuleInfo "History: Added custom format option to CurrentDate()."
ModuleInfo "History: 1.27"
ModuleInfo "History: Moved event enums from system.h to event.mod/event.h"
ModuleInfo "Histroy: Moved keycode enums from system.h to keycodes.mod/keycodes.h"
ModuleInfo "History: 1.26 Release"
ModuleInfo "History: Fixed win32 filerequester causing activewindow dramas"
ModuleInfo "History: 1.25 Release"
ModuleInfo "History: Fixed unretained object issue with mouse tracking"
ModuleInfo "History: 1.24 Release"
ModuleInfo "History: Fixed windowed mode HideMouse issue"
ModuleInfo "History: 1.23 Release"
ModuleInfo "History: Fixed win32 requestfile default extension bug#2"
ModuleInfo "History: 1.22 Release"
ModuleInfo "History: Fixed win32 requestfile default extension bug"
ModuleInfo "History: 1.21 Release"
ModuleInfo "History: New Linux implementation of OpenURL"
ModuleInfo "History: 1.20 Release"
ModuleInfo "History: RequestFile now adds extension to filename on Windows"
ModuleInfo "History: 1.19 Release"
ModuleInfo "History: Added EVENT_GADGETLOSTFOCUS handling"
ModuleInfo "History: 1.18 Release"
ModuleInfo "History: Added EVENT_KEYREPEAT handling"
ModuleInfo "History: 1.17 Release"
ModuleInfo "History: OpenURL now attempts to fully qualify file / http url supplied"
ModuleInfo "History: 1.16 Release"
ModuleInfo "History: Fixed MacOS RequestFile to respect wild card filter"
ModuleInfo "History: 1.15 Release"
ModuleInfo "History: Fixed mouse hidden by default"
ModuleInfo "History: 1.14 Release"
ModuleInfo "History: Fixed HideMouse causing mouse to disappear when in non-client areas"
ModuleInfo "History: 1.13 Release"
ModuleInfo "History: Fixed Linux MoveMouse to be relative to the origin of the current Graphics window"
ModuleInfo "History: 1.12 Release"
ModuleInfo "History: Added Linux X11 import to remove glgraphics.mod dependency"
ModuleInfo "History: Fixed linux middle button crash"
ModuleInfo "History: 1.11 Release"
ModuleInfo "History: Fixed win32 clipboard glitches with QS_ALLINPUT bbSystemWait mod"
ModuleInfo "History: 1.11 Release"
ModuleInfo "History: CGSetLocalEventsSuppressionInterval fix for MacOS bbSystemMoveMouse"
ModuleInfo "History: 1.10 Release"
ModuleInfo "History: Ripped out input stuff and added hook"
ModuleInfo "History: 1.09 Release"
ModuleInfo "History: Tweaked MacOS GetChar()"
ModuleInfo "History: 1.07 Release"
ModuleInfo "History: Added AppTitle support for requesters"
ModuleInfo "History: 1.06 Release"
ModuleInfo "History: Fixed MacOS RequestDir ignoring initial path"
ModuleInfo "History: 1.05 Release"
ModuleInfo "History: Added RequestDir support for MacOS"
ModuleInfo "History: 1.04 Release"
ModuleInfo "History: Added mouse capture to Win32"
ModuleInfo "History: Fixed C Compiler warnings"
import brl.blitz
import brl.event
import brl.keycodes
import brl.filesystem
import "-lshell32"
import "-lcomctl32"
import "-lcomdlg32"
TSystemDriver^Object{
-New%()="_brl_system_TSystemDriver_New"
-Delete%()="_brl_system_TSystemDriver_Delete"
-Poll%()A="brl_blitz_NullMethodError"
-Wait%()A="brl_blitz_NullMethodError"
-MoveMouse%(x%,y%)A="brl_blitz_NullMethodError"
-SetMouseVisible%(visible%)A="brl_blitz_NullMethodError"
-Notify%(text$,serious%)A="brl_blitz_NullMethodError"
-Confirm%(text$,serious%)A="brl_blitz_NullMethodError"
-Proceed%(text$,serious%)A="brl_blitz_NullMethodError"
-RequestFile$(text$,exts$,save%,file$)A="brl_blitz_NullMethodError"
-RequestDir$(text$,path$)A="brl_blitz_NullMethodError"
-OpenURL%(url$)A="brl_blitz_NullMethodError"
}A="brl_system_TSystemDriver"
Driver:TSystemDriver&=mem:p("brl_system_Driver")
WM_BBSYNCOP%=28673
bbSystemStartup%()="bbSystemStartup"
bbSystemPoll%()="bbSystemPoll"
bbSystemWait%()="bbSystemWait"
bbSystemMoveMouse%(x%,y%)="bbSystemMoveMouse"
bbSystemSetMouseVisible%(visible%)="bbSystemSetMouseVisible"
bbSystemNotify%(text$,serious%)="bbSystemNotify"
bbSystemConfirm%(text$,serious%)="bbSystemConfirm"
bbSystemProceed%(text$,serious%)="bbSystemProceed"
bbSystemRequestFile$(text$,exts$,defext%,save%,file$,dir$)="bbSystemRequestFile"
bbSystemRequestDir$(text$,dir$)="bbSystemRequestDir"
bbOpenURL%(url$)="bbOpenURL"
bbSystemEmitOSEvent%(hwnd%,msg%,wparam%,lparam%,source:Object)="bbSystemEmitOSEvent"
bbSystemPostSyncOp%(syncOp%(syncInfo:Object,asyncRet%),syncInfo:Object,asyncRet%)="bbSystemPostSyncOp"
bbSystemStartAsyncOp%(asyncOp%(asyncInfo%),asyncInfo%,syncOp%(syncInfo:Object,asyncRet%),syncInfo:Object)="bbSystemStartAsyncOp"
TWin32SystemDriver^TSystemDriver{
-New%()="_brl_system_TWin32SystemDriver_New"
-Delete%()="_brl_system_TWin32SystemDriver_Delete"
-Poll%()="_brl_system_TWin32SystemDriver_Poll"
-Wait%()="_brl_system_TWin32SystemDriver_Wait"
-MoveMouse%(x%,y%)="_brl_system_TWin32SystemDriver_MoveMouse"
-SetMouseVisible%(visible%)="_brl_system_TWin32SystemDriver_SetMouseVisible"
-Notify%(text$,serious%)="_brl_system_TWin32SystemDriver_Notify"
-Confirm%(text$,serious%)="_brl_system_TWin32SystemDriver_Confirm"
-Proceed%(text$,serious%)="_brl_system_TWin32SystemDriver_Proceed"
-RequestFile$(text$,exts$,save%,path$)="_brl_system_TWin32SystemDriver_RequestFile"
-RequestDir$(text$,dir$)="_brl_system_TWin32SystemDriver_RequestDir"
-OpenURL%(url$)="_brl_system_TWin32SystemDriver_OpenURL"
}="brl_system_TWin32SystemDriver"
PollSystem%()="brl_system_PollSystem"
WaitSystem%()="brl_system_WaitSystem"
CurrentDate$(_format$=$"%d %b %Y")="brl_system_CurrentDate"
CurrentTime$()="brl_system_CurrentTime"
MoveMouse%(x%,y%)="brl_system_MoveMouse"
ShowMouse%()="brl_system_ShowMouse"
HideMouse%()="brl_system_HideMouse"
Notify%(text$,serious%=0)="brl_system_Notify"
Confirm%(text$,serious%=0)="brl_system_Confirm"
Proceed%(text$,serious%=0)="brl_system_Proceed"
RequestFile$(text$,extensions$=$"",save_flag%=0,initial_path$=$"")="brl_system_RequestFile"
RequestDir$(text$,initial_path$=$"")="brl_system_RequestDir"
OpenURL%(url$)="brl_system_OpenURL"
DesktopWidth%()="bbSystemDesktopWidth"
DesktopHeight%()="bbSystemDesktopHeight"
DesktopDepth%()="bbSystemDesktopDepth"
DesktopHertz%()="bbSystemDesktopHertz"
