VirtualBox

Ignore:
Timestamp:
Jan 28, 2010 4:50:32 PM (15 years ago)
Author:
vboxsync
Message:

Main: debugging notes, coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/AudioAdapterImpl.cpp

    r26046 r26088  
    414414}
    415415
     416bool AudioAdapter::isModified()
     417{
     418    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     419    return mData.isBackedUp();
     420}
     421
     422bool AudioAdapter::isReallyModified()
     423{
     424    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     425    return mData.hasActualChanges();
     426}
     427
    416428/**
    417429 *  @note Locks this object for writing.
     
    471483 *  represented by @a aThat (locked for reading).
    472484 */
    473 void AudioAdapter::copyFrom (AudioAdapter *aThat)
     485void AudioAdapter::copyFrom(AudioAdapter *aThat)
    474486{
    475487    AssertReturnVoid (aThat != NULL);
     
    489501
    490502    /* this will back up current data */
    491     mData.assignCopy (aThat->mData);
     503    mData.assignCopy(aThat->mData);
    492504}
    493505/* vi: set tabstop=4 shiftwidth=4 expandtab: */
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