forwarding build fix when MUIA_Scrollgroup_AutoBars is defined (NicJA).
[AROS-Contrib.git] / scalos / include / inline4 / scalos.h
blob36b2f069d32424249dde02611af6956444e10873
1 #ifndef INLINE4_SCALOS_H
2 #define INLINE4_SCALOS_H
4 /*
5 ** This file was auto generated by idltool 52.1.
6 **
7 ** It provides compatibility to OS3 style library
8 ** calls by substituting functions.
9 **
10 ** Do not edit manually.
11 */
13 #ifndef EXEC_TYPES_H
14 #include <exec/types.h>
15 #endif
16 #ifndef EXEC_EXEC_H
17 #include <exec/exec.h>
18 #endif
19 #ifndef EXEC_INTERFACES_H
20 #include <exec/interfaces.h>
21 #endif
23 #ifndef INTUITION_CLASSUSR_H
24 #include <intuition/classusr.h>
25 #endif
26 #ifndef WORKBENCH_STARTUP_H
27 #include <workbench/startup.h>
28 #endif
29 #ifndef SCALOS_SCALOS_H
30 #include <scalos/scalos.h>
31 #endif
32 #include <interfaces/scalos.h>
34 /* Inline macros for Interface "main" */
35 #define SCA_WBStart(argArray, tagList, numArgs) IScalos->SCA_WBStart((argArray), (tagList), (numArgs))
36 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
37 #define SCA_WBStartTags(argArray, numArgs, ...) IScalos->SCA_WBStartTags((argArray), (numArgs), __VA_ARGS__)
38 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
39 #define SCA_WBStartTags(argArray, numArgs, vargs...) IScalos->SCA_WBStartTags(argArray, numArgs, ## vargs)
40 #endif
41 #define SCA_SortNodes(nodelist, sortHook, sortType) IScalos->SCA_SortNodes((nodelist), (sortHook), (sortType))
42 #define SCA_NewAddAppIcon(iD, userData, iconObj, msgPort, tagList) IScalos->SCA_NewAddAppIcon((iD), (userData), (iconObj), (msgPort), (tagList))
43 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
44 #define SCA_NewAddAppIconTags(iD, userData, iconObj, ...) IScalos->SCA_NewAddAppIconTags((iD), (userData), (iconObj), __VA_ARGS__)
45 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
46 #define SCA_NewAddAppIconTags(iD, userData, iconObj, vargs...) IScalos->SCA_NewAddAppIconTags(iD, userData, iconObj, ## vargs)
47 #endif
48 #define SCA_RemoveAppObject(appObj) IScalos->SCA_RemoveAppObject((appObj))
49 #define SCA_NewAddAppWindow(iD, userData, win, msgPort, tagList) IScalos->SCA_NewAddAppWindow((iD), (userData), (win), (msgPort), (tagList))
50 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
51 #define SCA_NewAddAppWindowTags(iD, userData, win, ...) IScalos->SCA_NewAddAppWindowTags((iD), (userData), (win), __VA_ARGS__)
52 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
53 #define SCA_NewAddAppWindowTags(iD, userData, win, vargs...) IScalos->SCA_NewAddAppWindowTags(iD, userData, win, ## vargs)
54 #endif
55 #define SCA_NewAddAppMenuItem(iD, userData, text, msgPort, tagList) IScalos->SCA_NewAddAppMenuItem((iD), (userData), (text), (msgPort), (tagList))
56 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
57 #define SCA_NewAddAppMenuItemTags(iD, userData, text, ...) IScalos->SCA_NewAddAppMenuItemTags((iD), (userData), (text), __VA_ARGS__)
58 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
59 #define SCA_NewAddAppMenuItemTags(iD, userData, text, vargs...) IScalos->SCA_NewAddAppMenuItemTags(iD, userData, text, ## vargs)
60 #endif
61 #define SCA_AllocStdNode(nodeList, nodeType) IScalos->SCA_AllocStdNode((nodeList), (nodeType))
62 #define SCA_AllocNode(nodeList, size) IScalos->SCA_AllocNode((nodeList), (size))
63 #define SCA_FreeNode(nodeList, minNode) IScalos->SCA_FreeNode((nodeList), (minNode))
64 #define SCA_FreeAllNodes(nodeList) IScalos->SCA_FreeAllNodes((nodeList))
65 #define SCA_MoveNode(srcNodeList, destNodeList, minNode) IScalos->SCA_MoveNode((srcNodeList), (destNodeList), (minNode))
66 #define SCA_SwapNodes(minNode1, minNode2, nodeList) IScalos->SCA_SwapNodes((minNode1), (minNode2), (nodeList))
67 #define SCA_OpenIconWindow(tagList) IScalos->SCA_OpenIconWindow((tagList))
68 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
69 #define SCA_OpenIconWindowTags(...) IScalos->SCA_OpenIconWindowTags(__VA_ARGS__)
70 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
71 #define SCA_OpenIconWindowTags(...) IScalos->SCA_OpenIconWindowTags(## vargs)
72 #endif
73 #define SCA_LockWindowList(accessmode) IScalos->SCA_LockWindowList((accessmode))
74 #define SCA_UnLockWindowList() IScalos->SCA_UnLockWindowList()
75 #define SCA_AllocMessage(messagetype, additional_size) IScalos->SCA_AllocMessage((messagetype), (additional_size))
76 #define SCA_FreeMessage(message) IScalos->SCA_FreeMessage((message))
77 #define SCA_InitDrag(screen) IScalos->SCA_InitDrag((screen))
78 #define SCA_EndDrag(dragHandle) IScalos->SCA_EndDrag((dragHandle))
79 #define SCA_AddBob(dragHandle, bm, mask, width, height, xOffset, yOffset) IScalos->SCA_AddBob((dragHandle), (bm), (mask), (width), (height), (xOffset), (yOffset))
80 #define SCA_DrawDrag(dragHandle, x, y, flags) IScalos->SCA_DrawDrag((dragHandle), (x), (y), (flags))
81 #define SCA_UpdateIcon(windowType, updateIconStruct, ui_SIZE) IScalos->SCA_UpdateIcon((windowType), (updateIconStruct), (ui_SIZE))
82 #define SCA_MakeWBArgs(buffer, in, argsSize) IScalos->SCA_MakeWBArgs((buffer), (in), (argsSize))
83 #define SCA_FreeWBArgs(buffer, number, flags) IScalos->SCA_FreeWBArgs((buffer), (number), (flags))
84 #define SCA_RemapBitmap(srcBitmap, destBitmap, penArray) IScalos->SCA_RemapBitmap((srcBitmap), (destBitmap), (penArray))
85 #define SCA_ScreenTitleMsg(format, args) IScalos->SCA_ScreenTitleMsg((format), (args))
86 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
87 #define SCA_ScreenTitleMsgArgs(...) IScalos->SCA_ScreenTitleMsgArgs(__VA_ARGS__)
88 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
89 #define SCA_ScreenTitleMsgArgs(vargs...) IScalos->SCA_ScreenTitleMsgArgs(## vargs)
90 #endif
91 #define SCA_MakeScalosClass(className, superClassName, instSize, dispFunc) IScalos->SCA_MakeScalosClass((className), (superClassName), (instSize), (dispFunc))
92 #define SCA_FreeScalosClass(scalosClass) IScalos->SCA_FreeScalosClass((scalosClass))
93 #define SCA_NewScalosObject(className, tagList) IScalos->SCA_NewScalosObject((className), (tagList))
94 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
95 #define SCA_NewScalosObjectTags(...) IScalos->SCA_NewScalosObjectTags(__VA_ARGS__)
96 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
97 #define SCA_NewScalosObjectTags(vargs...) IScalos->SCA_NewScalosObjectTags(## vargs)
98 #endif
99 #define SCA_DisposeScalosObject(obj) IScalos->SCA_DisposeScalosObject((obj))
100 #define SCA_ScalosControlA(name, tagList) IScalos->SCA_ScalosControlA((name), (tagList))
101 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
102 #define SCA_ScalosControl(...) IScalos->SCA_ScalosControl(__VA_ARGS__)
103 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
104 #define SCA_ScalosControl(vargs...) IScalos->SCA_ScalosControl(## vargs)
105 #endif
106 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
107 #define SCA_ScalosControlTags(...) IScalos->SCA_ScalosControlTags(__VA_ARGS__)
108 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
109 #define SCA_ScalosControlTags(vargs...) IScalos->SCA_ScalosControlTags(## vargs)
110 #endif
111 #define SCA_GetDefIconObject(dirLock, name) IScalos->SCA_GetDefIconObject((dirLock), (name))
112 #define SCA_OpenDrawerByName(path, tagList) IScalos->SCA_OpenDrawerByName((path), (tagList))
113 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
114 #define SCA_OpenDrawerByNameTags(...) IScalos->SCA_OpenDrawerByNameTags(__VA_ARGS__)
115 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
116 #define SCA_OpenDrawerByNameTags(vargs...) IScalos->SCA_OpenDrawerByNameTags(## vargs)
117 #endif
118 #define SCA_CountWBArgs(in) IScalos->SCA_CountWBArgs((in))
119 #define SCA_GetDefIconObjectA(dirLock, name, tagList) IScalos->SCA_GetDefIconObjectA((dirLock), (name), (tagList))
120 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
121 #define SCA_GetDefIconObjectTags(dirLock, ...) IScalos->SCA_GetDefIconObjectTags((dirLock), __VA_ARGS__)
122 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
123 #define SCA_GetDefIconObjectTags(dirLock, vargs...) IScalos->SCA_GetDefIconObjectTags(dirLock, ## vargs)
124 #endif
125 #define SCA_LockDrag(dragHandle) IScalos->SCA_LockDrag((dragHandle))
126 #define SCA_UnlockDrag(dragHandle) IScalos->SCA_UnlockDrag((dragHandle))
128 #endif /* INLINE4_SCALOS_H */