VirtualBox

Changeset 34893 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Dec 9, 2010 2:44:38 PM (14 years ago)
Author:
vboxsync
Message:

ExtPack: First part of the extension pack license code.

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ExtPackManagerImpl.h

    r34808 r34893  
    5959    STDMETHOD(COMGETTER(VRDEModule))(BSTR *a_pbstrVrdeModule);
    6060    STDMETHOD(COMGETTER(PlugIns))(ComSafeArrayOut(IExtPackPlugIn *, a_paPlugIns));
    61     STDMETHOD(COMGETTER(License))(BSTR *a_pbstrHtmlLicense);
    62     STDMETHOD(COMGETTER(ShowLicense))(BOOL *a_pfShowIt);
    6361    STDMETHOD(COMGETTER(Usable))(BOOL *a_pfUsable);
    6462    STDMETHOD(COMGETTER(WhyUnusable))(BSTR *a_pbstrWhy);
     63    STDMETHOD(COMGETTER(ShowLicense))(BOOL *a_pfShowIt);
     64    STDMETHOD(COMGETTER(License))(BSTR *a_pbstrHtmlLicense);
     65    STDMETHOD(QueryLicense)(IN_BSTR a_bstrPreferredLocale, IN_BSTR a_bstrPreferredLanguage,
     66                            IN_BSTR a_bstrFormat, BSTR *a_pbstrLicense);
    6567    /** @}  */
    6668
     
    122124    STDMETHOD(COMGETTER(VRDEModule))(BSTR *a_pbstrVrdeModule);
    123125    STDMETHOD(COMGETTER(PlugIns))(ComSafeArrayOut(IExtPackPlugIn *, a_paPlugIns));
    124     STDMETHOD(COMGETTER(License))(BSTR *a_pbstrHtmlLicense);
    125     STDMETHOD(COMGETTER(ShowLicense))(BOOL *a_pfShowIt);
    126126    STDMETHOD(COMGETTER(Usable))(BOOL *a_pfUsable);
    127127    STDMETHOD(COMGETTER(WhyUnusable))(BSTR *a_pbstrWhy);
     128    STDMETHOD(COMGETTER(ShowLicense))(BOOL *a_pfShowIt);
     129    STDMETHOD(COMGETTER(License))(BSTR *a_pbstrHtmlLicense);
     130    STDMETHOD(QueryLicense)(IN_BSTR a_bstrPreferredLocale, IN_BSTR a_bstrPreferredLanguage,
     131                            IN_BSTR a_bstrFormat, BSTR *a_pbstrLicense);
    128132    /** @}  */
    129133
  • trunk/src/VBox/Main/include/ExtPackUtil.h

    r34787 r34893  
    3333 * The name of the signature file in an extension pack.  */
    3434#define VBOX_EXTPACK_SIGNATURE_NAME     "ExtPack.signature"
     35/** @name VBOX_EXTPACK_LICENSE_NAME_PREFIX
     36 * The name prefix of a license file in an extension pack. There can be
     37 * several license files in a pack, the variations being on locale, language
     38 * and format (HTML, RTF, plain text). All extension packages shall include
     39 * a  */
     40#define VBOX_EXTPACK_LICENSE_NAME_PREFIX "ExtPack.license"
    3541/** @name VBOX_EXTPACK_SUFFIX
    3642 * The suffix of a extension pack tarball. */
     
    94100    /** Pointer to an array of plug-in descriptors. */
    95101    PVBOXEXTPACKPLUGINDESC  paPlugIns;
     102    /** Whether to show the license prior to installation. */
     103    bool                    fShowLicense;
    96104} VBOXEXTPACKDESC;
    97105
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