Changeset 6367 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 17, 2008 10:50:10 AM (17 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r6156 r6367 1342 1342 else 1343 1343 progressDesc = tr ("Starting the virtual machine"); 1344 progress->init ((IConsole *) this, progressDesc, FALSE /* aCancelable */); 1344 progress->init (static_cast <IConsole *> (this), 1345 progressDesc, FALSE /* aCancelable */); 1345 1346 1346 1347 /* pass reference to caller if requested */ … … 1618 1619 ComObjPtr <Progress> progress; 1619 1620 progress.createObject(); 1620 progress->init ( (IConsole *) this,1621 progress->init (static_cast <IConsole *> (this), 1621 1622 Bstr (tr ("Saving the execution state of the virtual machine")), 1622 1623 FALSE /* aCancelable */); … … 2228 2229 { 2229 2230 combinedProgress.createObject(); 2230 rc = combinedProgress->init ( (IConsole *) this,2231 rc = combinedProgress->init (static_cast <IConsole *> (this), 2231 2232 Bstr (tr ("Taking snapshot of virtual machine")), 2232 2233 serverProgress, saveProgress); -
trunk/src/VBox/Main/HardDiskImpl.cpp
r6310 r6367 422 422 ComObjPtr <Progress> progress; 423 423 progress.createObject(); 424 rc = progress->init (mVirtualBox, (IVirtualDiskImage *) this,424 rc = progress->init (mVirtualBox, static_cast <IHardDisk *> (this), 425 425 Bstr (tr ("Creating a hard disk clone")), 426 426 FALSE /* aCancelable */); … … 2646 2646 Bstr desc = aDynamic ? tr ("Creating a dynamically expanding hard disk") 2647 2647 : tr ("Creating a fixed-size hard disk"); 2648 rc = progress->init (mVirtualBox, (IVirtualDiskImage *) this, desc,2649 FALSE /* aCancelable */);2648 rc = progress->init (mVirtualBox, static_cast <IVirtualDiskImage *> (this), 2649 desc, FALSE /* aCancelable */); 2650 2650 CheckComRCReturnRC (rc); 2651 2651 } -
trunk/src/VBox/Main/HostImpl.cpp
r6076 r6367 840 840 ComObjPtr <Progress> progress; 841 841 progress.createObject(); 842 rc = progress->init (mParent, (IHost *) this,842 rc = progress->init (mParent, static_cast <IHost *> (this), 843 843 Bstr (tr ("Creating host network interface")), 844 844 FALSE /* aCancelable */); … … 908 908 ComObjPtr <Progress> progress; 909 909 progress.createObject(); 910 rc = progress->init (mParent, (IHost *) this,910 rc = progress->init (mParent, static_cast <IHost *> (this), 911 911 Bstr (tr ("Removing host network interface")), 912 912 FALSE /* aCancelable */); -
trunk/src/VBox/Main/MachineImpl.cpp
r6336 r6367 7551 7551 ComObjPtr <Progress> progress; 7552 7552 progress.createObject(); 7553 progress->init (mParent, (IMachine *) mPeer, Bstr (tr ("Closing session")),7554 FALSE /* aCancelable */);7553 progress->init (mParent, static_cast <IMachine *> (mPeer), 7554 Bstr (tr ("Closing session")), FALSE /* aCancelable */); 7555 7555 progress.queryInterfaceTo (aProgress); 7556 7556 mData->mSession.mProgress = progress; -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r6361 r6367 1950 1950 ComObjPtr <Progress> progress; 1951 1951 progress.createObject(); 1952 progress->init (this, (IMachine *) machine,1952 progress->init (this, static_cast <IMachine *> (machine), 1953 1953 Bstr (tr ("Spawning session")), 1954 1954 FALSE /* aCancelable */);
Note:
See TracChangeset
for help on using the changeset viewer.