| 1 | /* os2tk.h (emx+gcc) */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef __OS2_H__
|
|---|
| 4 | #define __OS2_H__
|
|---|
| 5 |
|
|---|
| 6 | #define OS2_INCLUDED
|
|---|
| 7 |
|
|---|
| 8 | #include <os2def.h>
|
|---|
| 9 |
|
|---|
| 10 | #if !defined (INCL_NOBASEAPI)
|
|---|
| 11 |
|
|---|
| 12 | #if defined (INCL_BASE) || defined (INCL_SUB) || defined (INCL_KBD)
|
|---|
| 13 |
|
|---|
| 14 | #define KBD16CHARIN KbdCharIn
|
|---|
| 15 | #define KBD16CLOSE KbdClose
|
|---|
| 16 | #define KBD16DEREGISTER KbdDeRegister
|
|---|
| 17 | #define KBD16FLUSHBUFFER KbdFlushBuffer
|
|---|
| 18 | #define KBD16FREEFOCUS KbdFreeFocus
|
|---|
| 19 | #define KBD16GETCP KbdGetCp
|
|---|
| 20 | #define KBD16GETFOCUS KbdGetFocus
|
|---|
| 21 | #define KBD16GETHWID KbdGetHWID
|
|---|
| 22 | #define KBD16GETSTATUS KbdGetStatus
|
|---|
| 23 | #define KBD16OPEN KbdOpen
|
|---|
| 24 | #define KBD16PEEK KbdPeek
|
|---|
| 25 | #define KBD16REGISTER KbdRegister
|
|---|
| 26 | #define KBD16SETCP KbdSetCp
|
|---|
| 27 | #define KBD16SETCUSTXT KbdSetCustXt
|
|---|
| 28 | #define KBD16SETFGND KbdSetFgnd
|
|---|
| 29 | #define KBD16SETHWID KbdSetHWID
|
|---|
| 30 | #define KBD16SETSTATUS KbdSetStatus
|
|---|
| 31 | #define KBD16STRINGIN KbdStringIn
|
|---|
| 32 | #define KBD16SYNCH KbdSynch
|
|---|
| 33 | #define KBD16XLATE KbdXlate
|
|---|
| 34 |
|
|---|
| 35 | #endif
|
|---|
| 36 |
|
|---|
| 37 | #if defined (INCL_BASE) || defined (INCL_SUB) || defined (INCL_VIO)
|
|---|
| 38 |
|
|---|
| 39 | #define VIO16CHECKCHARTYPE VioCheckCharType
|
|---|
| 40 | #define VIO16DEREGISTER VioDeRegister
|
|---|
| 41 | #define VIO16ENDPOPUP VioEndPopUp
|
|---|
| 42 | #define VIO16GETANSI VioGetAnsi
|
|---|
| 43 | #define VIO16GETBUF VioGetBuf
|
|---|
| 44 | #define VIO16GETCONFIG VioGetConfig
|
|---|
| 45 | #define VIO16GETCP VioGetCp
|
|---|
| 46 | #define VIO16GETCURPOS VioGetCurPos
|
|---|
| 47 | #define VIO16GETCURTYPE VioGetCurType
|
|---|
| 48 | #define VIO16GETFONT VioGetFont
|
|---|
| 49 | #define VIO16GETMODE VioGetMode
|
|---|
| 50 | #define VIO16GETPHYSBUF VioGetPhysBuf
|
|---|
| 51 | #define VIO16GETSTATE VioGetState
|
|---|
| 52 | #define VIO16MODEUNDO VioModeUndo
|
|---|
| 53 | #define VIO16MODEWAIT VioModeWait
|
|---|
| 54 | #define VIO16POPUP VioPopUp
|
|---|
| 55 | #define VIO16PRTSC VioPrtSc
|
|---|
| 56 | #define VIO16PRTSCTOGGLE VioPrtScToggle
|
|---|
| 57 | #define VIO16READCELLSTR VioReadCellStr
|
|---|
| 58 | #define VIO16READCHARSTR VioReadCharStr
|
|---|
| 59 | #define VIO16REDRAWSIZE VioRedrawSize
|
|---|
| 60 | #define VIO16REGISTER VioRegister
|
|---|
| 61 | #define VIO16SAVREDRAWUNDO VioSavRedrawUndo
|
|---|
| 62 | #define VIO16SAVREDRAWWAIT VioSavRedrawWait
|
|---|
| 63 | #define VIO16SCRLOCK VioScrLock
|
|---|
| 64 | #define VIO16SCRUNLOCK VioScrUnLock
|
|---|
| 65 | #define VIO16SCROLLDN VioScrollDn
|
|---|
| 66 | #define VIO16SCROLLLF VioScrollLf
|
|---|
| 67 | #define VIO16SCROLLRT VioScrollRt
|
|---|
| 68 | #define VIO16SCROLLUP VioScrollUp
|
|---|
| 69 | #define VIO16SETANSI VioSetAnsi
|
|---|
| 70 | #define VIO16SETCP VioSetCp
|
|---|
| 71 | #define VIO16SETCURPOS VioSetCurPos
|
|---|
| 72 | #define VIO16SETCURTYPE VioSetCurType
|
|---|
| 73 | #define VIO16SETFONT VioSetFont
|
|---|
| 74 | #define VIO16SETMODE VioSetMode
|
|---|
| 75 | #define VIO16SETSTATE VioSetState
|
|---|
| 76 | #define VIO16SHOWBUF VioShowBuf
|
|---|
| 77 | #define VIO16WRTCELLSTR VioWrtCellStr
|
|---|
| 78 | #define VIO16WRTCHARSTR VioWrtCharStr
|
|---|
| 79 | #define VIO16WRTCHARSTRATT VioWrtCharStrAtt
|
|---|
| 80 | #define VIO16WRTNATTR VioWrtNAttr
|
|---|
| 81 | #define VIO16WRTNCELL VioWrtNCell
|
|---|
| 82 | #define VIO16WRTNCHAR VioWrtNChar
|
|---|
| 83 | #define VIO16WRTTTY VioWrtTTY
|
|---|
| 84 |
|
|---|
| 85 | #endif
|
|---|
| 86 |
|
|---|
| 87 | #if defined (INCL_BASE) || defined (INCL_SUB) || defined (INCL_MOU)
|
|---|
| 88 |
|
|---|
| 89 | #define MOU16CLOSE MouClose
|
|---|
| 90 | #define MOU16DEREGISTER MouDeRegister
|
|---|
| 91 | #define MOU16DRAWPTR MouDrawPtr
|
|---|
| 92 | #define MOU16FLUSHQUE MouFlushQue
|
|---|
| 93 | #define MOU16GETDEVSTATUS MouGetDevStatus
|
|---|
| 94 | #define MOU16GETEVENTMASK MouGetEventMask
|
|---|
| 95 | #define MOU16GETNUMBUTTONS MouGetNumButtons
|
|---|
| 96 | #define MOU16GETNUMMICKEYS MouGetNumMickeys
|
|---|
| 97 | #define MOU16GETNUMQUEEL MouGetNumQueEl
|
|---|
| 98 | #define MOU16GETPTRPOS MouGetPtrPos
|
|---|
| 99 | #define MOU16GETPTRSHAPE MouGetPtrShape
|
|---|
| 100 | #define MOU16GETSCALEFACT MouGetScaleFact
|
|---|
| 101 | #define MOU16GETTHRESHOLD MouGetThreshold
|
|---|
| 102 | #define MOU16INITREAL MouInitReal
|
|---|
| 103 | #define MOU16OPEN MouOpen
|
|---|
| 104 | #define MOU16READEVENTQUE MouReadEventQue
|
|---|
| 105 | #define MOU16REGISTER MouRegister
|
|---|
| 106 | #define MOU16REMOVEPTR MouRemovePtr
|
|---|
| 107 | #define MOU16SETDEVSTATUS MouSetDevStatus
|
|---|
| 108 | #define MOU16SETEVENTMASK MouSetEventMask
|
|---|
| 109 | #define MOU16SETPTRPOS MouSetPtrPos
|
|---|
| 110 | #define MOU16SETPTRSHAPE MouSetPtrShape
|
|---|
| 111 | #define MOU16SETSCALEFACT MouSetScaleFact
|
|---|
| 112 | #define MOU16SETTHRESHOLD MouSetThreshold
|
|---|
| 113 | #define MOU16SYNCH MouSynch
|
|---|
| 114 |
|
|---|
| 115 | #endif
|
|---|
| 116 |
|
|---|
| 117 | #include <bse.h>
|
|---|
| 118 | #endif
|
|---|
| 119 |
|
|---|
| 120 | #if !defined (INCL_NOPMAPI)
|
|---|
| 121 |
|
|---|
| 122 | #if defined (INCL_PM) || defined (INCL_AVIO)
|
|---|
| 123 |
|
|---|
| 124 | #define VIO16ASSOCIATE VioAssociate
|
|---|
| 125 | #define VIO16CREATELOGFONT VioCreateLogFont
|
|---|
| 126 | #define VIO16CREATEPS VioCreatePS
|
|---|
| 127 | #define VIO16DELETESETID VioDeleteSetId
|
|---|
| 128 | #define VIO16DESTROYPS VioDestroyPS
|
|---|
| 129 | #define VIO16GETDEVICECELLSIZE VioGetDeviceCellSize
|
|---|
| 130 | #define VIO16GETORG VioGetOrg
|
|---|
| 131 | #define VIO16QUERYFONTS VioQueryFonts
|
|---|
| 132 | #define VIO16QUERYSETIDS VioQuerySetIds
|
|---|
| 133 | #define VIO16SETDEVICECELLSIZE VioSetDeviceCellSize
|
|---|
| 134 | #define VIO16SETORG VioSetOrg
|
|---|
| 135 | #define VIO16SHOWPS VioShowPS
|
|---|
| 136 | #define WIN16DEFAVIOWINDOWPROC WinDefAVioWindowProc
|
|---|
| 137 |
|
|---|
| 138 | #endif
|
|---|
| 139 |
|
|---|
| 140 | #include <pm.h>
|
|---|
| 141 | #endif
|
|---|
| 142 |
|
|---|
| 143 | #undef MAKE16P
|
|---|
| 144 | #undef MAKEP
|
|---|
| 145 | #undef SELECTOROF
|
|---|
| 146 | #undef OFFSETOF
|
|---|
| 147 |
|
|---|
| 148 | #endif /* not __OS2_H__ */
|
|---|