Changeset 16469 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/VBoxDockIconPreview.h
- Timestamp:
- Feb 2, 2009 5:21:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxDockIconPreview.h
r15804 r16469 21 21 */ 22 22 23 #ifndef __ VBoxDockIconPreview_h__24 #define __ VBoxDockIconPreview_h__23 #ifndef ___VBoxDockIconPreview_h___ 24 #define ___VBoxDockIconPreview_h___ 25 25 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 27 33 28 34 class VBoxConsoleWnd; … … 38 44 39 45 void updateDockOverlay(); 46 #ifndef QT_MAC_USE_COCOA 40 47 void updateDockPreview (CGImageRef aVMImage); 48 #endif 41 49 void updateDockPreview (VBoxFrameBuffer *aFrameBuffer); 42 50 43 51 private: 52 #ifdef QT_MAC_USE_COCOA 53 /** @todo Carbon -> Cocoa */ 54 #else 44 55 inline void initPreviewImages(); 45 56 inline void initOverlayData (int aBitmapByteCount); … … 56 67 return aRect; 57 68 } 69 #endif /* !QT_MAC_USE_COCOA */ 58 70 59 71 /* Private member vars */ 60 72 VBoxConsoleWnd *mMainWnd; 73 #ifdef QT_MAC_USE_COCOA 74 /** @todo Carbon -> Cocoa */ 75 #else 61 76 const CGRect mDockIconRect; 62 77 … … 73 88 CGRect mUpdateRect; 74 89 CGRect mMonitorRect; 90 #endif 75 91 }; 76 92 77 #endif /* __VBoxDockIconPreview_h__ */93 #endif /* !___VBoxDockIconPreview_h___ */ 78 94
Note:
See TracChangeset
for help on using the changeset viewer.