home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / fd2inline-1.0-bin.lha / include / inline / commodities.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-12  |  3.4 KB  |  117 lines

  1. #ifndef _INLINE_COMMODITIES_H
  2. #define _INLINE_COMMODITIES_H
  3.  
  4. #ifndef __INLINE_MACROS_H
  5. #include <inline/macros.h>
  6. #endif
  7.  
  8. #ifndef COMMODITIES_BASE_NAME
  9. #define COMMODITIES_BASE_NAME CxBase
  10. #endif
  11.  
  12. #define ActivateCxObj(co, tf) \
  13.     LP2(0x2a, LONG, ActivateCxObj, CxObj *, co, a0, long, tf, d0, \
  14.     , COMMODITIES_BASE_NAME)
  15.  
  16. #define AddIEvents(events) \
  17.     LP1NR(0xb4, AddIEvents, struct InputEvent *, events, a0, \
  18.     , COMMODITIES_BASE_NAME)
  19.  
  20. #define AttachCxObj(headObj, co) \
  21.     LP2NR(0x54, AttachCxObj, CxObj *, headObj, a0, CxObj *, co, a1, \
  22.     , COMMODITIES_BASE_NAME)
  23.  
  24. #define ClearCxObjError(co) \
  25.     LP1NR(0x48, ClearCxObjError, CxObj *, co, a0, \
  26.     , COMMODITIES_BASE_NAME)
  27.  
  28. #define CreateCxObj(type, arg1, arg2) \
  29.     LP3(0x1e, CxObj *, CreateCxObj, unsigned long, type, d0, long, arg1, a0, long, arg2, a1, \
  30.     , COMMODITIES_BASE_NAME)
  31.  
  32. #define CxBroker(nb, error) \
  33.     LP2(0x24, CxObj *, CxBroker, struct NewBroker *, nb, a0, LONG *, error, d0, \
  34.     , COMMODITIES_BASE_NAME)
  35.  
  36. #define CxMsgData(cxm) \
  37.     LP1(0x90, APTR, CxMsgData, CxMsg *, cxm, a0, \
  38.     , COMMODITIES_BASE_NAME)
  39.  
  40. #define CxMsgID(cxm) \
  41.     LP1(0x96, LONG, CxMsgID, CxMsg *, cxm, a0, \
  42.     , COMMODITIES_BASE_NAME)
  43.  
  44. #define CxMsgType(cxm) \
  45.     LP1(0x8a, ULONG, CxMsgType, CxMsg *, cxm, a0, \
  46.     , COMMODITIES_BASE_NAME)
  47.  
  48. #define CxObjError(co) \
  49.     LP1(0x42, LONG, CxObjError, CxObj *, co, a0, \
  50.     , COMMODITIES_BASE_NAME)
  51.  
  52. #define CxObjType(co) \
  53.     LP1(0x3c, ULONG, CxObjType, CxObj *, co, a0, \
  54.     , COMMODITIES_BASE_NAME)
  55.  
  56. #define DeleteCxObj(co) \
  57.     LP1NR(0x30, DeleteCxObj, CxObj *, co, a0, \
  58.     , COMMODITIES_BASE_NAME)
  59.  
  60. #define DeleteCxObjAll(co) \
  61.     LP1NR(0x36, DeleteCxObjAll, CxObj *, co, a0, \
  62.     , COMMODITIES_BASE_NAME)
  63.  
  64. #define DisposeCxMsg(cxm) \
  65.     LP1NR(0xa8, DisposeCxMsg, CxMsg *, cxm, a0, \
  66.     , COMMODITIES_BASE_NAME)
  67.  
  68. #define DivertCxMsg(cxm, headObj, returnObj) \
  69.     LP3NR(0x9c, DivertCxMsg, CxMsg *, cxm, a0, CxObj *, headObj, a1, CxObj *, returnObj, a2, \
  70.     , COMMODITIES_BASE_NAME)
  71.  
  72. #define EnqueueCxObj(headObj, co) \
  73.     LP2NR(0x5a, EnqueueCxObj, CxObj *, headObj, a0, CxObj *, co, a1, \
  74.     , COMMODITIES_BASE_NAME)
  75.  
  76. #define InsertCxObj(headObj, co, pred) \
  77.     LP3NR(0x60, InsertCxObj, CxObj *, headObj, a0, CxObj *, co, a1, CxObj *, pred, a2, \
  78.     , COMMODITIES_BASE_NAME)
  79.  
  80. #define InvertKeyMap(ansiCode, event, km) \
  81.     LP3(0xae, BOOL, InvertKeyMap, unsigned long, ansiCode, d0, struct InputEvent *, event, a0, struct KeyMap *, km, a1, \
  82.     , COMMODITIES_BASE_NAME)
  83.  
  84. #define MatchIX(event, ix) \
  85.     LP2(0xcc, BOOL, MatchIX, struct InputEvent *, event, a0, IX *, ix, a1, \
  86.     , COMMODITIES_BASE_NAME)
  87.  
  88. #define ParseIX(description, ix) \
  89.     LP2(0x84, LONG, ParseIX, STRPTR, description, a0, IX *, ix, a1, \
  90.     , COMMODITIES_BASE_NAME)
  91.  
  92. #define RemoveCxObj(co) \
  93.     LP1NR(0x66, RemoveCxObj, CxObj *, co, a0, \
  94.     , COMMODITIES_BASE_NAME)
  95.  
  96. #define RouteCxMsg(cxm, co) \
  97.     LP2NR(0xa2, RouteCxMsg, CxMsg *, cxm, a0, CxObj *, co, a1, \
  98.     , COMMODITIES_BASE_NAME)
  99.  
  100. #define SetCxObjPri(co, pri) \
  101.     LP2(0x4e, LONG, SetCxObjPri, CxObj *, co, a0, long, pri, d0, \
  102.     , COMMODITIES_BASE_NAME)
  103.  
  104. #define SetFilter(filter, text) \
  105.     LP2NR(0x78, SetFilter, CxObj *, filter, a0, STRPTR, text, a1, \
  106.     , COMMODITIES_BASE_NAME)
  107.  
  108. #define SetFilterIX(filter, ix) \
  109.     LP2NR(0x7e, SetFilterIX, CxObj *, filter, a0, IX *, ix, a1, \
  110.     , COMMODITIES_BASE_NAME)
  111.  
  112. #define SetTranslate(translator, events) \
  113.     LP2NR(0x72, SetTranslate, CxObj *, translator, a0, struct InputEvent *, events, a1, \
  114.     , COMMODITIES_BASE_NAME)
  115.  
  116. #endif /* _INLINE_COMMODITIES_H */
  117.