VirtualBox

Changeset 34244 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 22, 2010 2:31:02 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67992
Message:

Main,Config.kmk,VBoxManage,ExtPacks: Moved the VRDE bits from IVirtualBox to the extension packs; changed ISystemProperties and IVRDEServer to talk about VRDE extension packs instead of VRDE libraries.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r34086 r34244  
    4242VBOXEXTPACK_IF_CS(IMachine);
    4343VBOXEXTPACK_IF_CS(IVirtualBox);
     44
     45/**
     46 * Module kind for use with VBOXEXTPACKHLP::pfnFindModule.
     47 */
     48typedef enum VBOXEXTPACKMODKIND
     49{
     50    /** Zero is invalid as alwasy. */
     51    VBOXEXTPACKMODKIND_INVALID = 0,
     52    /** Raw-mode context module. */
     53    VBOXEXTPACKMODKIND_RC,
     54    /** Ring-0 context module. */
     55    VBOXEXTPACKMODKIND_R0,
     56    /** Ring-3 context module. */
     57    VBOXEXTPACKMODKIND_R3,
     58    /** End of the valid values (exclusive). */
     59    VBOXEXTPACKMODKIND_END,
     60    /** The usual 32-bit type hack. */
     61    VBOXEXTPACKMODKIND_32BIT_HACK = 0x7fffffff
     62} VBOXEXTPACKMODKIND;
    4463
    4564
     
    7493     * @param   pszExt          The extension. If NULL the default ring-3
    7594     *                          library extension will be used.
     95     * @param   enmKind         The kind of module to locate.
    7696     * @param   pszFound        Where to return the path to the module on
    7797     *                          success.
     
    80100     */
    81101    DECLR3CALLBACKMEMBER(int, pfnFindModule,(PCVBOXEXTPACKHLP pHlp, const char *pszName, const char *pszExt,
     102                                             VBOXEXTPACKMODKIND enmKind,
    82103                                             char *pszFound, size_t cbFound, bool *pfNative));
    83104
     
    97118     */
    98119    DECLR3CALLBACKMEMBER(int, pfnGetFilePath,(PCVBOXEXTPACKHLP pHlp, const char *pszFilename, char *pszPath, size_t cbPath));
    99 
    100     /**
    101      * Registers a VRDE library (IVirtualBox::VRDERegisterLibrary wrapper).
    102      *
    103      * @returns VBox status code.
    104      * @param   pHlp            Pointer to this helper structure.
    105      * @param   pszName         The module base name.  This will be found using
    106      *                          the pfnFindModule algorithm.
    107      * @param   fSetDefault     Whether to make it default if no other default
    108      *                          is set.
    109      *
    110      * @remarks This helper should be called from pfnVirtualBoxReady as it may
    111      *          cause trouble when called from pfnInstalled.
    112      */
    113     DECLR3CALLBACKMEMBER(int, pfnRegisterVrde,(PCVBOXEXTPACKHLP pHlp, const char *pszName, bool fSetDefault));
    114120
    115121    /** End of structure marker (VBOXEXTPACKHLP_VERSION). */
  • trunk/include/VBox/settings.h

    r34010 r34244  
    6666//
    6767////////////////////////////////////////////////////////////////////////////////
    68 
    69 typedef std::list<com::Utf8Str> VRDELibrariesList;
    7068
    7169/**
     
    227225    com::Utf8Str            strVRDEAuthLibrary;
    228226    com::Utf8Str            strWebServiceAuthLibrary;
    229     com::Utf8Str            strDefaultVRDELibrary;
     227    com::Utf8Str            strDefaultVRDEExtPack;
    230228    uint32_t                ulLogHistoryCount;
    231229};
     
    256254    void readMachineRegistry(const xml::ElementNode &elmMachineRegistry);
    257255    void readDHCPServers(const xml::ElementNode &elmDHCPServers);
    258     void readVRDE(const xml::ElementNode &elmVRDE);
    259     void buildVRDE(xml::ElementNode &elmParent, const VRDELibrariesList &me);
    260256
    261257    void write(const com::Utf8Str strFilename);
     
    267263    DHCPServersList         llDhcpServers;
    268264    StringsMap              mapExtraDataItems;
    269     VRDELibrariesList       llVRDELibraries;
    270265};
    271266
     
    302297                    fVideoChannel;
    303298    uint32_t        ulVideoChannelQuality;
    304     com::Utf8Str    strVRDELibrary;
     299    com::Utf8Str    strVrdeExtPack;
    305300    StringsMap      mapProperties;
    306301};
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette