diff options
Diffstat (limited to 'src/VBox/Main/include/ExtPackManagerImpl.h')
-rw-r--r-- | src/VBox/Main/include/ExtPackManagerImpl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/VBox/Main/include/ExtPackManagerImpl.h b/src/VBox/Main/include/ExtPackManagerImpl.h index c3f9a78d..642e77b5 100644 --- a/src/VBox/Main/include/ExtPackManagerImpl.h +++ b/src/VBox/Main/include/ExtPackManagerImpl.h @@ -4,7 +4,7 @@ */ /* - * Copyright (C) 2010 Oracle Corporation + * Copyright (C) 2010-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -22,6 +22,7 @@ #include <VBox/ExtPack/ExtPack.h> #include <iprt/fs.h> +#if !defined(VBOX_COM_INPROC) /** * An extension pack file. */ @@ -84,6 +85,7 @@ private: friend class ExtPackManager; }; +#endif /** @@ -146,6 +148,7 @@ public: bool callVmPowerOffHook(IConsole *a_pConsole, PVM a_pVM, AutoWriteLock *a_pLock); HRESULT checkVrde(void); HRESULT getVrdpLibraryName(Utf8Str *a_pstrVrdeLibrary); + HRESULT getLibraryName(const char *a_pszModuleName, Utf8Str *a_pstrLibrary); bool wantsToBeDefaultVrde(void) const; HRESULT refresh(bool *pfCanDelete); /** @} */ @@ -165,6 +168,7 @@ protected: VBOXEXTPACKMODKIND enmKind, char *pszFound, size_t cbFound, bool *pfNative); static DECLCALLBACK(int) hlpGetFilePath(PCVBOXEXTPACKHLP pHlp, const char *pszFilename, char *pszPath, size_t cbPath); static DECLCALLBACK(VBOXEXTPACKCTX) hlpGetContext(PCVBOXEXTPACKHLP pHlp); + static DECLCALLBACK(int) hlpLoadHGCMService(PCVBOXEXTPACKHLP pHlp, VBOXEXTPACK_IF_CS(IConsole) *pConsole, const char *pszServiceLibrary, const char *pszServiceName); static DECLCALLBACK(int) hlpReservedN(PCVBOXEXTPACKHLP pHlp); /** @} */ @@ -214,10 +218,12 @@ class ATL_NO_VTABLE ExtPackManager : /** @name Internal interfaces used by other Main classes. * @{ */ +#if !defined(VBOX_COM_INPROC) static DECLCALLBACK(int) doInstallThreadProc(RTTHREAD hThread, void *pvJob); HRESULT doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace, Utf8Str const *a_pstrDisplayInfo); static DECLCALLBACK(int) doUninstallThreadProc(RTTHREAD hThread, void *pvJob); HRESULT doUninstall(const Utf8Str *a_pstrName, bool a_fForcedRemoval, const Utf8Str *a_pstrDisplayInfo); +#endif void callAllVirtualBoxReadyHooks(void); void callAllConsoleReadyHooks(IConsole *a_pConsole); void callAllVmCreatedHooks(IMachine *a_pMachine); @@ -226,6 +232,7 @@ class ATL_NO_VTABLE ExtPackManager : void callAllVmPowerOffHooks(IConsole *a_pConsole, PVM a_pVM); HRESULT checkVrdeExtPack(Utf8Str const *a_pstrExtPack); int getVrdeLibraryPathForExtPack(Utf8Str const *a_pstrExtPack, Utf8Str *a_pstrVrdeLibrary); + HRESULT getLibraryPathForExtPack(const char *a_pszModuleName, Utf8Str const *a_pstrExtPack, Utf8Str *a_pstrLibrary); HRESULT getDefaultVrdeExtPack(Utf8Str *a_pstrExtPack); bool isExtPackUsable(const char *a_pszExtPack); void dumpAllToReleaseLog(void); |