Changeset 17175 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/VBoxUtils-darwin.h
- Timestamp:
- Feb 26, 2009 4:09:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxUtils-darwin.h
r17150 r17175 151 151 class QImage; 152 152 153 # ifndef QT_MAC_USE_COCOA154 155 /* Asserts if a != noErr and prints the error code */156 # define AssertCarbonOSStatus(a) AssertMsg ((a) == noErr, ("Carbon OSStatus: %d\n", static_cast<int> (a)))157 158 153 /* Converting stuff */ 159 154 CGImageRef darwinToCGImageRef (const QImage *aImage); … … 171 166 return static_cast<CGContext *> (aWidget->macCGHandle()); 172 167 } 168 169 # ifndef QT_MAC_USE_COCOA 170 171 /* Asserts if a != noErr and prints the error code */ 172 # define AssertCarbonOSStatus(a) AssertMsg ((a) == noErr, ("Carbon OSStatus: %d\n", static_cast<int> (a))) 173 173 174 174 175 /**
Note:
See TracChangeset
for help on using the changeset viewer.