Added 'description' class attribute to every command class (to help the
[python/dscho.git] / Mac / Python / missingtoolboxcalls.c
blobd539f9d3b1faba5709320c72b3dce2c9d8a3a290
1 /*
2 ** Glue for missing routines.
3 */
4 #include <Types.h>
5 #include <Errors.h>
7 #define UNDEFINED_TOOLBOX_FUNCTION(name) pascal OSErr name() { return unimpErr; }
10 #ifdef __MC68K__
12 UNDEFINED_TOOLBOX_FUNCTION(GetPixRowBytes) /* This one is funny: it should exist */
14 UNDEFINED_TOOLBOX_FUNCTION(IsAntiAliasedTextEnabled)
16 UNDEFINED_TOOLBOX_FUNCTION(SetAntiAliasedTextEnabled)
18 UNDEFINED_TOOLBOX_FUNCTION(SetUpControlTextColor)
20 UNDEFINED_TOOLBOX_FUNCTION(GetControlViewSize)
22 UNDEFINED_TOOLBOX_FUNCTION(SetControlViewSize)
24 UNDEFINED_TOOLBOX_FUNCTION(GetControl32BitValue)
26 UNDEFINED_TOOLBOX_FUNCTION(SetControl32BitValue)
28 UNDEFINED_TOOLBOX_FUNCTION(GetControl32BitMaximum)
30 UNDEFINED_TOOLBOX_FUNCTION(SetControl32BitMaximum)
32 UNDEFINED_TOOLBOX_FUNCTION(GetControl32BitMinimum)
34 UNDEFINED_TOOLBOX_FUNCTION(SetControl32BitMinimum)
36 UNDEFINED_TOOLBOX_FUNCTION(IsValidControlHandle)
38 UNDEFINED_TOOLBOX_FUNCTION(RemoveControlProperty)
40 UNDEFINED_TOOLBOX_FUNCTION(GetMenuFont)
42 UNDEFINED_TOOLBOX_FUNCTION(SetMenuFont)
44 UNDEFINED_TOOLBOX_FUNCTION(GetMenuExcludesMarkColumn)
46 UNDEFINED_TOOLBOX_FUNCTION(SetMenuExcludesMarkColumn)
48 UNDEFINED_TOOLBOX_FUNCTION(AppendMenuItemText)
50 UNDEFINED_TOOLBOX_FUNCTION(InsertMenuItemText)
52 UNDEFINED_TOOLBOX_FUNCTION(EnableMenuItem)
54 UNDEFINED_TOOLBOX_FUNCTION(DisableMenuItem)
56 UNDEFINED_TOOLBOX_FUNCTION(IsMenuItemEnabled)
58 UNDEFINED_TOOLBOX_FUNCTION(EnableMenuItemIcon)
60 UNDEFINED_TOOLBOX_FUNCTION(DisableMenuItemIcon)
62 UNDEFINED_TOOLBOX_FUNCTION(IsMenuItemIconEnabled)
64 UNDEFINED_TOOLBOX_FUNCTION(GetControlRegion)
66 UNDEFINED_TOOLBOX_FUNCTION(AppendDialogItemList)
68 UNDEFINED_TOOLBOX_FUNCTION(SetDialogTimeout)
70 UNDEFINED_TOOLBOX_FUNCTION(GetDialogTimeout)
72 UNDEFINED_TOOLBOX_FUNCTION(SetModalDialogEventMask)
74 UNDEFINED_TOOLBOX_FUNCTION(GetModalDialogEventMask)
76 UNDEFINED_TOOLBOX_FUNCTION(GetWindowOwnerCount)
78 UNDEFINED_TOOLBOX_FUNCTION(CloneWindow)
80 UNDEFINED_TOOLBOX_FUNCTION(GetWindowClass)
82 UNDEFINED_TOOLBOX_FUNCTION(GetWindowAttributes)
84 UNDEFINED_TOOLBOX_FUNCTION(SetWindowContentColor)
86 UNDEFINED_TOOLBOX_FUNCTION(GetWindowContentColor)
88 UNDEFINED_TOOLBOX_FUNCTION(GetWindowContentPattern)
90 UNDEFINED_TOOLBOX_FUNCTION(SetWindowContentPattern)
92 UNDEFINED_TOOLBOX_FUNCTION(InvalWindowRgn)
94 UNDEFINED_TOOLBOX_FUNCTION(InvalWindowRect)
96 UNDEFINED_TOOLBOX_FUNCTION(ValidWindowRgn)
98 UNDEFINED_TOOLBOX_FUNCTION(ValidWindowRect)
100 UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyFSSpec)
102 UNDEFINED_TOOLBOX_FUNCTION(GetWindowProxyFSSpec)
104 UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyAlias)
106 UNDEFINED_TOOLBOX_FUNCTION(GetWindowProxyAlias)
108 UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyCreatorAndType)
110 UNDEFINED_TOOLBOX_FUNCTION(GetWindowProxyIcon)
112 UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyIcon)
114 UNDEFINED_TOOLBOX_FUNCTION(RemoveWindowProxy)
116 UNDEFINED_TOOLBOX_FUNCTION(TrackWindowProxyDrag)
118 UNDEFINED_TOOLBOX_FUNCTION(IsWindowModified)
120 UNDEFINED_TOOLBOX_FUNCTION(SetWindowModified)
122 UNDEFINED_TOOLBOX_FUNCTION(IsWindowPathSelectClick)
124 UNDEFINED_TOOLBOX_FUNCTION(HiliteWindowFrameForDrag)
126 UNDEFINED_TOOLBOX_FUNCTION(TransitionWindow)
128 UNDEFINED_TOOLBOX_FUNCTION(RepositionWindow)
130 UNDEFINED_TOOLBOX_FUNCTION(SetWindowBounds)
132 UNDEFINED_TOOLBOX_FUNCTION(GetWindowBounds)
134 UNDEFINED_TOOLBOX_FUNCTION(MoveWindowStructure)
136 UNDEFINED_TOOLBOX_FUNCTION(IsWindowInStandardState)
138 UNDEFINED_TOOLBOX_FUNCTION(ZoomWindowIdeal)
140 UNDEFINED_TOOLBOX_FUNCTION(GetWindowIdealUserState)
142 UNDEFINED_TOOLBOX_FUNCTION(SetWindowIdealUserState)
144 UNDEFINED_TOOLBOX_FUNCTION(IsMenuBarVisible)
146 UNDEFINED_TOOLBOX_FUNCTION(ShowMenuBar)
148 UNDEFINED_TOOLBOX_FUNCTION(HideMenuBar)
150 UNDEFINED_TOOLBOX_FUNCTION(CreateNewWindow)
152 UNDEFINED_TOOLBOX_FUNCTION(CreateWindowFromResource)
154 UNDEFINED_TOOLBOX_FUNCTION(ShowFloatingWindows)
156 UNDEFINED_TOOLBOX_FUNCTION(HideFloatingWindows)
158 UNDEFINED_TOOLBOX_FUNCTION(AreFloatingWindowsVisible)
160 UNDEFINED_TOOLBOX_FUNCTION(FrontNonFloatingWindow)
162 UNDEFINED_TOOLBOX_FUNCTION(IsValidWindowPtr)
164 UNDEFINED_TOOLBOX_FUNCTION(InitFloatingWindows)
166 UNDEFINED_TOOLBOX_FUNCTION(IconServicesTerminate)
168 UNDEFINED_TOOLBOX_FUNCTION(IconRefToIconFamily)
170 UNDEFINED_TOOLBOX_FUNCTION(IconFamilyToIconSuite)
172 UNDEFINED_TOOLBOX_FUNCTION(IconSuiteToIconFamily)
174 UNDEFINED_TOOLBOX_FUNCTION(SetIconFamilyData)
176 UNDEFINED_TOOLBOX_FUNCTION(GetIconFamilyData)
178 UNDEFINED_TOOLBOX_FUNCTION(GetIconRefOwners)
180 UNDEFINED_TOOLBOX_FUNCTION(AcquireIconRef)
182 UNDEFINED_TOOLBOX_FUNCTION(ReleaseIconRef)
184 UNDEFINED_TOOLBOX_FUNCTION(GetIconRefFromFile)
186 UNDEFINED_TOOLBOX_FUNCTION(GetIconRef)
188 UNDEFINED_TOOLBOX_FUNCTION(GetIconRefFromFolder)
190 UNDEFINED_TOOLBOX_FUNCTION(RegisterIconRefFromIconFamily)
192 UNDEFINED_TOOLBOX_FUNCTION(RegisterIconRefFromResource)
194 UNDEFINED_TOOLBOX_FUNCTION(UnregisterIconRef)
196 UNDEFINED_TOOLBOX_FUNCTION(UpdateIconRef)
198 UNDEFINED_TOOLBOX_FUNCTION(OverrideIconRefFromResource)
200 UNDEFINED_TOOLBOX_FUNCTION(OverrideIconRef)
202 UNDEFINED_TOOLBOX_FUNCTION(RemoveIconRefOverride)
204 UNDEFINED_TOOLBOX_FUNCTION(CompositeIconRef)
206 UNDEFINED_TOOLBOX_FUNCTION(IsIconRefComposite)
208 UNDEFINED_TOOLBOX_FUNCTION(IsValidIconRef)
210 UNDEFINED_TOOLBOX_FUNCTION(PlotIconRef)
212 UNDEFINED_TOOLBOX_FUNCTION(PtInIconRef)
214 UNDEFINED_TOOLBOX_FUNCTION(RectInIconRef)
216 UNDEFINED_TOOLBOX_FUNCTION(IconRefToRgn)
218 UNDEFINED_TOOLBOX_FUNCTION(GetIconSizesFromIconRef)
220 UNDEFINED_TOOLBOX_FUNCTION(FlushIconRefs)
222 UNDEFINED_TOOLBOX_FUNCTION(FlushIconRefsByVolume)
224 UNDEFINED_TOOLBOX_FUNCTION(SetCustomIconsEnabled)
226 UNDEFINED_TOOLBOX_FUNCTION(GetCustomIconsEnabled)
228 UNDEFINED_TOOLBOX_FUNCTION(SndGetInfo)
230 UNDEFINED_TOOLBOX_FUNCTION(SndSetInfo)
232 UNDEFINED_TOOLBOX_FUNCTION(GetCompressionInfo)
234 UNDEFINED_TOOLBOX_FUNCTION(SetSoundPreference)
236 UNDEFINED_TOOLBOX_FUNCTION(GetSoundPreference)
238 UNDEFINED_TOOLBOX_FUNCTION(GetCompressionName)
240 UNDEFINED_TOOLBOX_FUNCTION(DrawThemeTabPane)
242 UNDEFINED_TOOLBOX_FUNCTION(GetThemeTabRegion)
244 UNDEFINED_TOOLBOX_FUNCTION(SetThemeCursor)
246 UNDEFINED_TOOLBOX_FUNCTION(SetAnimatedThemeCursor)
248 UNDEFINED_TOOLBOX_FUNCTION(GetThemeScrollBarThumbStyle)
250 UNDEFINED_TOOLBOX_FUNCTION(GetThemeScrollBarArrowStyle)
252 UNDEFINED_TOOLBOX_FUNCTION(GetThemeCheckBoxStyle)
254 UNDEFINED_TOOLBOX_FUNCTION(UseThemeFont)
256 UNDEFINED_TOOLBOX_FUNCTION(DrawThemeScrollBarArrows)
258 UNDEFINED_TOOLBOX_FUNCTION(GetThemeScrollBarTrackRect)
260 UNDEFINED_TOOLBOX_FUNCTION(HitTestThemeScrollBarArrows)
262 UNDEFINED_TOOLBOX_FUNCTION(DrawThemeScrollBarDelimiters)
264 UNDEFINED_TOOLBOX_FUNCTION(PlayThemeSound)
266 UNDEFINED_TOOLBOX_FUNCTION(BeginThemeDragSound)
268 UNDEFINED_TOOLBOX_FUNCTION(EndThemeDragSound)
270 UNDEFINED_TOOLBOX_FUNCTION(DrawThemeTickMark)
272 UNDEFINED_TOOLBOX_FUNCTION(DrawThemeStandaloneGrowBox)
274 UNDEFINED_TOOLBOX_FUNCTION(DrawThemeStandaloneNoGrowBox)
276 UNDEFINED_TOOLBOX_FUNCTION(GetThemeStandaloneGrowBoxBounds)
278 UNDEFINED_TOOLBOX_FUNCTION(NormalizeThemeDrawingState)
280 UNDEFINED_TOOLBOX_FUNCTION(ApplyThemeBackground)
282 UNDEFINED_TOOLBOX_FUNCTION(SetThemeTextColorForWindow)
284 UNDEFINED_TOOLBOX_FUNCTION(IsValidAppearanceFileType)
286 UNDEFINED_TOOLBOX_FUNCTION(GetThemeBrushAsColor)
288 UNDEFINED_TOOLBOX_FUNCTION(GetThemeTextColor)
290 #endif