ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/misc_macosx.h
Revision: 1.3
Committed: 2002-05-30T12:28:38Z (22 years, 5 months ago) by nigel
Content type: text/plain
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.2: +3 -2 lines
Log Message:
EndSheet() to end non-modal (i.e. non Error) sheets, fixed leak in ErrorSheet()

File Contents

# Content
1 /*
2 * $Id: misc_macosx.h,v 1.2 2002/05/25 23:54:02 nigel Exp $
3 *
4 * misc_macosx.h - Some prototypes of functions defined in misc_macosx.mm
5 *
6 * Basilisk II (C) 1997-2001 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);