1 |
/* |
2 |
* $Id: misc_macosx.h,v 1.5 2005/01/30 21:42:13 gbeauche Exp $ |
3 |
* |
4 |
* misc_macosx.h - Some prototypes of functions defined in misc_macosx.mm |
5 |
* |
6 |
* Basilisk II (C) 1997-2008 Christian Bauer |
7 |
* |
8 |
* This program is free software; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
10 |
* the Free Software Foundation; either version 2 of the License, or |
11 |
* (at your option) any later version. |
12 |
* |
13 |
* This program is distributed in the hope that it will be useful, |
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
* GNU General Public License for more details. |
17 |
* |
18 |
* You should have received a copy of the GNU General Public License |
19 |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
*/ |
22 |
|
23 |
#if defined(__APPLE__) && defined(__MACH__) |
24 |
// This means we are on Mac OS X of some sort |
25 |
#endif |
26 |
|
27 |
extern void ErrorSheet (NSString *msg, NSWindow *win), |
28 |
ErrorSheet (NSString *msg1, NSString *msg2, |
29 |
NSString *button, NSWindow *win), |
30 |
WarningSheet (NSString *message,NSWindow *win), |
31 |
WarningSheet (NSString *msg1, NSString *msg2, |
32 |
NSString *button, NSWindow *win), |
33 |
InfoSheet (NSString *msg, NSWindow *win), |
34 |
InfoSheet (NSString *msg1, NSString *msg2, |
35 |
NSString *button, NSWindow *win), |
36 |
EndSheet (NSWindow * window); |
37 |
|
38 |
extern int frequencyToTickDelay (float frequency); |