VirtualBox

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


Ignore:
Timestamp:
Mar 13, 2009 2:14:08 PM (16 years ago)
Author:
vboxsync
Message:

OVF: move warnings from IVirtualSystem to IAppliance; fix error messages when OVF wants more than one SCSI controller; API docs

File:
1 edited

Legend:

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

    r17688 r17827  
    4141    public IAppliance
    4242{
    43 
    4443public:
    45 
    4644    VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (Appliance)
    4745
     
    7977    STDMETHOD(ImportMachines)(IProgress **aProgress);
    8078    STDMETHOD(Write)(IN_BSTR path, IProgress **aProgress);
     79    STDMETHOD(GetWarnings)(ComSafeArrayOut(BSTR, aWarnings));
     80
    8181    /* public methods only for internal purposes */
    8282
     
    9797    HRESULT searchUniqueDiskImageFilePath(Utf8Str& aName) const;
    9898    uint32_t calcMaxProgress();
     99    void addWarning(const char* aWarning, ...);
    99100
    100101    struct TaskImportMachines;  /* Worker thread for import */
     
    124125{
    125126    friend class Appliance;
     127
    126128public:
    127129    VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (VirtualSystemDescription)
     
    164166                              ComSafeArrayIn(IN_BSTR, aExtraConfigValues));
    165167
    166     STDMETHOD(GetWarnings)(ComSafeArrayOut(BSTR, aWarnings));
    167 
    168168    /* public methods only for internal purposes */
    169169
     
    173173                  const Utf8Str &aAutoValue,
    174174                  const Utf8Str &strExtraConfig = "");
    175 
    176     void addWarning(const char* aWarning, ...);
    177175
    178176    std::list<VirtualSystemDescriptionEntry*> findByType(VirtualSystemDescriptionType_T aType);
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