VirtualBox

Changeset 52596 in vbox for trunk/include


Ignore:
Timestamp:
Sep 4, 2014 4:45:50 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95871
Message:

Storage/VD + Main/ExtPackManager+VirtualBox+SystemProperties: restructure previous change to fit better into the extpack design (using existing hooks) by using two new extpack helper functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/ExtPack/ExtPack.h

    r48313 r52596  
    44
    55/*
    6  * Copyright (C) 2010-2013 Oracle Corporation
     6 * Copyright (C) 2010-2014 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    150150    DECLR3CALLBACKMEMBER(VBOXEXTPACKCTX, pfnGetContext,(PCVBOXEXTPACKHLP pHlp));
    151151
     152    /**
     153     * Loads a HGCM service provided by an extension pack.
     154     *
     155     * @returns VBox status code.
     156     * @param   pHlp            Pointer to this helper structure.
     157     * @param   pConsole        Pointer to the VM's console object.
     158     * @param   pszServiceLibrary Name of the library file containing the
     159     *                          service implementation, without extension.
     160     * @param   pszServiceName  Name of HGCM service.
     161     */
    152162    DECLR3CALLBACKMEMBER(int, pfnLoadHGCMService,(PCVBOXEXTPACKHLP pHlp, VBOXEXTPACK_IF_CS(IConsole) *pConsole,
    153163                                                  const char *pszServiceLibrary, const char *pszServiceName));
     164
     165    /**
     166     * Loads a VD plugin provided by an extension pack.
     167     *
     168     * This makes sense only in the context of the per-user service (VBoxSVC).
     169     *
     170     * @returns VBox status code.
     171     * @param   pHlp            Pointer to this helper structure.
     172     * @param   pVirtualBox     Pointer to the VirtualBox object.
     173     * @param   pszPluginLibrary Name of the library file containing the plugin
     174     *                          implementation, without extension.
     175     */
     176    DECLR3CALLBACKMEMBER(int, pfnLoadVDPlugin,(PCVBOXEXTPACKHLP pHlp, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox,
     177                                               const char *pszPluginLibrary));
     178
     179    /**
     180     * Unloads a VD plugin provided by an extension pack.
     181     *
     182     * This makes sense only in the context of the per-user service (VBoxSVC).
     183     *
     184     * @returns VBox status code.
     185     * @param   pHlp            Pointer to this helper structure.
     186     * @param   pVirtualBox     Pointer to the VirtualBox object.
     187     * @param   pszPluginLibrary Name of the library file containing the plugin
     188     *                          implementation, without extension.
     189     */
     190    DECLR3CALLBACKMEMBER(int, pfnUnloadVDPlugin,(PCVBOXEXTPACKHLP pHlp, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox,
     191                                                 const char *pszPluginLibrary));
    154192
    155193    DECLR3CALLBACKMEMBER(int, pfnReserved1,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     
    159197    DECLR3CALLBACKMEMBER(int, pfnReserved5,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
    160198    DECLR3CALLBACKMEMBER(int, pfnReserved6,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
    161     DECLR3CALLBACKMEMBER(int, pfnReserved7,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
    162     DECLR3CALLBACKMEMBER(int, pfnReserved8,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
    163199
    164200    /** End of structure marker (VBOXEXTPACKHLP_VERSION). */
     
    166202} VBOXEXTPACKHLP;
    167203/** Current version of the VBOXEXTPACKHLP structure.  */
    168 #define VBOXEXTPACKHLP_VERSION          RT_MAKE_U32(1, 1)
     204#define VBOXEXTPACKHLP_VERSION          RT_MAKE_U32(2, 1)
    169205
    170206
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