forked from snes9xgit/snes9x
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmac-dialog.h
executable file
·60 lines (51 loc) · 2.17 KB
/
mac-dialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*****************************************************************************\
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
This file is licensed under the Snes9x License.
For further information, consult the LICENSE file in the root directory.
\*****************************************************************************/
/***********************************************************************************
SNES9X for Mac OS (c) Copyright John Stiles
Snes9x for Mac OS X
(c) Copyright 2001 - 2011 zones
(c) Copyright 2002 - 2005 107
(c) Copyright 2002 PB1400c
(c) Copyright 2004 Alexander and Sander
(c) Copyright 2004 - 2005 Steven Seeger
(c) Copyright 2005 Ryan Vogt
***********************************************************************************/
#ifndef _mac_dialog_h_
#define _mac_dialog_h_
enum
{
kS9xMacAlertFolderNotFound = 1,
kS9xMacAlertFolderNotFoundHint,
kS9xMacAlertFolderNotWritable,
kS9xMacAlertFolderNotWritableHint,
kS9xMacAlertkBadRom,
kS9xMacAlertkBadRomHint,
kS9xMacAlertCFCantAddEntry,
kS9xMacAlertCFCantAddEntryHint,
kS9xMacAlertRequiredSystem,
kS9xMacAlertRequiredSystemHint
};
extern int autofireLastTabIndex;
void AboutDialog (void);
void RomInfoDialog (void);
void ConfigureAutofire (void);
void StartCarbonModalDialog (void);
void FinishCarbonModalDialog (void);
void RegisterHelpBook (void);
void MoveWindowPosition (WindowRef, int, Boolean);
void SaveWindowPosition (WindowRef, int);
void AppearanceAlert (AlertType, int, int);
void SetHIViewID (HIViewID *, OSType, SInt32);
OSStatus SetStaticTextCStr (HIViewRef, char *, Boolean);
OSStatus SetStaticTextCFString (HIViewRef, CFStringRef, Boolean);
OSStatus SetStaticTextTrunc (HIViewRef, TruncCode, Boolean);
OSStatus GetEditTextCStr (HIViewRef, char *);
OSStatus SetEditTextCStr (HIViewRef, char *, Boolean);
OSStatus CopyEditTextCFString (HIViewRef, CFStringRef *);
OSStatus SetEditTextCFString (HIViewRef, CFStringRef, Boolean);
OSStatus SetEditTextSelection (HIViewRef, SInt16, SInt16);
OSStatus DefaultEventHandler (EventHandlerCallRef, EventRef, void *);
#endif