VirtualBox

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


Ignore:
Timestamp:
Jan 13, 2011 1:12:03 PM (14 years ago)
Author:
vboxsync
Message:

Main,VBoxManage: Implemented the progress objects for ExtPackManager::Uninstall and ExtPackFile::Install. Fixed a bug in ExtPackFile wrt cleaning up on failure.

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

Legend:

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

    r35273 r35523  
    4646    HRESULT     FinalConstruct();
    4747    void        FinalRelease();
    48     HRESULT     initWithFile(const char *a_pszFile, class ExtPackManager *a_pExtPackMgr);
     48    HRESULT     initWithFile(const char *a_pszFile, class ExtPackManager *a_pExtPackMgr, VirtualBox *a_pVirtualBox);
    4949    void        uninit();
    5050    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     
    219219    /** @name Internal interfaces used by other Main classes.
    220220     * @{ */
    221     HRESULT     doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace, Utf8Str const *a_pstrDisplayInfo,
    222                           IProgress **a_ppProgress);
     221    static DECLCALLBACK(int) doInstallThreadProc(RTTHREAD hThread, void *pvJob);
     222    HRESULT     doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace, Utf8Str const *a_pstrDisplayInfo);
     223    static DECLCALLBACK(int) doUninstallThreadProc(RTTHREAD hThread, void *pvJob);
     224    HRESULT     doUninstall(const Utf8Str *a_pstrName, bool a_fForcedRemoval, const Utf8Str *a_pstrDisplayInfo);
    223225    void        callAllVirtualBoxReadyHooks(void);
    224226    void        callAllConsoleReadyHooks(IConsole *a_pConsole);
  • trunk/src/VBox/Main/include/ExtPackUtil.h

    r34938 r35523  
    110110
    111111
     112void                VBoxExtPackInitDesc(PVBOXEXTPACKDESC a_pExtPackDesc);
    112113iprt::MiniString   *VBoxExtPackLoadDesc(const char *a_pszDir, PVBOXEXTPACKDESC a_pExtPackDesc, PRTFSOBJINFO a_pObjInfo);
    113114iprt::MiniString   *VBoxExtPackLoadDescFromVfsFile(RTVFSFILE hVfsFile, PVBOXEXTPACKDESC a_pExtPackDesc, PRTFSOBJINFO a_pObjInfo);
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