Changeset 29385 in vbox
- Timestamp:
- May 11, 2010 6:05:44 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 9 edited
-
ConsoleVRDPServer.cpp (modified) (7 diffs)
-
HostImpl.cpp (modified) (3 diffs)
-
MachineImpl.cpp (modified) (3 diffs)
-
include/ConsoleImpl.h (modified) (1 diff)
-
include/MachineImpl.h (modified) (2 diffs)
-
include/VirtualBoxBase.h (modified) (1 diff)
-
xml/SchemaDefs.xsl (modified) (2 diffs)
-
xml/Settings.cpp (modified) (1 diff)
-
xpcom/server.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r29312 r29385 2230 2230 \ 2231 2231 /* todo: Not sure if a AutoReadLock would be sufficient. */ \ 2232 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); \2232 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); \ 2233 2233 \ 2234 2234 uint32_t value; \ … … 2241 2241 \ 2242 2242 return S_OK; \ 2243 } 2243 } \ 2244 extern void IMPL_GETTER_BOOL_DUMMY(void) 2244 2245 2245 2246 #define IMPL_GETTER_SCALAR(_aType, _aName, _aIndex) \ … … 2253 2254 \ 2254 2255 /* todo: Not sure if a AutoReadLock would be sufficient. */ \ 2255 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); \2256 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); \ 2256 2257 \ 2257 2258 _aType value; \ … … 2264 2265 \ 2265 2266 return S_OK; \ 2266 } 2267 } \ 2268 extern void IMPL_GETTER_SCALAR_DUMMY(void) 2267 2269 2268 2270 #define IMPL_GETTER_BSTR(_aType, _aName, _aIndex) \ … … 2276 2278 \ 2277 2279 /* todo: Not sure if a AutoReadLock would be sufficient. */ \ 2278 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); \2280 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); \ 2279 2281 \ 2280 2282 uint32_t cbOut = 0; \ … … 2310 2312 \ 2311 2313 return S_OK; \ 2312 } 2314 } \ 2315 extern void IMPL_GETTER_BSTR_DUMMY(void) 2313 2316 2314 2317 IMPL_GETTER_BOOL (BOOL, Active, VRDP_QI_ACTIVE); … … 2330 2333 #undef IMPL_GETTER_BSTR 2331 2334 #undef IMPL_GETTER_SCALAR 2335 #undef IMPL_GETTER_BOOL 2332 2336 /* vi: set tabstop=4 shiftwidth=4 expandtab: */ -
trunk/src/VBox/Main/HostImpl.cpp
r29250 r29385 2317 2317 2318 2318 #ifdef VBOX_WITH_RESOURCE_USAGE_API 2319 2319 2320 void Host::registerMetrics(PerformanceCollector *aCollector) 2320 2321 { … … 2435 2436 aCollector->registerMetric(new pm::Metric(ramUsage, ramVMMBallooned, 2436 2437 new pm::AggregateMax())); 2437 } ;2438 } 2438 2439 2439 2440 void Host::unregisterMetrics (PerformanceCollector *aCollector) … … 2441 2442 aCollector->unregisterMetricsFor(this); 2442 2443 aCollector->unregisterBaseMetricsFor(this); 2443 }; 2444 } 2445 2444 2446 #endif /* VBOX_WITH_RESOURCE_USAGE_API */ 2445 2447 -
trunk/src/VBox/Main/MachineImpl.cpp
r29363 r29385 9137 9137 9138 9138 #ifdef VBOX_WITH_RESOURCE_USAGE_API 9139 9139 9140 void Machine::registerMetrics(PerformanceCollector *aCollector, Machine *aMachine, RTPROCESS pid) 9140 9141 { … … 9245 9246 aCollector->registerMetric(new pm::Metric(guestCpuMem, guestPagedTotal, new pm::AggregateMin())); 9246 9247 aCollector->registerMetric(new pm::Metric(guestCpuMem, guestPagedTotal, new pm::AggregateMax())); 9247 } ;9248 } 9248 9249 9249 9250 void Machine::unregisterMetrics(PerformanceCollector *aCollector, Machine *aMachine) … … 9254 9255 if (mGuestHAL) 9255 9256 delete mGuestHAL; 9256 }; 9257 } 9258 9257 9259 #endif /* VBOX_WITH_RESOURCE_USAGE_API */ 9258 9260 -
trunk/src/VBox/Main/include/ConsoleImpl.h
r29363 r29385 634 634 iLedSas = iLedScsi + cLedScsi, 635 635 cLedSas = 8, 636 cLedStorage = cLedFloppy + cLedIde + cLedSata + cLedScsi + cLedSas ,636 cLedStorage = cLedFloppy + cLedIde + cLedSata + cLedScsi + cLedSas 637 637 }; 638 638 DeviceType_T maStorageDevType[cLedStorage]; -
trunk/src/VBox/Main/include/MachineImpl.h
r29363 r29385 1 1 /* $Id$ */ 2 3 2 /** @file 4 *5 3 * VirtualBox COM class implementation 6 4 */ … … 744 742 SaveSTS_CurStateModified = 0x20, 745 743 SaveSTS_StateFilePath = 0x40, 746 SaveSTS_StateTimeStamp = 0x80 ,744 SaveSTS_StateTimeStamp = 0x80 747 745 }; 748 746 -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r28800 r29385 427 427 */ 428 428 #define DEFINE_EMPTY_CTOR_DTOR(cls) \ 429 cls::cls () {}; cls::~cls () {}; 429 cls::cls() { /*empty*/ } \ 430 cls::~cls() { /*empty*/ } 430 431 431 432 //////////////////////////////////////////////////////////////////////////////// -
trunk/src/VBox/Main/xml/SchemaDefs.xsl
r28800 r29385 102 102 <xsl:apply-templates select="xsd:schema" mode="declare.enum"/> 103 103 104 <xsl:text> }; 104 <xsl:text> DummyTerminator 105 }; 105 106 </xsl:text> 106 107 … … 109 110 <xsl:text>} 110 111 111 #endif // ____H_SCHEMADEFS112 #endif // !____H_SCHEMADEFS 112 113 </xsl:text> 113 114 </xsl:template> -
trunk/src/VBox/Main/xml/Settings.cpp
r29353 r29385 1633 1633 ulIoCacheSize = 5; 1634 1634 ulIoBandwidthMax = 0; 1635 } ;1635 } 1636 1636 1637 1637 //////////////////////////////////////////////////////////////////////////////// -
trunk/src/VBox/Main/xpcom/server.cpp
r28800 r29385 200 200 /* Delay before shutting down the VirtualBox server after the last 201 201 * VirtualBox instance is released, in ms */ 202 VBoxSVC_ShutdownDelay = 5000 ,202 VBoxSVC_ShutdownDelay = 5000 203 203 }; 204 204
Note:
See TracChangeset
for help on using the changeset viewer.

