VirtualBox

Ignore:
Timestamp:
Feb 2, 2009 5:21:58 PM (16 years ago)
Author:
vboxsync
Message:

Qt4Gui: Carbon -> Coca; make it build. (darwin/amd64)

File:
1 edited

Legend:

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

    r16319 r16469  
    4141#endif
    4242#ifdef Q_WS_MAC
    43 # undef PAGE_SIZE
    44 # undef PAGE_SHIFT
    45 # include <Carbon/Carbon.h>
     43# ifdef QT_MAC_USE_COCOA
     44    /** @todo Carbon -> Cocoa */
     45# else
     46#  undef PAGE_SIZE
     47#  undef PAGE_SHIFT
     48#  include <Carbon/Carbon.h>
     49# endif
    4650#endif
    4751
     
    356360#ifdef Q_WS_MAC
    357361    QRegion mCurrRegion;
     362# ifndef QT_MAC_USE_COCOA
     363    /** @todo Carbon -> Cocoa */
     364#else
     365# else
    358366    EventHandlerRef mDarwinRegionEventHandlerRef;
     367# endif
    359368#endif
    360369
     
    386395    QRect mNormalGeometry;
    387396    Qt::WindowFlags mSavedFlags;
     397# ifdef QT_MAC_USE_COCOA
     398    /** @todo Carbon -> Cocoa */
     399# else
    388400    /* For the fade effect if the the window goes fullscreen */
    389401    CGDisplayFadeReservationToken mFadeToken;
     402# endif
    390403#endif
    391404};
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