VirtualBox

Changeset 68534 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 28, 2017 10:11:16 AM (7 years ago)
Author:
vboxsync
Message:

Main: IDisplay::DetachScreens stub

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

Legend:

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

    r68485 r68534  
    1031510315  <enum
    1031610316    name="AdditionsFacilityType"
    10317     uuid="98f7f957-89fb-49b6-a3b1-31e3285eb1d8"
     10317    uuid="c4b10d74-dd48-4ff4-9a40-785a2a389ade"
    1031810318    >
    1031910319    <desc>
     
    1034310343        are not immediately acted on and guest display resizes are probably not initiated by
    1034410344        the guest additions.
     10345      </desc>
     10346    </const>
     10347    <const name="MonitorAttach"         value="1101">
     10348      <desc>Guest supports monitor hotplug.
    1034510349      </desc>
    1034610350    </const>
     
    1715317157  <enum
    1715417158    name="ScreenLayoutMode"
    17155     uuid="9a982f4f-b815-4802-8539-d0b46435a7b7"
     17159    uuid="c7a9ee66-cfed-438b-9f8c-d3adf7588a4d"
    1715617160    wsmap="managed"
    1715717161    >
     
    1717117175      </desc>
    1717217176    </const>
     17177
     17178    <const name="Attach" value="2">
     17179      <desc>
     17180        Attach new screens and always set the new mode for existing screens.
     17181      </desc>
     17182    </const>
    1717317183  </enum>
    1717417184
    1717517185  <interface
    1717617186    name="IGuestScreenInfo" extends="$unknown"
    17177     uuid="5f99cd4d-bbd2-49ba-b24d-4b5b42fb4c3a"
     17187    uuid="6b2f98f8-9641-4397-854a-040439d0114b"
    1717817188    wsmap="managed"
    1717917189    >
     
    1718717197    <attribute name="height" type="unsigned long" readonly="yes"/>
    1718817198    <attribute name="bitsPerPixel" type="unsigned long" readonly="yes"/>
     17199    <attribute name="extendedInfo" type="wstring" readonly="yes"/>
    1718917200  </interface>
    1719017201
    1719117202  <interface
    1719217203    name="IDisplay" extends="$unknown"
    17193     uuid="02326f63-bcb3-4481-96e0-30d1c2ee97f6"
     17204    uuid="76eed314-3c72-4bbb-95cf-5eb4947a4041"
    1719417205    wsmap="managed"
    1719517206    wrap-hint-server-addinterfaces="IEventListener"
     
    1753617547      <param name="screenLayoutMode" type="ScreenLayoutMode" dir="in"/>
    1753717548      <param name="guestScreenInfo" type="IGuestScreenInfo" safearray="yes" dir="in"/>
     17549    </method>
     17550
     17551    <method name="detachScreens">
     17552      <desc>
     17553        Unplugs monitors from the virtual graphics card.
     17554      </desc>
     17555      <param name="screenIds" type="long" safearray="yes" dir="in"/>
    1753817556    </method>
    1753917557
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r67914 r68534  
    291291    virtual HRESULT setScreenLayout(ScreenLayoutMode_T aScreenLayoutMode,
    292292                                    const std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo);
     293    virtual HRESULT detachScreens(const std::vector<LONG> &aScreenIds);
    293294
    294295    // Wrapped IEventListener properties
  • trunk/src/VBox/Main/src-client/AdditionsFacilityImpl.cpp

    r67914 r68534  
    3737    { "Seamless Mode", AdditionsFacilityType_Seamless, AdditionsFacilityClass_Feature },
    3838    { "Graphics Mode", AdditionsFacilityType_Graphics, AdditionsFacilityClass_Feature },
     39    { "Guest Monitor Attach", AdditionsFacilityType_MonitorAttach, AdditionsFacilityClass_Feature },
    3940};
    4041
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r67914 r68534  
    30523052    NOREF(aScreenLayoutMode);
    30533053    NOREF(aGuestScreenInfo);
     3054    return E_NOTIMPL;
     3055}
     3056
     3057HRESULT Display::detachScreens(const std::vector<LONG> &aScreenIds)
     3058{
     3059    NOREF(aScreenIds);
    30543060    return E_NOTIMPL;
    30553061}
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