/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | VBoxTakeSnapshotDlg.cpp | 64 CMedium medium = attachment.GetMedium(); local 65 if (!medium.isNull() && !medium.GetParent().isNull() && medium.GetBase().GetType() == KMediumType_Immutable)
|
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/ |
H A D | UIWizardFirstRun.cpp | 80 /* Get chosen 'dvd' medium to mount: */ 82 UIMedium vmedium = vboxGlobal().medium(mediumId); 83 CMedium medium = vmedium.medium(); // @todo r=dj can this be cached somewhere? local 84 /* Mount medium to the predefined port/device: */ 85 m_machine.MountMedium(cda.GetController(), cda.GetPort(), cda.GetDevice(), medium, false /* force */);
|
/vbox/src/VBox/Frontends/VirtualBox/src/medium/ |
H A D | UIMedium.cpp | 47 UIMedium::UIMedium(const CMedium &medium, UIMediumType type) argument 49 , m_medium(medium) 55 UIMedium::UIMedium(const CMedium &medium, UIMediumType type, KMediumState state) argument 57 , m_medium(medium) 72 m_medium = other.medium(); 112 /* Ignore for NULL medium: */ 116 /* Acquire actual medium state: */ 145 m_strName = VBoxGlobal::tr("Empty", "medium"); 173 /* For non NULL medium: */ 176 /* Refresh medium I 509 isMediumAttachedToHiddenMachinesOnly(const UIMedium &medium) argument [all...] |
H A D | UIMediumEnumerator.cpp | 50 UITaskMediumEnumeration(const UIMedium &medium) argument 51 : UITask(QVariant::fromValue(medium)) 62 /* Get medium: */ 63 UIMedium medium = m_data.value<UIMedium>(); local 65 medium.blockAndQueryState(); 66 /* Put medium back: */ 67 m_data = QVariant::fromValue(medium); 103 /* Return keys of current medium-map: */ 107 UIMedium UIMediumEnumerator::medium(const QString &strMediumID) function in class:UIMediumEnumerator 109 /* Search through current medium 116 createMedium(const UIMedium &medium) argument 344 createMediumEnumerationTask(const UIMedium &medium) argument 367 foreach(CMedium medium, inputMediums) argument 387 foreach(CMedium medium, inputMediums) argument [all...] |
H A D | UIMedium.h | 34 /** Storage medium cache used to 55 /** Holds overriden medium state. */ 57 /** Holds overriden medium acquiring result. */ 59 /** Holds overriden medium tool-tip. */ 63 /** Storage medium descriptor wrapping CMedium wrapper for IMedium interface. 70 * will cause the corresponding property of this object's root medium to be returned instead 71 * of its own one. This is useful when hard drive medium is reflected in the user-friendly 73 * because the root object for such medium is the medium itself. 76 * accessibility check of the given medium (se 120 const CMedium& medium() const { return m_medium; } function in class:UIMedium [all...] |
H A D | UIMediumManager.cpp | 67 UIMediumItem(const UIMedium &medium, QTreeWidget *pParent) argument 69 , m_medium(medium) 73 UIMediumItem(const UIMedium &medium, UIMediumItem *pParent) argument 75 , m_medium(medium) 90 /* Make sure medium was not released yet: */ 91 if (medium().curStateMachineIds().isEmpty()) 95 if (!msgCenter().confirmMediumRelease(medium(), treeWidget())) 99 foreach (const QString &strMachineID, medium().curStateMachineIds()) 115 const UIMedium& medium() const { return m_medium; } function in class:UIMediumItem 117 void setMedium(const UIMedium &medium) argument 226 UIMediumItemHD(const UIMedium &medium, QTreeWidget *pParent) argument 231 UIMediumItemHD(const UIMedium &medium, UIMediumItem *pParent) argument 401 UIMediumItemCD(const UIMedium &medium, QTreeWidget *pParent) argument 484 UIMediumItemFD(const UIMedium &medium, QTreeWidget *pParent) argument 703 UIMedium medium = vboxGlobal().medium(strMediumID); local 774 UIMedium medium = vboxGlobal().medium(strMediumID); local 1860 createMediumItem(const UIMedium &medium) argument 1949 createHardDiskItem(const UIMedium &medium) argument 2003 updateMediumItem(const UIMedium &medium) argument [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/ |
H A D | VBoxMediaComboBox.cpp | 48 /* Setup medium-processing handlers: */ 54 /* Setup medium-enumeration handlers: */ 78 /* If at least one real medium present, process null medium */ 177 /* Search for corresponding medium: */ 178 UIMedium medium = vboxGlobal().medium(strMediumID); local 182 if (UIMedium::isMediumAttachedToHiddenMachinesOnly(medium)) 185 /* Add only 1. NULL medium and 2. mediums of required type: */ 186 if (!medium 207 UIMedium medium = vboxGlobal().medium(strMediumID); local [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvm/ |
H A D | UIWizardNewVM.cpp | 231 UIMedium vmedium = vboxGlobal().medium(strId); 232 CMedium medium = vmedium.medium(); // @todo r=dj can this be cached somewhere? local 233 machine.AttachDevice(strHDName, 0, 0, KDeviceType_HardDisk, medium);
|
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIAddDiskEncryptionPasswordDialog.cpp | 108 * @param encryptedMediums contains the lists of medium ids (values) encrypted with passwords with ids (keys). */ 138 /** Returns whether passed @a strPassword is valid for medium with passed @a strMediumId. */ 141 /** Holds the encrypted medium map reference. */ 186 /** Holds the encrypted medium map reference. */ 411 /* Look for the medium with passed ID: */ 412 const UIMedium uimedium = vboxGlobal().medium(strMediumId); 415 /* Check wrapped medium for validity: */ 416 const CMedium medium = uimedium.medium(); local 417 if (!medium [all...] |
H A D | UISession.cpp | 544 /* Open corresponding medium: */ 556 /* Make sure GA medium ID is valid: */ 586 UIMedium medium = vboxGlobal().medium(strMediumID); local 587 if (medium.isNull()) 590 medium = UIMedium(image, UIMediumType_DVD, KMediumState_Created); 591 vboxGlobal().createMedium(medium); 594 /* Mount medium to corresponding controller/slot: */ 595 machine().MountMedium(strControllerName, iCntPort, iCntDevice, medium.medium(), fals 605 msgCenter().cannotRemountMedium(machine(), medium, true /* mount? */, local [all...] |
H A D | UIMachineLogic.cpp | 1726 * But we still want to be updated after possible medium changes at least if they were 2406 /* Get the attachment medium base: */ 2407 const CMedium medium = attachment.GetMedium(); local 2408 /* Update the map with this medium if it's encrypted: */ 2410 const QString strPasswordId = medium.GetEncryptionSettings(strCipher); 2411 if (medium.isOk()) 2412 encryptedMediums.insert(strPasswordId, medium.GetId());
|
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/ |
H A D | UIMachineSettingsGeneral.cpp | 117 /* Get the attachment medium base: */ 118 const CMedium medium = attachment.GetMedium(); local 119 /* Check medium encryption attributes: */ 121 const QString strCurrentPasswordId = medium.GetEncryptionSettings(strCurrentCipher); 122 if (medium.isOk()) 124 encryptedMediums.insert(strCurrentPasswordId, medium.GetId()); 326 /* Get corresponding medium: */ 327 CMedium medium = attachment.GetMedium(); local 330 QString strOldPasswordId = encryptedMedium.key(medium.GetId()); 334 CProgress cprogress = medium [all...] |
H A D | UIMachineSettingsStorage.cpp | 814 mAttMediumId = vboxGlobal().medium(aAttMediumId).id(); 870 UIMedium medium = vboxGlobal().medium(mAttMediumId); local 872 /* Cache medium information */ 873 mAttName = medium.name (true); 874 mAttTip = medium.toolTipCheckRO (true, mAttDeviceType != KDeviceType_HardDisk); 875 mAttPixmap = medium.iconCheckRO (true); 876 mAttIsHostDrive = medium.isHostDrive(); 879 mAttSize = medium.size (true); 880 mAttLogicalSize = medium 2477 UIMedium medium = vboxGlobal().medium(strMediumID); local 3434 const UIMedium medium = vboxGlobal().medium(strMediumID); local [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | Oid.h | 51 #define XPMSG_WARN_MSS "Syntax error parsing medium-source-sizes" 52 #define XPMSG_WARN_ITM "Syntax error parsing input-trays-medium" 139 } ms; /* "ms" is short for medium-size */ 153 XpOid medium; member in struct:__anon4448 246 ((me) ? (me)->list[(i)].medium : xpoid_none)
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | Oid.h | 51 #define XPMSG_WARN_MSS "Syntax error parsing medium-source-sizes" 52 #define XPMSG_WARN_ITM "Syntax error parsing input-trays-medium" 139 } ms; /* "ms" is short for medium-size */ 153 XpOid medium; member in struct:__anon4007 246 ((me) ? (me)->list[(i)].medium : xpoid_none)
|
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/ |
H A D | UIGDetailsElements.cpp | 529 QString strInaccessibleString(VBoxGlobal::tr("Inaccessible", "medium")); 545 const CMedium medium = attachment.GetMedium(); local 546 const QString strMediumLocation = medium.isNull() ? QString() : medium.GetLocation();
|
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/ |
H A D | UIGChooserModel.cpp | 1533 foreach (CMedium medium, mediums) argument 1535 if (!medium.isNull()) 1536 medium.Close();
|
/vbox/src/VBox/Main/src-server/ |
H A D | HostImpl.cpp | 207 // and protected by the medium tree lock handle (including the bools). 1460 ComObjPtr<Medium> medium; local 1461 HRESULT rc = i_findHostDriveByNameOrId(DeviceType_DVD, aName, medium); 1463 rc = medium.queryInterfaceTo(aDrive.asOutParam()); 1473 ComObjPtr<Medium>medium; local 1475 HRESULT rc = i_findHostDriveByNameOrId(DeviceType_Floppy, aName, medium); 1477 return medium.queryInterfaceTo(aDrive.asOutParam()); 1763 * The caller must hold the medium tree write lock before calling this.
|
H A D | VirtualBoxImpl.cpp | 1749 ComObjPtr<Medium> medium; local 1750 medium.createObject(); 1762 rc = medium->init(this, 1781 rc = medium->init(this, 1795 medium.queryInterfaceTo(aMedium.asOutParam()); 1815 // check if the device type is correct, and see if a medium for the 2070 * 'InitiatorSecretEncrypted. The latter is stored as Base64 because medium 3466 "Cannot mount DVD medium '%s' as floppy", strLocationFull.c_str()); 3469 "Cannot mount floppy medium '%s' as DVD", strLocationFull.c_str()); 3583 * Starting with VirtualBox 4.0 each medium remember [all...] |
H A D | MachineImpl.cpp | 906 /* In some cases (medium registry related), it is necessary to be able to 908 * has a sensible medium registry. */ 3798 ComObjPtr<Medium> medium = static_cast<Medium*>(aM); local 3799 if (aMedium && medium.isNull()) 3800 return setError(E_INVALIDARG, "The given medium pointer is invalid"); 3802 AutoCaller mediumCaller(medium); 3805 AutoWriteLock mediumLock(medium COMMA_LOCKVAL_SRC_POS); 3807 if ( (pAttachTemp = i_findAttachment(mMediaData->mAttachments, medium)) 3808 && !medium.isNull() 3812 medium 9213 ComObjPtr<Medium> medium; local [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | UIMessageCenter.cpp | 507 void UIMessageCenter::cannotGetMediaAccessibility(const UIMedium &medium) const 511 .arg(medium.location()), 512 formatErrorInfo(medium.result())); 615 /* Check if the medium is a hard disk: */ 1100 tr("&Remove", "medium")); 1214 void UIMessageCenter::cannotChangeMediumType(const CMedium &medium, KMediumType oldMediumType, KMediumType newMediumType, QWidget *pParent /* = 0*/) const argument 1219 formatErrorInfo(medium)); 1222 bool UIMessageCenter::confirmMediumRelease(const UIMedium &medium, QWidget *pParent /* = 0*/) const argument 1227 foreach (const QString &strMachineID, medium.curStateMachineIds()) 1236 switch (medium 1266 confirmMediumRemoval(const UIMedium &medium, QWidget *pParent ) const argument 1335 cannotDeleteHardDiskStorage(const CMedium &medium, const QString &strLocation, QWidget *pParent ) const argument 1382 cannotRemountMedium(const CMachine &machine, const UIMedium &medium, bool fMount, bool fRetry, QWidget *pParent ) const argument 1465 cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent ) const argument 1555 cannotCreateHardDiskStorage(const CMedium &medium, const QString &strLocation, QWidget *pParent ) const argument [all...] |
H A D | VBoxGlobal.cpp | 688 QString VBoxGlobal::mediumTypeString(const CMedium &medium) const 690 if (!medium.GetParent().isNull()) 692 Assert(medium.GetType() == KMediumType_Normal); 695 return gpConverter->toString(medium.GetType()); 792 /* Search for corresponding UI medium: */ 794 UIMedium uimedium = medium(strMediumID); 797 /* UI medium may be new and not among our mediums, request enumeration: */ 800 /* Search for corresponding UI medium again: */ 802 uimedium = medium(strMediumID); 810 /* Return UI medium detail 1187 const CMedium &medium = attachment.GetMedium(); local 1544 createMedium(const UIMedium &medium) argument 1745 UIMedium VBoxGlobal::medium(const QString &strMediumID) const function in class:VBoxGlobal 1814 foreach(const CMedium &medium, mediums) argument [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageInfo.cpp | 875 ComPtr<IMedium> medium; local 903 medium.asOutParam()); 904 if (SUCCEEDED(rc) && medium) 911 medium->COMGETTER(Location)(filePath.asOutParam()); 913 medium->COMGETTER(Id)(uuid.asOutParam());
|