VirtualBox

Changeset 44970 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Mar 11, 2013 9:59:05 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84190
Message:

Main/VirtualBoxClient: add method to perform VM error checking which simplifies client code
com/ErrorInfo: small bugfix (the object where the error information originated was always lost), added a way to inject whole error object structures which needed the bugfix
Frontends/VBoxSDL: sample code how to use the new method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/ErrorInfo.cpp

    r44528 r44970  
    77
    88/*
    9  * Copyright (C) 2006-2011 Oracle Corporation
     9 * Copyright (C) 2006-2013 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    266266    mIsBasicAvailable = gotSomething;
    267267    mIsFullAvailable = gotAll;
     268
     269    mErrorInfo = info;
    268270
    269271    AssertMsg(gotSomething, ("Nothing to fetch!\n"));
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