Changeset 75279 in vbox
- Timestamp:
- Nov 6, 2018 12:37:11 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r75260 r75279 549 549 550 550 /** Map for keeping settings per virtual screen. */ 551 typedef std::map<u nsigned long, CaptureScreenSettings> CaptureScreenMap;551 typedef std::map<uint32_t, CaptureScreenSettings> CaptureScreenMap; 552 552 553 553 /** -
trunk/src/VBox/Main/include/CaptureScreenSettingsImpl.h
r75269 r75279 39 39 40 40 // public initializer/uninitializer for internal purposes only 41 HRESULT init(Machine *aParent, u nsigned longuScreenId, const settings::CaptureScreenSettings& data);41 HRESULT init(Machine *aParent, uint32_t uScreenId, const settings::CaptureScreenSettings& data); 42 42 HRESULT init(Machine *aParent, CaptureScreenSettings *that); 43 43 HRESULT initCopy(Machine *aParent, CaptureScreenSettings *that); -
trunk/src/VBox/Main/include/CaptureSettingsImpl.h
r75260 r75279 68 68 69 69 /** Map of screen settings objects. The key specifies the screen ID. */ 70 typedef std::map < ULONG, ComObjPtr<CaptureScreenSettings> > CaptureScreenSettingsMap;70 typedef std::map <uint32_t, ComObjPtr<CaptureScreenSettings> > CaptureScreenSettingsMap; 71 71 72 72 struct Data; -
trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp
r75277 r75279 43 43 Machine * const pMachine; 44 44 ComObjPtr<CaptureScreenSettings> pPeer; 45 u nsigned longuScreenId;45 uint32_t uScreenId; 46 46 47 47 // use the XML settings structure in the members for simplicity … … 73 73 * @returns COM result indicator 74 74 */ 75 HRESULT CaptureScreenSettings::init(Machine *aParent, u nsigned long uScreenId, const settings::CaptureScreenSettings &data)75 HRESULT CaptureScreenSettings::init(Machine *aParent, uint32_t uScreenId, const settings::CaptureScreenSettings& data) 76 76 { 77 77 LogFlowThisFuncEnter(); -
trunk/src/VBox/Main/src-server/CaptureSettingsImpl.cpp
r75264 r75279 292 292 HRESULT rc = S_OK; 293 293 294 m->mapScreenSettings.clear(); 295 294 296 settings::CaptureScreenMap::const_iterator itScreen = data.mapScreens.begin(); 295 297 while (itScreen != data.mapScreens.end()) … … 303 305 if (FAILED(rc)) 304 306 break; 307 308 m->mapScreenSettings[itScreen->first] = captureScreenSettings; 305 309 306 310 ++itScreen; -
trunk/src/VBox/Main/xml/Settings.cpp
r75261 r75279 2479 2479 2480 2480 CaptureScreenSettings screenSettings; /* Apply default settings. */ 2481 for (u nsigned longl = 0; l < SchemaDefs::MaxGuestMonitors; l++)2481 for (uint32_t l = 0; l < SchemaDefs::MaxGuestMonitors; l++) 2482 2482 { 2483 2483 mapScreens[l] = screenSettings; … … 2517 2517 2518 2518 CaptureScreenMap::const_iterator itScreen = mapScreens.begin(); 2519 u nsigned longi = 0;2519 uint32_t i = 0; 2520 2520 while (itScreen != mapScreens.end()) 2521 2521 {
Note:
See TracChangeset
for help on using the changeset viewer.