engine/platformMacCarb/macCarbUtil.h File Reference
#include <ApplicationServices/ApplicationServices.h>
#include <CoreFoundation/CoreFoundation.h>
|
Functions |
bool | LoadFrameworkBundle (CFStringRef framework, CFBundleRef *bundlePtr) |
| Looks in the app's Frameworks folder for a framework and loads it if it finds it.
|
bool | LoadPrivateFrameworkBundle (CFStringRef framework, CFBundleRef *bundlePtr) |
| Looks for a framework first in the app then the system, and loads it if it finds it.
|
CGDirectDisplayID | MacCarbGetCGDisplayFromQDDisplay (GDHandle hDisplay) |
| Converts a QuickDraw displayID to a Core Graphics displayID.
|
Function Documentation
bool LoadFrameworkBundle |
( |
CFStringRef |
framework, |
|
|
CFBundleRef * |
bundlePtr | |
|
) |
| | |
Looks in the app's Frameworks folder for a framework and loads it if it finds it.
bool LoadPrivateFrameworkBundle |
( |
CFStringRef |
framework, |
|
|
CFBundleRef * |
bundlePtr | |
|
) |
| | |
Looks for a framework first in the app then the system, and loads it if it finds it.
CGDirectDisplayID MacCarbGetCGDisplayFromQDDisplay |
( |
GDHandle |
hDisplay |
) |
|
Converts a QuickDraw displayID to a Core Graphics displayID.
Different Mac APIs need different displayID types. The conversion is trivial on 10.3+, but ugly on 10.2, so we wrap it here.
|