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/VBoxDockIconPreview.h

    r15804 r16469  
    2121 */
    2222
    23 #ifndef __VBoxDockIconPreview_h__
    24 #define __VBoxDockIconPreview_h__
     23#ifndef ___VBoxDockIconPreview_h___
     24#define ___VBoxDockIconPreview_h___
    2525
    26 #include <Carbon/Carbon.h>
     26#include <QObject> /* drag in QT_MAC_USE_COCOA */
     27
     28#ifndef QT_MAC_USE_COCOA
     29/** @todo include chocolatey headers... */
     30#else
     31# include <Carbon/Carbon.h>
     32#endif
    2733
    2834class VBoxConsoleWnd;
     
    3844
    3945    void updateDockOverlay();
     46#ifndef QT_MAC_USE_COCOA
    4047    void updateDockPreview (CGImageRef aVMImage);
     48#endif
    4149    void updateDockPreview (VBoxFrameBuffer *aFrameBuffer);
    4250
    4351private:
     52#ifdef QT_MAC_USE_COCOA
     53    /** @todo Carbon -> Cocoa */
     54#else
    4455    inline void initPreviewImages();
    4556    inline void initOverlayData (int aBitmapByteCount);
     
    5667        return aRect;
    5768    }
     69#endif /* !QT_MAC_USE_COCOA */
    5870
    5971    /* Private member vars */
    6072    VBoxConsoleWnd *mMainWnd;
     73#ifdef QT_MAC_USE_COCOA
     74    /** @todo Carbon -> Cocoa */
     75#else
    6176    const CGRect mDockIconRect;
    6277
     
    7388    CGRect mUpdateRect;
    7489    CGRect mMonitorRect;
     90#endif
    7591};
    7692
    77 #endif /* __VBoxDockIconPreview_h__ */
     93#endif /* !___VBoxDockIconPreview_h___ */
    7894
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