VirtualBox

Changeset 61564 in vbox for trunk/src


Ignore:
Timestamp:
Jun 8, 2016 9:16:07 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107903
Message:

Main: IDisplay changed queryScreenLayout to be an attribute

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r61560 r61564  
    1676516765  <interface
    1676616766    name="IDisplay" extends="$unknown"
    16767     uuid="92d9349f-59fd-4eb1-b565-1ba51beb1c9c"
     16767    uuid="02326f63-bcb3-4481-96e0-30d1c2ee97f6"
    1676816768    wsmap="managed"
    1676916769    wrap-hint-server-addinterfaces="IEventListener"
     
    1678116781      the host computer or an RDP session's display on a remote computer.
    1678216782    </desc>
     16783
     16784    <attribute name="guestScreenLayout" type="IGuestScreenInfo" safearray="yes" readonly="yes">
     16785      <desc>
     16786        Layout of the guest screens.
     16787      </desc>
     16788    </attribute>
    1678316789
    1678416790    <method name="getScreenResolution">
     
    1708417090      </desc>
    1708517091      <param name="fUnscaledHiDPI" type="boolean" dir="in"/>
    17086     </method>
    17087 
    17088     <method name="queryScreenLayout">
    17089       <desc>
    17090         Queries layout of the guest screens.
    17091       </desc>
    17092       <param name="guestScreenInfo" type="IGuestScreenInfo" safearray="yes" dir="return"/>
    1709317092    </method>
    1709417093
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r61560 r61564  
    217217private:
    218218    // Wrapped IDisplay properties
     219    virtual HRESULT getGuestScreenLayout(std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenLayout);
    219220
    220221    // Wrapped IDisplay methods
     
    272273                                            ULONG aScaleFactorHMultiplied);
    273274    virtual HRESULT notifyHiDPIOutputPolicyChange(BOOL fUnscaledHiDPI);
    274     virtual HRESULT queryScreenLayout(std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo);
    275275    virtual HRESULT setScreenLayout(ScreenLayoutMode_T aScreenLayoutMode,
    276276                                    const std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo);
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r61560 r61564  
    28042804}
    28052805
    2806 HRESULT Display::queryScreenLayout(std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo)
    2807 {
    2808     NOREF(aGuestScreenInfo);
     2806HRESULT Display::getGuestScreenLayout(std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenLayout)
     2807{
     2808    NOREF(aGuestScreenLayout);
    28092809    return E_NOTIMPL;
    28102810}
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