VirtualBox

Changeset 46823 in vbox


Ignore:
Timestamp:
Jun 27, 2013 9:37:07 AM (11 years ago)
Author:
vboxsync
Message:

Main: fix breakage in previous client/server separation cleanup

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

Legend:

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

    r44529 r46823  
    2323#include <iprt/fs.h>
    2424
     25#if !defined(VBOX_COM_INPROC)
    2526/**
    2627 * An extension pack file.
     
    8586    friend class ExtPackManager;
    8687};
     88#endif
    8789
    8890
     
    215217    /** @name Internal interfaces used by other Main classes.
    216218     * @{ */
     219#if !defined(VBOX_COM_INPROC)
    217220    static DECLCALLBACK(int) doInstallThreadProc(RTTHREAD hThread, void *pvJob);
    218221    HRESULT     doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace, Utf8Str const *a_pstrDisplayInfo);
    219222    static DECLCALLBACK(int) doUninstallThreadProc(RTTHREAD hThread, void *pvJob);
    220223    HRESULT     doUninstall(const Utf8Str *a_pstrName, bool a_fForcedRemoval, const Utf8Str *a_pstrDisplayInfo);
     224#endif
    221225    void        callAllVirtualBoxReadyHooks(void);
    222226    void        callAllConsoleReadyHooks(IConsole *a_pConsole);
  • trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp

    r46820 r46823  
    20392039}
    20402040
    2041 #if !defined(VBOX_COM_INPROC)
    20422041STDMETHODIMP ExtPackManager::OpenExtPackFile(IN_BSTR a_bstrTarballAndDigest, IExtPackFile **a_ppExtPackFile)
    20432042{
     
    20462045    AssertReturn(m->enmContext == VBOXEXTPACKCTX_PER_USER_DAEMON, E_UNEXPECTED);
    20472046
     2047#if !defined(VBOX_COM_INPROC)
    20482048    /* The API can optionally take a ::SHA-256=<hex-digest> attribute at the
    20492049       end of the file name.  This is just a temporary measure for
     
    20692069
    20702070    return hrc;
     2071#else
     2072    return E_NOTIMPL;
     2073#endif
    20712074}
    20722075
     
    20792082    Assert(m->enmContext == VBOXEXTPACKCTX_PER_USER_DAEMON);
    20802083
     2084#if !defined(VBOX_COM_INPROC)
    20812085    AutoCaller autoCaller(this);
    20822086    HRESULT hrc = autoCaller.rc();
     
    21272131
    21282132    return hrc;
    2129 }
     2133#else
     2134    return E_NOTIMPL;
    21302135#endif
     2136}
    21312137
    21322138STDMETHODIMP ExtPackManager::Cleanup(void)
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