revert between 56095 -> 55830 in arch
[AROS.git] / workbench / network / stacks / AROSTCP / MUI.MiamiPanel / include / defines / MUI.h
blobedfba8c65903d9d31c64e9111291fdc6f5f1821f
1 #ifndef DEFINES_MUI_PROTOS_H
2 #define DEFINES_MUI_PROTOS_H
4 /*
5 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 */
8 /*
9 Desc: Defines for mui
12 #include <aros/libcall.h>
13 #include <exec/types.h>
14 #include <aros/preprocessor/variadic/cast2iptr.hpp>
17 #define __MiamiPanelInit_WB(__MiamiPanelBase, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \
18 AROS_LC8(LONG, MiamiPanelInit, \
19 AROS_LCA(IPTR,(__arg1),A0), \
20 AROS_LCA(IPTR,(__arg2),A1), \
21 AROS_LCA(LONG,(__arg3),D0), \
22 AROS_LCA(STRPTR,(__arg4),A2), \
23 AROS_LCA(STRPTR,(__arg5),A3), \
24 AROS_LCA(LONG,(__arg6),D1), \
25 AROS_LCA(LONG,(__arg7),D2), \
26 AROS_LCA(IPTR,(__arg8),A4), \
27 struct Library *, (__MiamiPanelBase), 5, MiamiPanel)
29 #define MiamiPanelInit(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
30 __MiamiPanelInit_WB(MiamiPanelBase, (arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (arg7), (arg8))
32 #define __MiamiPanelCleanup_WB(__MiamiPanelBase) \
33 AROS_LC0NR(void, MiamiPanelCleanup, \
34 struct Library *, (__MiamiPanelBase), 6, MiamiPanel)
36 #define MiamiPanelCleanup() \
37 __MiamiPanelCleanup_WB(MiamiPanelBase)
39 #define __MiamiPanelAddInterface_WB(__MiamiPanelBase, __arg1, __arg2, __arg3, __arg4, __arg5) \
40 AROS_LC5NR(void, MiamiPanelAddInterface, \
41 AROS_LCA(LONG,(__arg1),D0), \
42 AROS_LCA(STRPTR,(__arg2),A0), \
43 AROS_LCA(LONG,(__arg3),D1), \
44 AROS_LCA(LONG,(__arg4),D2), \
45 AROS_LCA(STRPTR,(__arg5),A1), \
46 struct Library *, (__MiamiPanelBase), 7, MiamiPanel)
48 #define MiamiPanelAddInterface(arg1, arg2, arg3, arg4, arg5) \
49 __MiamiPanelAddInterface_WB(MiamiPanelBase, (arg1), (arg2), (arg3), (arg4), (arg5))
51 #define __MiamiPanelDelInterface_WB(__MiamiPanelBase, __arg1) \
52 AROS_LC1NR(void, MiamiPanelDelInterface, \
53 AROS_LCA(LONG,(__arg1),D0), \
54 struct Library *, (__MiamiPanelBase), 8, MiamiPanel)
56 #define MiamiPanelDelInterface(arg1) \
57 __MiamiPanelDelInterface_WB(MiamiPanelBase, (arg1))
59 #define __MiamiPanelSetInterfaceState_WB(__MiamiPanelBase, __arg1, __arg2, __arg3) \
60 AROS_LC3NR(void, MiamiPanelSetInterfaceState, \
61 AROS_LCA(LONG,(__arg1),D0), \
62 AROS_LCA(LONG,(__arg2),D1), \
63 AROS_LCA(LONG,(__arg3),D2), \
64 struct Library *, (__MiamiPanelBase), 9, MiamiPanel)
66 #define MiamiPanelSetInterfaceState(arg1, arg2, arg3) \
67 __MiamiPanelSetInterfaceState_WB(MiamiPanelBase, (arg1), (arg2), (arg3))
69 #define __MiamiPanelSetInterfaceSpeed_WB(__MiamiPanelBase, __arg1, __arg2) \
70 AROS_LC2NR(void, MiamiPanelSetInterfaceSpeed, \
71 AROS_LCA(LONG,(__arg1),D0), \
72 AROS_LCA(UBYTE *,(__arg2),A0), \
73 struct Library *, (__MiamiPanelBase), 10, MiamiPanel)
75 #define MiamiPanelSetInterfaceSpeed(arg1, arg2) \
76 __MiamiPanelSetInterfaceSpeed_WB(MiamiPanelBase, (arg1), (arg2))
78 #define __MiamiPanelInterfaceReport_WB(__MiamiPanelBase, __arg1, __arg2, __arg3, __arg4, __arg5) \
79 AROS_LC5NR(void, MiamiPanelInterfaceReport, \
80 AROS_LCA(LONG,(__arg1),D0), \
81 AROS_LCA(LONG,(__arg2),D1), \
82 AROS_LCA(LONG,(__arg3),D2), \
83 AROS_LCA(LONG,(__arg4),D3), \
84 AROS_LCA(ULONG,(__arg5),D4), \
85 struct Library *, (__MiamiPanelBase), 11, MiamiPanel)
87 #define MiamiPanelInterfaceReport(arg1, arg2, arg3, arg4, arg5) \
88 __MiamiPanelInterfaceReport_WB(MiamiPanelBase, (arg1), (arg2), (arg3), (arg4), (arg5))
90 #define __MiamiPanelToFront_WB(__MiamiPanelBase) \
91 AROS_LC0NR(void, MiamiPanelToFront, \
92 struct Library *, (__MiamiPanelBase), 12, MiamiPanel)
94 #define MiamiPanelToFront() \
95 __MiamiPanelToFront_WB(MiamiPanelBase)
97 #define __MiamiPanelInhibitRefresh_WB(__MiamiPanelBase, __arg1) \
98 AROS_LC1NR(void, MiamiPanelInhibitRefresh, \
99 AROS_LCA(LONG,(__arg1),D0), \
100 struct Library *, (__MiamiPanelBase), 13, MiamiPanel)
102 #define MiamiPanelInhibitRefresh(arg1) \
103 __MiamiPanelInhibitRefresh_WB(MiamiPanelBase, (arg1))
105 #define __MiamiPanelGetCoord_WB(__MiamiPanelBase, __arg1, __arg2) \
106 AROS_LC2NR(void, MiamiPanelGetCoord, \
107 AROS_LCA(LONG *,(__arg1),A0), \
108 AROS_LCA(LONG *,(__arg2),A1), \
109 struct Library *, (__MiamiPanelBase), 14, MiamiPanel)
111 #define MiamiPanelGetCoord(arg1, arg2) \
112 __MiamiPanelGetCoord_WB(MiamiPanelBase, (arg1), (arg2))
114 #define __MiamiPanelEvent_WB(__MiamiPanelBase, __arg1) \
115 AROS_LC1NR(void, MiamiPanelEvent, \
116 AROS_LCA(ULONG,(__arg1),D0), \
117 struct Library *, (__MiamiPanelBase), 15, MiamiPanel)
119 #define MiamiPanelEvent(arg1) \
120 __MiamiPanelEvent_WB(MiamiPanelBase, (arg1))
122 #define __MiamiPanelRefreshName_WB(__MiamiPanelBase, __arg1, __arg2) \
123 AROS_LC2NR(void, MiamiPanelRefreshName, \
124 AROS_LCA(LONG,(__arg1),D0), \
125 AROS_LCA(UBYTE *,(__arg2),A0), \
126 struct Library *, (__MiamiPanelBase), 16, MiamiPanel)
128 #define MiamiPanelRefreshName(arg1, arg2) \
129 __MiamiPanelRefreshName_WB(MiamiPanelBase, (arg1), (arg2))
131 #define __MiamiPanelGetVersion_WB(__MiamiPanelBase) \
132 AROS_LC0(LONG, MiamiPanelGetVersion, \
133 struct Library *, (__MiamiPanelBase), 17, MiamiPanel)
135 #define MiamiPanelGetVersion() \
136 __MiamiPanelGetVersion_WB(MiamiPanelBase)
138 #define __MiamiPanelKill_WB(__MiamiPanelBase) \
139 AROS_LC0(ULONG, MiamiPanelKill, \
140 struct Library *, (__MiamiPanelBase), 26, MiamiPanel)
142 #define MiamiPanelKill() \
143 __MiamiPanelKill_WB(MiamiPanelBase)
145 #endif /* DEFINES_MUI_PROTOS_H*/