Changeset 22183 in vbox
- Timestamp:
- Aug 11, 2009 5:00:33 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50963
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r22177 r22183 51 51 #include <vector> 52 52 53 #ifdef IN_VBOXXML_R3 54 # define VBOXXML_CLASS DECLEXPORT_CLASS 55 #else 56 # define VBOXXML_CLASS DECLIMPORT_CLASS 57 #endif 53 // #ifdef IN_VBOXXML_R3 54 // # define VBOXXML_CLASS DECLEXPORT_CLASS 55 // #else 56 // # define VBOXXML_CLASS DECLIMPORT_CLASS 57 // #endif 58 59 #define VBOXXML_CLASS 58 60 59 61 namespace xml -
trunk/src/VBox/Main/MachineImpl.cpp
r22173 r22183 3184 3184 } 3185 3185 } 3186 catch (std::bad_alloc & e)3186 catch (std::bad_alloc &) 3187 3187 { 3188 3188 rc = E_OUTOFMEMORY; … … 5015 5015 #endif /* VBOX_WITH_GUEST_PROPS defined */ 5016 5016 } 5017 catch(std::bad_alloc & e)5017 catch(std::bad_alloc &) 5018 5018 { 5019 5019 return E_OUTOFMEMORY; … … 5436 5436 } 5437 5437 5438 /* update m ConfigFileFull amd mConfigFile */5438 /* update m_strConfigFileFull amd mConfigFile */ 5439 5439 Utf8Str oldConfigFileFull = mData->m_strConfigFileFull; 5440 5440 Utf8Str oldConfigFile = mData->m_strConfigFile; … … 5747 5747 5748 5748 // CPU 5749 data.fHardwareVirt = mHWData->mHWVirtExEnabled;5750 data.fNestedPaging = mHWData->mHWVirtExNestedPagingEnabled;5751 data.fVPID = mHWData->mHWVirtExVPIDEnabled;5752 data.fPAE = mHWData->mPAEEnabled;5749 data.fHardwareVirt = !!mHWData->mHWVirtExEnabled; 5750 data.fNestedPaging = !!mHWData->mHWVirtExNestedPagingEnabled; 5751 data.fVPID = !!mHWData->mHWVirtExVPIDEnabled; 5752 data.fPAE = !!mHWData->mPAEEnabled; 5753 5753 5754 5754 data.cCPUs = mHWData->mCPUCount; … … 5876 5876 data.strNotificationPatterns = mHWData->mGuestPropertyNotificationPatterns; 5877 5877 } 5878 catch(std::bad_alloc & e)5878 catch(std::bad_alloc &) 5879 5879 { 5880 5880 return E_OUTOFMEMORY; … … 5916 5916 if (ctl.controllerType == StorageControllerType_IntelAhci) 5917 5917 { 5918 if ( (FAILED(rc = pCtl->GetIDEEmulationPort(0, &ctl.lIDE0MasterEmulationPort)))5919 || (FAILED(rc = pCtl->GetIDEEmulationPort(1, &ctl.lIDE0SlaveEmulationPort)))5920 || (FAILED(rc = pCtl->GetIDEEmulationPort(2, &ctl.lIDE1MasterEmulationPort)))5921 || (FAILED(rc = pCtl->GetIDEEmulationPort(3, &ctl.lIDE1SlaveEmulationPort)))5918 if ( (FAILED(rc = pCtl->GetIDEEmulationPort(0, (LONG*)&ctl.lIDE0MasterEmulationPort))) 5919 || (FAILED(rc = pCtl->GetIDEEmulationPort(1, (LONG*)&ctl.lIDE0SlaveEmulationPort))) 5920 || (FAILED(rc = pCtl->GetIDEEmulationPort(2, (LONG*)&ctl.lIDE1MasterEmulationPort))) 5921 || (FAILED(rc = pCtl->GetIDEEmulationPort(3, (LONG*)&ctl.lIDE1SlaveEmulationPort))) 5922 5922 ) 5923 5923 ComAssertRCRet(rc, rc); … … 7077 7077 /* create the interprocess semaphore */ 7078 7078 #if defined(RT_OS_WINDOWS) 7079 mIPCSemName = aMachine->mData->m ConfigFileFull;7079 mIPCSemName = aMachine->mData->m_strConfigFileFull; 7080 7080 for (size_t i = 0; i < mIPCSemName.length(); i++) 7081 7081 if (mIPCSemName[i] == '\\') … … 7119 7119 } 7120 7120 # else /* !VBOX_WITH_NEW_SYS_V_KEYGEN */ 7121 Utf8Str semName = aMachine->mData->m ConfigFileFull;7121 Utf8Str semName = aMachine->mData->m_strConfigFileFull; 7122 7122 char *pszSemName = NULL; 7123 7123 RTStrUtf8ToCurrentCP (&pszSemName, semName); … … 7518 7518 mIPCKey.cloneTo(aId); 7519 7519 # else /* !VBOX_WITH_NEW_SYS_V_KEYGEN */ 7520 mData->m ConfigFileFull.cloneTo(aId);7520 mData->m_strConfigFileFull.cloneTo(aId); 7521 7521 # endif /* !VBOX_WITH_NEW_SYS_V_KEYGEN */ 7522 7522 return S_OK; -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r22173 r22183 1976 1976 id.create(); 1977 1977 SVCHlpClient client; 1978 vrc = client.create (Utf8StrFmt("VirtualBox\\SVCHelper\\{%RTuuid}",1979 id.raw()));1978 vrc = client.create(Utf8StrFmt("VirtualBox\\SVCHelper\\{%RTuuid}", 1979 id.raw()).c_str()); 1980 1980 if (RT_FAILURE(vrc)) 1981 1981 { 1982 rc = setError 1983 tr("Could not create the communication channel (%Rrc)"), vrc);1982 rc = setError(E_FAIL, 1983 tr("Could not create the communication channel (%Rrc)"), vrc); 1984 1984 break; 1985 1985 } … … 2033 2033 else 2034 2034 { 2035 const char *args[] = { exePath, "/Helper", client.name() , 0 };2035 const char *args[] = { exePath, "/Helper", client.name().c_str(), 0 }; 2036 2036 vrc = RTProcCreate (exePath, args, RTENV_DEFAULT, 0, &pid); 2037 2037 if (RT_FAILURE(vrc)) -
trunk/src/VBox/Main/include/AudioAdapterImpl.h
r22173 r22183 31 31 namespace settings 32 32 { 33 classAudioAdapter;33 struct AudioAdapter; 34 34 } 35 35 -
trunk/src/VBox/Main/include/BIOSSettingsImpl.h
r22173 r22183 32 32 namespace settings 33 33 { 34 classBIOSSettings;34 struct BIOSSettings; 35 35 } 36 36 -
trunk/src/VBox/Main/include/DHCPServerImpl.h
r22173 r22183 34 34 namespace settings 35 35 { 36 classDHCPServer;36 struct DHCPServer; 37 37 } 38 38 -
trunk/src/VBox/Main/include/DVDDriveImpl.h
r22173 r22183 33 33 namespace settings 34 34 { 35 classDVDDrive;35 struct DVDDrive; 36 36 } 37 37 -
trunk/src/VBox/Main/include/FloppyDriveImpl.h
r22173 r22183 33 33 namespace settings 34 34 { 35 classFloppyDrive;35 struct FloppyDrive; 36 36 } 37 37 -
trunk/src/VBox/Main/include/HardDiskImpl.h
r22173 r22183 40 40 namespace settings 41 41 { 42 classMedium;42 struct Medium; 43 43 } 44 44 -
trunk/src/VBox/Main/include/HostImpl.h
r22173 r22183 50 50 namespace settings 51 51 { 52 classHost;52 struct Host; 53 53 } 54 54 -
trunk/src/VBox/Main/include/MachineImpl.h
r22173 r22183 37 37 #include "ParallelPortImpl.h" 38 38 #include "BIOSSettingsImpl.h" 39 #include "StorageControllerImpl.h" // required for MachineImpl.h to compile on Windows 39 40 #ifdef VBOX_WITH_RESOURCE_USAGE_API 40 41 #include "PerformanceImpl.h" … … 76 77 { 77 78 class MachineConfigFile; 78 classSnapshot;79 classHardware;80 classStorage;81 classStorageController;82 classMachineRegistryEntry;79 struct Snapshot; 80 struct Hardware; 81 struct Storage; 82 struct StorageController; 83 struct MachineRegistryEntry; 83 84 } 84 85 -
trunk/src/VBox/Main/include/MediumImpl.h
r22173 r22183 34 34 namespace settings 35 35 { 36 classMedium;36 struct Medium; 37 37 } 38 38 -
trunk/src/VBox/Main/include/NetworkAdapterImpl.h
r22173 r22183 32 32 namespace settings 33 33 { 34 classNetworkAdapter;34 struct NetworkAdapter; 35 35 } 36 36 -
trunk/src/VBox/Main/include/ParallelPortImpl.h
r22173 r22183 30 30 namespace settings 31 31 { 32 classParallelPort;32 struct ParallelPort; 33 33 } 34 34 -
trunk/src/VBox/Main/include/SerialPortImpl.h
r22173 r22183 32 32 namespace settings 33 33 { 34 classSerialPort;34 struct SerialPort; 35 35 } 36 36 -
trunk/src/VBox/Main/include/SnapshotImpl.h
r22173 r22183 32 32 namespace settings 33 33 { 34 classSnapshot;34 struct Snapshot; 35 35 } 36 36 -
trunk/src/VBox/Main/include/SystemPropertiesImpl.h
r22173 r22183 35 35 namespace settings 36 36 { 37 classSystemProperties;37 struct SystemProperties; 38 38 } 39 39 -
trunk/src/VBox/Main/include/USBControllerImpl.h
r22173 r22183 37 37 namespace settings 38 38 { 39 classUSBController;39 struct USBController; 40 40 } 41 41 -
trunk/src/VBox/Main/include/VRDPServerImpl.h
r22173 r22183 33 33 namespace settings 34 34 { 35 classVRDPSettings;35 struct VRDPSettings; 36 36 } 37 37
Note:
See TracChangeset
for help on using the changeset viewer.