VirtualBox

Changeset 35517 in vbox for trunk/include/VBox/com


Ignore:
Timestamp:
Jan 13, 2011 10:47:12 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69401
Message:

Frontends/VBoxManage+glue/ErrorInfo: revert change which broke error reporting (4.0.0 regression), clean up on the way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/ErrorInfo.h

    r32718 r35517  
    123123        init(pObj, aIID);
    124124    }
     125
     126    /** Specialization for the IVirtualBoxErrorInfo smart pointer */
     127    ErrorInfo (const ComPtr <IVirtualBoxErrorInfo> &aPtr)
     128        : mIsBasicAvailable (false), mIsFullAvailable (false)
     129        , mResultCode (S_OK)
     130        { init (aPtr); }
     131
     132    /**
     133     *  Constructs a new ErrorInfo instance from the IVirtualBoxErrorInfo
     134     *  interface pointer. If this pointer is not NULL, both #isFullAvailable()
     135     *  and #isBasicAvailable() will return |true|.
     136     *
     137     *  @param aInfo    pointer to the IVirtualBoxErrorInfo interface that
     138     *                  holds error info to be fetched by this instance
     139     */
     140    ErrorInfo (IVirtualBoxErrorInfo *aInfo)
     141        : mIsBasicAvailable (false), mIsFullAvailable (false)
     142        , mResultCode (S_OK)
     143        { init (aInfo); }
    125144
    126145    ErrorInfo(const ErrorInfo &x)
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