Changeset 7233 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 3, 2008 12:25:32 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28565
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestOSTypeImpl.cpp
r5999 r7233 24 24 25 25 GuestOSType::GuestOSType() 26 : mOSType ( OSTypeUnknown)26 : mOSType (VBOXOSTYPE_Unknown) 27 27 , mRAMSize (0), mVRAMSize (0) 28 28 , mHDDSize (0), mMonitorCount (0) … … 58 58 * @param aHDDSize recommended HDD size in megabytes 59 59 */ 60 HRESULT GuestOSType::init (const char *aId, const char *aDescription, OSTypeaOSType,60 HRESULT GuestOSType::init (const char *aId, const char *aDescription, VBOXOSTYPE aOSType, 61 61 uint32_t aRAMSize, uint32_t aVRAMSize, uint32_t aHDDSize) 62 62 { -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r7207 r7233 4316 4316 const char *id; // utf-8 4317 4317 const char *description; // utf-8 4318 const OSTypeosType;4318 const VBOXOSTYPE osType; 4319 4319 const uint32_t recommendedRAM; 4320 4320 const uint32_t recommendedVRAM; … … 4326 4326 * NOTE2: please use powers of 2 when specifying the size of harddisks since 4327 4327 * '2GB' looks better than '1.95GB' (= 2000MB) */ 4328 { "unknown", tr ("Other/Unknown"), OSTypeUnknown, 64, 4, 2 * _1K },4329 { "dos", "DOS", OSTypeDOS, 32, 4, 512 },4330 { "win31", "Windows 3.1", OSTypeWin31, 32, 4, 1 * _1K },4331 { "win95", "Windows 95", OSTypeWin95, 64, 4, 2 * _1K },4332 { "win98", "Windows 98", OSTypeWin98, 64, 4, 2 * _1K },4333 { "winme", "Windows Me", OSTypeWinMe, 64, 4, 4 * _1K },4334 { "winnt4", "Windows NT 4", OSTypeWinNT4, 128, 4, 2 * _1K },4335 { "win2k", "Windows 2000", OSTypeWin2k, 168, 4, 4 * _1K },4336 { "winxp", "Windows XP", OSTypeWinXP, 192, 4, 10 * _1K },4337 { "win2k3", "Windows Server 2003", OSTypeWin2k3, 256, 4, 20 * _1K },4338 { "winvista", "Windows Vista", OSTypeWinVista, 512, 4, 20 * _1K },4339 { "os2warp3", "OS/2 Warp 3", OSTypeOS2Warp3, 48, 4, 1 * _1K },4340 { "os2warp4", "OS/2 Warp 4", OSTypeOS2Warp4, 64, 4, 2 * _1K },4341 { "os2warp45", "OS/2 Warp 4.5", OSTypeOS2Warp45, 96, 4, 2 * _1K },4342 { "linux22", "Linux 2.2", OSTypeLinux22, 64, 4, 2 * _1K },4343 { "linux24", "Linux 2.4", OSTypeLinux24, 128, 4, 4 * _1K },4344 { "linux26", "Linux 2.6", OSTypeLinux26, 256, 4, 8 * _1K },4345 { "freebsd", "FreeBSD", OSTypeFreeBSD, 64, 4, 2 * _1K },4346 { "openbsd", "OpenBSD", OSTypeOpenBSD, 64, 4, 2 * _1K },4347 { "netbsd", "NetBSD", OSTypeNetBSD, 64, 4, 2 * _1K },4348 { "netware", "Netware", OSTypeNetware, 128, 4, 4 * _1K },4349 { "solaris", "Solaris", OSTypeSolaris, 128, 4, 8 * _1K },4350 { "l4", "L4", OSTypeL4, 64, 4, 2 * _1K }4328 { "unknown", tr ("Other/Unknown"), VBOXOSTYPE_Unknown, 64, 4, 2 * _1K }, 4329 { "dos", "DOS", VBOXOSTYPE_DOS, 32, 4, 512 }, 4330 { "win31", "Windows 3.1", VBOXOSTYPE_Win31, 32, 4, 1 * _1K }, 4331 { "win95", "Windows 95", VBOXOSTYPE_Win95, 64, 4, 2 * _1K }, 4332 { "win98", "Windows 98", VBOXOSTYPE_Win98, 64, 4, 2 * _1K }, 4333 { "winme", "Windows Me", VBOXOSTYPE_WinMe, 64, 4, 4 * _1K }, 4334 { "winnt4", "Windows NT 4", VBOXOSTYPE_WinNT4, 128, 4, 2 * _1K }, 4335 { "win2k", "Windows 2000", VBOXOSTYPE_Win2k, 168, 4, 4 * _1K }, 4336 { "winxp", "Windows XP", VBOXOSTYPE_WinXP, 192, 4, 10 * _1K }, 4337 { "win2k3", "Windows Server 2003", VBOXOSTYPE_Win2k3, 256, 4, 20 * _1K }, 4338 { "winvista", "Windows Vista", VBOXOSTYPE_WinVista, 512, 4, 20 * _1K }, 4339 { "os2warp3", "OS/2 Warp 3", VBOXOSTYPE_OS2Warp3, 48, 4, 1 * _1K }, 4340 { "os2warp4", "OS/2 Warp 4", VBOXOSTYPE_OS2Warp4, 64, 4, 2 * _1K }, 4341 { "os2warp45", "OS/2 Warp 4.5", VBOXOSTYPE_OS2Warp45, 96, 4, 2 * _1K }, 4342 { "linux22", "Linux 2.2", VBOXOSTYPE_Linux22, 64, 4, 2 * _1K }, 4343 { "linux24", "Linux 2.4", VBOXOSTYPE_Linux24, 128, 4, 4 * _1K }, 4344 { "linux26", "Linux 2.6", VBOXOSTYPE_Linux26, 256, 4, 8 * _1K }, 4345 { "freebsd", "FreeBSD", VBOXOSTYPE_FreeBSD, 64, 4, 2 * _1K }, 4346 { "openbsd", "OpenBSD", VBOXOSTYPE_OpenBSD, 64, 4, 2 * _1K }, 4347 { "netbsd", "NetBSD", VBOXOSTYPE_NetBSD, 64, 4, 2 * _1K }, 4348 { "netware", "Netware", VBOXOSTYPE_Netware, 128, 4, 4 * _1K }, 4349 { "solaris", "Solaris", VBOXOSTYPE_Solaris, 128, 4, 8 * _1K }, 4350 { "l4", "L4", VBOXOSTYPE_L4, 64, 4, 2 * _1K } 4351 4351 }; 4352 4352 -
trunk/src/VBox/Main/include/GuestOSTypeImpl.h
r5999 r7233 51 51 52 52 // public initializer/uninitializer for internal purposes only 53 HRESULT init (const char *aId, const char *aDescription, OSTypeaOSType,53 HRESULT init (const char *aId, const char *aDescription, VBOXOSTYPE aOSType, 54 54 uint32_t aRAMSize, uint32_t aVRAMSize, uint32_t aHDDSize); 55 55 void uninit(); … … 72 72 const Bstr mID; 73 73 const Bstr mDescription; 74 const OSTypemOSType;74 const VBOXOSTYPE mOSType; 75 75 const uint32_t mRAMSize; 76 76 const uint32_t mVRAMSize;
Note:
See TracChangeset
for help on using the changeset viewer.