home *** CD-ROM | disk | FTP | other *** search
- {$if not def LIBRARIES_COMMODITIES_MACROS_H}CONST LIBRARIES_COMMODITIES_MACROS_H=0;
-
- { *************************************************************************
- ** KickPascal-Include-Datei "libraries/commodities.h" zu Kickstart 3.0 **
- ** Ergänzung der Macros als Pascal FUNCTIONen by JS **
- ************************************************************************* }
-
- {$if not def LIBRIRIES_COMMODITIES_H;incl "libraries/commodities.h";endif}
- {$if not def COMMODITIES_LIB;incl "commodities.lib";endif}
-
- Function CxFilter(d : Ptr): p_CxObj;
- begin
- CxFilter:=CreateCxObj(CX_FILTER,Long(d),0);
- end;
-
- Function CxSender(port:p_MsgPort; id:Long): p_CxObj;
- begin
- CxSender:=CreateCxObj(CX_SEND,Long(port),Long(id));
- end;
-
- Function CxSignal(_task:p_task; Sig:Long): p_CxObj;
- begin
- CxSignal:=CreateCxObj(CX_SIGNAL,Long(_task),Long(Sig));
- end;
-
- Function CxTranslate(ie:p_InputEvent): p_CxObj;
- begin
- CxTranslate:=CreateCxObj(CX_TRANSLATE,Long(ie),0);
- end;
-
- Function CxDebug(id:Long): p_CxObj;
- begin
- CxDebug:=CreateCxObj(CX_DEBUG,Long(id),0);
- end;
-
- Function CxCustom(action:Ptr; id:Long): p_CxObj;
- begin
- CxCustom:=CreateCxObj(CX_CUSTOM,Long(action),Long(id));
- end;
-
- {$endif}
-