VirtualBox

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


Ignore:
Timestamp:
Jan 16, 2023 9:50:10 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155232
Message:

Main/ConsoleImpl2.cpp: Added a InsertConfigStringF wrapping CFGMR3InsertStringFV and went over all the InsertConfigString calls to sort things that could use it and other unnecessary conversions.

File:
1 edited

Legend:

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

    r98095 r98097  
    709709    void InsertConfigString(PCFGMNODE pNode, const char *pcszName, const Utf8Str &rStrValue);
    710710    void InsertConfigString(PCFGMNODE pNode, const char *pcszName, const Bstr &rBstrValue);
     711    void InsertConfigStringF(PCFGMNODE pNode, const char *pcszName, const char *pszFormat, ...);
    711712    void InsertConfigPassword(PCFGMNODE pNode, const char *pcszName, const Utf8Str &rStrValue);
    712713    void InsertConfigBytes(PCFGMNODE pNode, const char *pcszName, const void *pvBytes, size_t cbBytes);
    713714    void InsertConfigInteger(PCFGMNODE pNode, const char *pcszName, uint64_t u64Integer);
    714715    void InsertConfigNode(PCFGMNODE pNode, const char *pcszName, PCFGMNODE *ppChild);
    715     void InsertConfigNodeF(PCFGMNODE pNode, PCFGMNODE *ppChild, const char *pszNameFormat, ...);
     716    void InsertConfigNodeF(PCFGMNODE pNode, PCFGMNODE *ppChild, const char *pszNameFormat, ...) RT_IPRT_FORMAT_ATTR(3, 4);
    716717    void RemoveConfigValue(PCFGMNODE pNode, const char *pcszName);
    717718    int  SetBiosDiskInfo(ComPtr<IMachine> pMachine, PCFGMNODE pCfg, PCFGMNODE pBiosCfg,
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