VirtualBox

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


Ignore:
Timestamp:
Dec 21, 2010 12:52:38 PM (14 years ago)
Author:
vboxsync
Message:

IExtPackFile,IExtPackManager: Added progress and display info to the Install and Uninstall methods. No progress object will be returned in 4.0.0 as that is too risky.

File:
1 edited

Legend:

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

    r35184 r35273  
    7070     * @{ */
    7171    STDMETHOD(COMGETTER(FilePath))(BSTR *a_pbstrPath);
    72     STDMETHOD(Install)(BOOL a_fReplace);
     72    STDMETHOD(Install)(BOOL a_fReplace, IN_BSTR a_bstrDisplayInfo, IProgress **a_ppProgress);
    7373    /** @}  */
    7474
     
    211211    STDMETHOD(Find)(IN_BSTR a_bstrName, IExtPack **a_pExtPack);
    212212    STDMETHOD(OpenExtPackFile)(IN_BSTR a_bstrTarball, IExtPackFile **a_ppExtPackFile);
    213     STDMETHOD(Uninstall)(IN_BSTR a_bstrName, BOOL a_fForcedRemoval);
     213    STDMETHOD(Uninstall)(IN_BSTR a_bstrName, BOOL a_fForcedRemoval, IN_BSTR a_bstrDisplayInfo, IProgress **a_ppProgress);
    214214    STDMETHOD(Cleanup)(void);
    215215    STDMETHOD(QueryAllPlugInsForFrontend)(IN_BSTR a_bstrFrontend, ComSafeArrayOut(BSTR, a_pabstrPlugInModules));
     
    219219    /** @name Internal interfaces used by other Main classes.
    220220     * @{ */
    221     HRESULT     doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace);
     221    HRESULT     doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace, Utf8Str const *a_pstrDisplayInfo,
     222                          IProgress **a_ppProgress);
    222223    void        callAllVirtualBoxReadyHooks(void);
    223224    void        callAllConsoleReadyHooks(IConsole *a_pConsole);
     
    233234
    234235private:
    235     HRESULT     runSetUidToRootHelper(const char *a_pszCommand, ...);
     236    HRESULT     runSetUidToRootHelper(Utf8Str const *a_pstrDisplayInfo, const char *a_pszCommand, ...);
    236237    ExtPack    *findExtPack(const char *a_pszName);
    237238    void        removeExtPack(const char *a_pszName);
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