Changeset 4314
- Timestamp:
- 08/23/07 16:15:27 (1 year ago)
- Files:
-
- trunk/src/VBox/Main/GuestImpl.cpp (modified) (1 diff)
- trunk/src/VBox/Main/idl/VirtualBox.xidl (modified) (2 diffs)
- trunk/src/VBox/Main/include/GuestImpl.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Main/GuestImpl.cpp
r4071 r4314 152 152 } 153 153 154 STDMETHODIMP Guest::COMGETTER(MemoryBalloonSize) (ULONG *aMemoryBalloonSize) 155 { 156 if (!aMemoryBalloonSize) 157 return E_POINTER; 158 159 AutoCaller autoCaller (this); 160 CheckComRCReturnRC (autoCaller.rc()); 161 162 AutoReaderLock alock (this); 163 164 *aMemoryBalloonSize = mMemoryBalloonSize; 165 166 return S_OK; 167 } 168 169 STDMETHODIMP Guest::COMSETTER(MemoryBalloonSize) (ULONG aMemoryBalloonSize) 170 { 171 return S_OK; 172 } 173 154 174 STDMETHODIMP Guest::SetCredentials(INPTR BSTR aUserName, INPTR BSTR aPassword, 155 175 INPTR BSTR aDomain, BOOL aAllowInteractiveLogon) trunk/src/VBox/Main/idl/VirtualBox.xidl
r4297 r4314 4321 4321 <interface 4322 4322 name="IGuest" extends="$unknown" 4323 uuid=" 4a61e982-172b-4116-b12e-024b8a9a2b9d"4323 uuid="c7dca803-9ff0-4819-aa3c-d0f191d3798b" 4324 4324 wsmap="suppress" 4325 4325 > … … 4369 4369 integration) is supported. 4370 4370 </desc> 4371 </attribute> 4372 4373 <attribute name="memoryBalloonSize" type="unsigned long"> 4374 <desc>Guest system memory balloon size in megabytes.</desc> 4371 4375 </attribute> 4372 4376 trunk/src/VBox/Main/include/GuestImpl.h
r4071 r4314 56 56 STDMETHOD(COMGETTER(AdditionsVersion)) (BSTR *aAdditionsVersion); 57 57 STDMETHOD(COMGETTER(SupportsSeamless)) (BOOL *aSupportsSeamless); 58 STDMETHOD(COMGETTER(MemoryBalloonSize)) (ULONG *aMemoryBalloonSize); 59 STDMETHOD(COMSETTER(MemoryBalloonSize)) (ULONG aMemoryBalloonSize); 58 60 59 61 // IGuest methods … … 75 77 Data() : mAdditionsActive (FALSE), mSupportsSeamless (FALSE) {} 76 78 77 Bstr mOSTypeId;78 BOOL mAdditionsActive;79 Bstr mAdditionsVersion;80 BOOL mSupportsSeamless;79 Bstr mOSTypeId; 80 BOOL mAdditionsActive; 81 Bstr mAdditionsVersion; 82 BOOL mSupportsSeamless; 81 83 }; 84 85 ULONG mMemoryBalloonSize; 82 86 83 87 ComObjPtr <Console, ComWeakRef> mParent;

