Changeset 34808 in vbox for trunk/src/VBox
- Timestamp:
- Dec 7, 2010 5:21:19 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ExtPackManagerImpl.cpp
r34794 r34808 374 374 #endif 375 375 ReturnComNotImplemented(); 376 } 377 378 STDMETHODIMP ExtPackFile::COMGETTER(License)(BSTR *a_pbstrHtmlLicense) 379 { 380 CheckComArgOutPointerValid(a_pbstrHtmlLicense); 381 382 AutoCaller autoCaller(this); 383 HRESULT hrc = autoCaller.rc(); 384 if (SUCCEEDED(hrc)) 385 { 386 Utf8Str Dummy; 387 Dummy.cloneTo(a_pbstrHtmlLicense); 388 } 389 return hrc; 390 } 391 392 STDMETHODIMP ExtPackFile::COMGETTER(ShowLicense)(BOOL *a_pfShowIt) 393 { 394 CheckComArgOutPointerValid(a_pfShowIt); 395 396 AutoCaller autoCaller(this); 397 HRESULT hrc = autoCaller.rc(); 398 if (SUCCEEDED(hrc)) 399 *a_pfShowIt = FALSE; 400 return hrc; 376 401 } 377 402 … … 1377 1402 #endif 1378 1403 ReturnComNotImplemented(); 1404 } 1405 1406 STDMETHODIMP ExtPack::COMGETTER(License)(BSTR *a_pbstrHtmlLicense) 1407 { 1408 CheckComArgOutPointerValid(a_pbstrHtmlLicense); 1409 1410 AutoCaller autoCaller(this); 1411 HRESULT hrc = autoCaller.rc(); 1412 if (SUCCEEDED(hrc)) 1413 { 1414 Utf8Str Dummy; 1415 Dummy.cloneTo(a_pbstrHtmlLicense); 1416 } 1417 return hrc; 1418 } 1419 1420 STDMETHODIMP ExtPack::COMGETTER(ShowLicense)(BOOL *a_pfShowIt) 1421 { 1422 CheckComArgOutPointerValid(a_pfShowIt); 1423 1424 AutoCaller autoCaller(this); 1425 HRESULT hrc = autoCaller.rc(); 1426 if (SUCCEEDED(hrc)) 1427 *a_pfShowIt = FALSE; 1428 return hrc; 1379 1429 } 1380 1430 -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r34787 r34808 14335 14335 <interface 14336 14336 name="IExtPackBase" extends="$unknown" 14337 uuid=" 58304368-f78a-418c-8fec-d9e4e588d797"14337 uuid="ddc90e1d-b156-480e-b128-d3ccacbb42e0" 14338 14338 wsmap="suppress" 14339 14339 > … … 14365 14365 <desc>Plug-ins provided by this extension pack.</desc> 14366 14366 </attribute> 14367 <attribute name="license" type="wstring" readonly="yes"> 14368 <desc>The HTML license text for the extension pack.</desc> 14369 </attribute> 14370 <attribute name="showLicense" type="boolean" readonly="yes"> 14371 <desc>Whether to show the license before installation</desc> 14372 </attribute> 14367 14373 <attribute name="usable" type="boolean" readonly="yes"> 14368 14374 <desc> … … 14384 14390 <interface 14385 14391 name="IExtPack" extends="IExtPackBase" 14386 uuid=" 60f0c30f-c773-4d3e-9580-3ffa47c24e95"14392 uuid="b9c18b10-611e-46ea-abcc-bfa1e680ea80" 14387 14393 wsmap="suppress" 14388 14394 > … … 14408 14414 <interface 14409 14415 name="IExtPackFile" extends="IExtPackBase" 14410 uuid=" 58509cab-f905-4acb-8087-ba0ab80d8038"14416 uuid="d9eab28b-b28f-4400-a956-403f28750225" 14411 14417 wsmap="suppress" 14412 14418 > -
trunk/src/VBox/Main/include/ExtPackManagerImpl.h
r34794 r34808 59 59 STDMETHOD(COMGETTER(VRDEModule))(BSTR *a_pbstrVrdeModule); 60 60 STDMETHOD(COMGETTER(PlugIns))(ComSafeArrayOut(IExtPackPlugIn *, a_paPlugIns)); 61 STDMETHOD(COMGETTER(License))(BSTR *a_pbstrHtmlLicense); 62 STDMETHOD(COMGETTER(ShowLicense))(BOOL *a_pfShowIt); 61 63 STDMETHOD(COMGETTER(Usable))(BOOL *a_pfUsable); 62 64 STDMETHOD(COMGETTER(WhyUnusable))(BSTR *a_pbstrWhy); … … 120 122 STDMETHOD(COMGETTER(VRDEModule))(BSTR *a_pbstrVrdeModule); 121 123 STDMETHOD(COMGETTER(PlugIns))(ComSafeArrayOut(IExtPackPlugIn *, a_paPlugIns)); 124 STDMETHOD(COMGETTER(License))(BSTR *a_pbstrHtmlLicense); 125 STDMETHOD(COMGETTER(ShowLicense))(BOOL *a_pfShowIt); 122 126 STDMETHOD(COMGETTER(Usable))(BOOL *a_pfUsable); 123 127 STDMETHOD(COMGETTER(WhyUnusable))(BSTR *a_pbstrWhy);
Note:
See TracChangeset
for help on using the changeset viewer.