VirtualBox

Ignore:
Timestamp:
Feb 26, 2009 4:09:24 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43448
Message:

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

Location:
trunk/src/VBox/Frontends/VirtualBox/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxDockIconPreview.h

    r16484 r17175  
    2727
    2828#ifdef QT_MAC_USE_COCOA
     29# include <ApplicationServices/ApplicationServices.h>
    2930/** @todo include chocolatey headers... */
    3031#else
     
    4445
    4546    void updateDockOverlay();
    46 #ifndef QT_MAC_USE_COCOA
     47//#ifndef QT_MAC_USE_COCOA
    4748    void updateDockPreview (CGImageRef aVMImage);
    48 #endif
     49//#endif
    4950    void updateDockPreview (VBoxFrameBuffer *aFrameBuffer);
    5051
    5152private:
    52 #ifdef QT_MAC_USE_COCOA
     53//#ifdef QT_MAC_USE_COCOA
    5354    /** @todo Carbon -> Cocoa */
    54 #else
     55//#else
    5556    inline void initPreviewImages();
    5657    inline void initOverlayData (int aBitmapByteCount);
     
    6768        return aRect;
    6869    }
    69 #endif /* !QT_MAC_USE_COCOA */
     70//#endif /* !QT_MAC_USE_COCOA */
    7071
    7172    /* Private member vars */
    7273    VBoxConsoleWnd *mMainWnd;
    73 #ifdef QT_MAC_USE_COCOA
     74//#ifdef QT_MAC_USE_COCOA
    7475    /** @todo Carbon -> Cocoa */
    75 #else
     76//#else
    7677    const CGRect mDockIconRect;
    7778
     
    8889    CGRect mUpdateRect;
    8990    CGRect mMonitorRect;
    90 #endif
     91//#endif
    9192};
    9293
  • 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.

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