#define UMA_USE_8_6 0
-#if defined(__POWERPC__) || defined(__MACH__)
-#define UMA_USE_APPEARANCE 1
-#define UMA_USE_WINDOWMGR 1
+#if TARGET_CARBON
+#undef UMA_USE_8_6
+#define UMA_USE_8_6 1
+#endif
+
+#if defined(__POWERPC__) || defined(__APPLE__)
+ #define UMA_USE_APPEARANCE 1
+ #define UMA_USE_WINDOWMGR 1
+ #if defined(__APPLE__)
+ #include <Carbon/Carbon.h>
+ #endif
#else
-#define UMA_USE_APPEARANCE 0
-#define UMA_USE_WINDOWMGR 0
+ #define UMA_USE_APPEARANCE 0
+ #define UMA_USE_WINDOWMGR 0
#endif
#if !UMA_USE_8_6 && UMA_USE_WINDOWMGR
#endif
void UMAInitToolbox( UInt16 inMoreMastersCalls) ;
+void UMACleanupToolbox() ;
bool UMAHasAppearance() ;
long UMAGetAppearanceVersion() ;
void UMAShowWatchCursor() ;
void UMAShowArrowCursor() ;
-void UMAPrOpen() ;
-void UMAPrClose() ;
+OSStatus UMAPrOpen() ;
+OSStatus UMAPrClose() ;
// window manager
OSStatus UMADrawThemePlacard( const Rect *inRect , ThemeDrawState inState ) ;
-#endif
\ No newline at end of file
+#endif