VirtualBox

Ignore:
Timestamp:
Feb 26, 2009 4:09:24 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: Quartz2D should be available for 64bit & Cocoa also. See what the 64bit build machine thinks about that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxUtils-darwin.h

    r17150 r17175  
    151151class QImage;
    152152
    153 # ifndef QT_MAC_USE_COCOA
    154 
    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 
    158153/* Converting stuff */
    159154CGImageRef darwinToCGImageRef (const QImage *aImage);
     
    171166    return static_cast<CGContext *> (aWidget->macCGHandle());
    172167}
     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
    173174
    174175/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette