Changeset 41216 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 8, 2012 6:05:41 PM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r41201 r41216 7 7 8 8 /* 9 * Copyright (C) 20 04-2012Oracle Corporation9 * Copyright (C) 2010 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h
r41201 r41216 6 6 7 7 /* 8 * Copyright (C) 20 04-2012Oracle Corporation8 * Copyright (C) 2010-2011 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 127 127 void setDeleted(bool fIsDeleted) { m_fIsDeleted = fIsDeleted; } 128 128 129 #if defined(Q_OS_WIN32) 129 NS_DECL_ISUPPORTS 130 131 #if defined (Q_OS_WIN32) 130 132 STDMETHOD_(ULONG, AddRef)() 131 133 { … … 142 144 #endif 143 145 144 BEGIN_COM_MAP(UIFrameBuffer) 145 VBOX_DEFAULT_INTERFACE_ENTRIES(IFramebuffer) 146 END_COM_MAP() 146 VBOX_SCRIPTABLE_DISPATCH_IMPL(IFramebuffer) 147 147 148 148 /* IFramebuffer COM methods */ 149 STDMETHOD(COMGETTER(Address)) (BYTE **ppAddress);150 STDMETHOD(COMGETTER(Width)) (ULONG *puWidth);151 STDMETHOD(COMGETTER(Height)) (ULONG *puHeight);152 STDMETHOD(COMGETTER(BitsPerPixel)) (ULONG *puBitsPerPixel);153 STDMETHOD(COMGETTER(BytesPerLine)) (ULONG *puBytesPerLine);154 STDMETHOD(COMGETTER(PixelFormat)) (ULONG *puPixelFormat);155 STDMETHOD(COMGETTER(UsesGuestVRAM)) (BOOL *pbUsesGuestVRAM);156 STDMETHOD(COMGETTER(HeightReduction)) (ULONG *puHeightReduction);157 STDMETHOD(COMGETTER(Overlay)) (IFramebufferOverlay **ppOverlay);158 STDMETHOD(COMGETTER(WinId)) (LONG64 *pWinId);149 STDMETHOD(COMGETTER(Address)) (BYTE **ppAddress); 150 STDMETHOD(COMGETTER(Width)) (ULONG *puWidth); 151 STDMETHOD(COMGETTER(Height)) (ULONG *puHeight); 152 STDMETHOD(COMGETTER(BitsPerPixel)) (ULONG *puBitsPerPixel); 153 STDMETHOD(COMGETTER(BytesPerLine)) (ULONG *puBytesPerLine); 154 STDMETHOD(COMGETTER(PixelFormat)) (ULONG *puPixelFormat); 155 STDMETHOD(COMGETTER(UsesGuestVRAM)) (BOOL *pbUsesGuestVRAM); 156 STDMETHOD(COMGETTER(HeightReduction)) (ULONG *puHeightReduction); 157 STDMETHOD(COMGETTER(Overlay)) (IFramebufferOverlay **ppOverlay); 158 STDMETHOD(COMGETTER(WinId)) (LONG64 *pWinId); 159 159 160 160 STDMETHOD(Lock)(); 161 161 STDMETHOD(Unlock)(); 162 162 163 STDMETHOD(RequestResize) (ULONG uScreenId, ULONG uPixelFormat,164 BYTE *pVRAM, ULONG uBitsPerPixel, ULONG uBytesPerLine,165 ULONG uWidth, ULONG uHeight,166 BOOL *pbFinished);167 168 STDMETHOD(VideoModeSupported) (ULONG uWidth, ULONG uHeight, ULONG uBPP,169 BOOL *pbSupported);163 STDMETHOD(RequestResize) (ULONG uScreenId, ULONG uPixelFormat, 164 BYTE *pVRAM, ULONG uBitsPerPixel, ULONG uBytesPerLine, 165 ULONG uWidth, ULONG uHeight, 166 BOOL *pbFinished); 167 168 STDMETHOD(VideoModeSupported) (ULONG uWidth, ULONG uHeight, ULONG uBPP, 169 BOOL *pbSupported); 170 170 171 171 STDMETHOD(GetVisibleRegion)(BYTE *pRectangles, ULONG uCount, ULONG *puCountCopied); … … 247 247 bool m_fIsDeleted; 248 248 249 #if defined (Q_OS_WIN32)249 #if defined (Q_OS_WIN32) 250 250 private: 251 251
Note:
See TracChangeset
for help on using the changeset viewer.