VirtualBox

Changeset 31307 in vbox


Ignore:
Timestamp:
Aug 2, 2010 2:22:15 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64334
Message:

Main: remove unused arg

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

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

    r31306 r31307  
    81578157 * machine and a new set of attachments to refer to created disks.
    81588158 *
    8159  * Used when taking a snapshot or when deleting the current state.
     8159 * Used when taking a snapshot or when deleting the current state. Gets called
     8160 * from SessionMachine::BeginTakingSnapshot() and SessionMachine::restoreSnapshotHandler().
    81608161 *
    81618162 * This method assumes that mMediaData contains the original hard disk attachments
     
    81738174 * writing if this method succeeds.
    81748175 *
    8175  * @param aFolder           Folder where to create diff hard disks.
    81768176 * @param aProgress         Progress object to run (must contain at least as
    81778177 *                          many operations left as the number of hard disks
     
    81868186 * @note Locks this object for writing.
    81878187 */
    8188 HRESULT Machine::createImplicitDiffs(const Bstr &aFolder,
    8189                                      IProgress *aProgress,
     8188HRESULT Machine::createImplicitDiffs(IProgress *aProgress,
    81908189                                     ULONG aWeight,
    81918190                                     bool aOnline,
    81928191                                     bool *pfNeedsSaveSettings)
    81938192{
    8194     AssertReturn(!aFolder.isEmpty(), E_FAIL);
    8195 
    8196     LogFlowThisFunc(("aFolder='%ls', aOnline=%d\n", aFolder.raw(), aOnline));
     8193    LogFlowThisFunc(("aOnline=%d\n", aOnline));
    81978194
    81988195    AutoCaller autoCaller(this);
  • trunk/src/VBox/Main/SnapshotImpl.cpp

    r31242 r31307  
    14321432
    14331433        /* create new differencing hard disks and attach them to this machine */
    1434         rc = createImplicitDiffs(mUserData->mSnapshotFolderFull,
    1435                                  aConsoleProgress,
     1434        rc = createImplicitDiffs(aConsoleProgress,
    14361435                                 1,            // operation weight; must be the same as in Console::TakeSnapshot()
    14371436                                 !!fTakingSnapshotOnline,
     
    18311830            alock.leave();
    18321831
    1833             rc = createImplicitDiffs(mUserData->mSnapshotFolderFull,
    1834                                      aTask.pProgress,
     1832            rc = createImplicitDiffs(aTask.pProgress,
    18351833                                     1,
    18361834                                     false /* aOnline */,
  • trunk/src/VBox/Main/include/MachineImpl.h

    r31287 r31307  
    760760    HRESULT saveStateSettings(int aFlags);
    761761
    762     HRESULT createImplicitDiffs(const Bstr &aFolder,
    763                                 IProgress *aProgress,
     762    HRESULT createImplicitDiffs(IProgress *aProgress,
    764763                                ULONG aWeight,
    765764                                bool aOnline,
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