VirtualBox

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


Ignore:
Timestamp:
Sep 24, 2020 7:52:56 PM (4 years ago)
Author:
vboxsync
Message:

bugref:9781. New function Unattended::i_getDetectedOSVersion(). New function UnattendedScriptTemplate::getGuestOSConditional(). New placeholders @@VBOX_GUEST_OS_COND_VERSION@@, @@VBOX_INSERT_GUEST_OS_VERSION@@, @@VBOX_INSERT_GUEST_OS_MAJOR_VERSION@@.

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

Legend:

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

    r84645 r86274  
    7878    bool           i_isGuestOs64Bit() const;
    7979    VBOXOSTYPE     i_getGuestOsType() const;
     80    Utf8Str const &i_getDetectedOSVersion();
    8081
    8182
  • trunk/src/VBox/Main/include/UnattendedScript.h

    r84564 r86274  
    9595     */
    9696    virtual HRESULT getConditional(const char *pachPlaceholder, size_t cchPlaceholder, bool *pfOutputting);
     97
     98
     99    /**
     100     * Get the result of a conditional for special version of guest OS.
     101     *
     102     * @returns COM status code.
     103     * @param   pachPlaceholder     The placholder string.  Not zero terminated.
     104     * @param   cchPlaceholder      The length of the placeholder.
     105     * @param   cchContent          The length of placeholder content.
     106     * @param   pcchCorrect         The length of part which must be excluded from the final content of
     107     *                              the placeholder.
     108     * @param   pfOutputting        Where to return the result of the conditional.
     109     *                              This holds the current outputting state on input
     110     *                              in case someone want to sanity check anything.
     111     */
     112    virtual HRESULT getGuestOSConditional(const char *pachPlaceholder,
     113                                          size_t cchPlaceholder,
     114                                          size_t cchContent,
     115                                          size_t *pcchCorrect,
     116                                          bool *pfOutputting);
    97117};
    98118
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