Changeset 61560 in vbox for trunk/src/VBox
- Timestamp:
- Jun 8, 2016 8:33:31 AM (9 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r61137 r61560 16699 16699 <enum 16700 16700 name="GuestMonitorStatus" 16701 uuid="a0001cb1-97c9-496d-82bc-616c19a9e212" 16701 uuid="6b8d3f71-39cb-459e-a916-48917ed43e19" 16702 wsmap="managed" 16702 16703 > 16703 16704 <desc> … … 16716 16717 </desc> 16717 16718 </const> 16719 16720 <const name="Blank" value="2"> 16721 <desc> 16722 The guest monitor is enabled in the guest but should display nothing. 16723 </desc> 16724 </const> 16718 16725 </enum> 16726 16727 <enum 16728 name="ScreenLayoutMode" 16729 uuid="9a982f4f-b815-4802-8539-d0b46435a7b7" 16730 wsmap="managed" 16731 > 16732 <desc> 16733 How IDisplay::setScreenLayout method should work. 16734 </desc> 16735 16736 <const name="Apply" value="0"> 16737 <desc> 16738 If the guest is already at desired mode then the API might avoid setting the mode. 16739 </desc> 16740 </const> 16741 16742 <const name="Reset" value="1"> 16743 <desc> 16744 Always set the new mode even if the guest is already at desired mode. 16745 </desc> 16746 </const> 16747 </enum> 16748 16749 <interface 16750 name="IGuestScreenInfo" extends="$unknown" 16751 uuid="5f99cd4d-bbd2-49ba-b24d-4b5b42fb4c3a" 16752 wsmap="managed" 16753 > 16754 <attribute name="screenId" type="unsigned long" readonly="yes"/> 16755 <attribute name="guestMonitorStatus" type="GuestMonitorStatus" readonly="yes"/> 16756 <attribute name="primary" type="boolean" readonly="yes"/> 16757 <attribute name="origin" type="boolean" readonly="yes"/> 16758 <attribute name="originX" type="long" readonly="yes"/> 16759 <attribute name="originY" type="long" readonly="yes"/> 16760 <attribute name="width" type="unsigned long" readonly="yes"/> 16761 <attribute name="height" type="unsigned long" readonly="yes"/> 16762 <attribute name="bitsPerPixel" type="unsigned long" readonly="yes"/> 16763 </interface> 16719 16764 16720 16765 <interface 16721 16766 name="IDisplay" extends="$unknown" 16722 uuid=" 7303a66d-433b-25a4-f9a8-fcadf87e0c2a"16767 uuid="92d9349f-59fd-4eb1-b565-1ba51beb1c9c" 16723 16768 wsmap="managed" 16724 16769 wrap-hint-server-addinterfaces="IEventListener" … … 17039 17084 </desc> 17040 17085 <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"/> 17093 </method> 17094 17095 <method name="setScreenLayout"> 17096 <desc> 17097 Set video modes for the guest screens. 17098 </desc> 17099 <param name="screenLayoutMode" type="ScreenLayoutMode" dir="in"/> 17100 <param name="guestScreenInfo" type="IGuestScreenInfo" safearray="yes" dir="in"/> 17041 17101 </method> 17042 17102 -
trunk/src/VBox/Main/include/DisplayImpl.h
r60905 r61560 272 272 ULONG aScaleFactorHMultiplied); 273 273 virtual HRESULT notifyHiDPIOutputPolicyChange(BOOL fUnscaledHiDPI); 274 virtual HRESULT queryScreenLayout(std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo); 275 virtual HRESULT setScreenLayout(ScreenLayoutMode_T aScreenLayoutMode, 276 const std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo); 274 277 275 278 // Wrapped IEventListener properties -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r60905 r61560 2802 2802 LogRelFlowFunc(("%Rhrc\n", hr)); 2803 2803 return hr; 2804 } 2805 2806 HRESULT Display::queryScreenLayout(std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo) 2807 { 2808 NOREF(aGuestScreenInfo); 2809 return E_NOTIMPL; 2810 } 2811 2812 HRESULT Display::setScreenLayout(ScreenLayoutMode_T aScreenLayoutMode, 2813 const std::vector<ComPtr<IGuestScreenInfo> > &aGuestScreenInfo) 2814 { 2815 NOREF(aScreenLayoutMode); 2816 NOREF(aGuestScreenInfo); 2817 return E_NOTIMPL; 2804 2818 } 2805 2819
Note:
See TracChangeset
for help on using the changeset viewer.