File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
HIToolbox/include/HIToolbox Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef _Carbon_IB_Carbon_Runtime_H_
2
+ #define _Carbon_IB_Carbon_Runtime_H_
3
+
4
+ #include <CarbonCore/MacErrors.h>
5
+ #include <CoreFoundation/CFBase.h>
6
+ #include <HIToolbox/Menus.h>
7
+
8
+ #ifdef __cplusplus
9
+ extern "C" {
10
+ #endif
11
+
12
+ enum {
13
+ kIBCarbonRuntimeCantFindNibFile = -10960 ,
14
+ kIBCarbonRuntimeObjectNotOfRequestedType = -10961 ,
15
+ kIBCarbonRuntimeCantFindObject = -10962
16
+ };
17
+
18
+ typedef struct OpaqueIBNibRef * IBNibRef ;
19
+
20
+ OSStatus CreateMenuBarFromNib (IBNibRef inNibRef , CFStringRef inName , Handle * outMenuBar );
21
+ OSStatus CreateNibReference (CFStringRef inNibName , IBNibRef * outNibRef );
22
+ OSStatus CreateMenuFromNib (IBNibRef inNibRef , CFStringRef inName , MenuRef * outMenuRef );
23
+ OSStatus CreateNibReference (CFStringRef inNibName , IBNibRef * outNibRef );
24
+ OSStatus CreateNibReferenceWithCFBundle (CFBundleRef inBundle , CFStringRef inNibName , IBNibRef * outNibRef );
25
+ OSStatus CreateWindowFromNib (IBNibRef inNibRef , CFStringRef inName , WindowRef * outWindow );
26
+
27
+ void DisposeNibReference (IBNibRef inNibRef );
28
+
29
+ OSStatus SetMenuBarFromNib (IBNibRef inNibRef , CFStringRef inName );
30
+
31
+ #ifdef __cplusplus
32
+ }
33
+ #endif
34
+
35
+ #endif
Original file line number Diff line number Diff line change 33
33
#include <HIToolbox/HIObject.h>
34
34
#include <HIToolbox/Lists.h>
35
35
#include <HIToolbox/Menus.h>
36
+ #include <HIToolbox/IBCarbonRuntime.h>
36
37
#include <HIToolbox/Notification.h>
37
38
#include <HIToolbox/Scrap.h>
38
39
#include <HIToolbox/TextEdit.h>
You can’t perform that action at this time.
0 commit comments