diff --git a/Frameworks/OakAppKit/src/IOAlertPanel.h b/Frameworks/OakAppKit/src/IOAlertPanel.h new file mode 100644 index 00000000..d264fbf4 --- /dev/null +++ b/Frameworks/OakAppKit/src/IOAlertPanel.h @@ -0,0 +1,8 @@ +#ifndef IO_ALERT_PANEL_H_TGU0N94P +#define IO_ALERT_PANEL_H_TGU0N94P + +#include + +PUBLIC void OakRunIOAlertPanel (char const* format, ...) __attribute__ ((format (printf, 1, 2))); + +#endif /* end of include guard: IO_ALERT_PANEL_H_TGU0N94P */ diff --git a/Frameworks/OakAppKit/src/OakAppKit.h b/Frameworks/OakAppKit/src/OakAppKit.h index d8be5ff4..b96c2cc4 100644 --- a/Frameworks/OakAppKit/src/OakAppKit.h +++ b/Frameworks/OakAppKit/src/OakAppKit.h @@ -1,8 +1,8 @@ +#include "IOAlertPanel.h" #include PUBLIC extern NSString* const OakCursorDidHideNotification; -PUBLIC void OakRunIOAlertPanel (char const* format, ...) __attribute__ ((format (printf, 1, 2))); PUBLIC BOOL OakIsAlternateKeyOrMouseEvent (NSUInteger flags = NSAlternateKeyMask, NSEvent* anEvent = [NSApp currentEvent]); #if !defined(MAC_OS_X_VERSION_10_7) || (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7)