Changeset 25901 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jan 18, 2010 4:52:21 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56716
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r25859 r25901 179 179 HRESULT onStorageControllerChange (); 180 180 HRESULT onMediumChange(IMediumAttachment *aMediumAttachment, BOOL aForce); 181 HRESULT onCPUChange(ULONG aCPU, BOOL aRemove); 181 182 HRESULT onVRDPServerChange(); 182 183 HRESULT onUSBControllerChange(); … … 448 449 const char *pszFormat, bool fPassthrough, 449 450 bool fForce); 451 static DECLCALLBACK(int) unplugCpu (Console *pThis, unsigned uCpu); 452 static DECLCALLBACK(int) plugCpu (Console *pThis, unsigned uCpu); 450 453 HRESULT doMediumChange(IMediumAttachment *aMediumAttachment, bool fForce); 454 HRESULT doCPURemove(ULONG aCpu); 455 HRESULT doCPUAdd(ULONG aCpu); 451 456 452 457 #ifdef VBOX_DYNAMIC_NET_ATTACH -
trunk/src/VBox/Main/include/DisplayImpl.h
r25069 r25901 194 194 } 195 195 196 STDMETHOD(OnCPUChange)(ULONG aCPU, BOOL aRemove) 197 { 198 return S_OK; 199 } 200 196 201 STDMETHOD(OnVRDPServerChange)() 197 202 { -
trunk/src/VBox/Main/include/MachineImpl.h
r25859 r25901 296 296 BOOL mSyntheticCpu; 297 297 ULONG mCPUCount; 298 BOOL mCPUHotPlugEnabled; 298 299 BOOL mAccelerate3DEnabled; 300 301 BOOL mCPUAttached[SchemaDefs::MaxCPUCount]; 299 302 300 303 settings::CpuIdLeaf mCpuIdStdLeafs[10]; … … 531 534 STDMETHOD(COMGETTER(CPUCount))(ULONG *cpuCount); 532 535 STDMETHOD(COMSETTER(CPUCount))(ULONG cpuCount); 536 STDMETHOD(COMGETTER(CPUHotPlugEnabled))(BOOL *enabled); 537 STDMETHOD(COMSETTER(CPUHotPlugEnabled))(BOOL enabled); 533 538 STDMETHOD(COMGETTER(MemoryBalloonSize))(ULONG *memoryBalloonSize); 534 539 STDMETHOD(COMSETTER(MemoryBalloonSize))(ULONG memoryBalloonSize); … … 634 639 STDMETHOD(QuerySavedScreenshotPNGSize)(ULONG *aSize, ULONG *aWidth, ULONG *aHeight); 635 640 STDMETHOD(ReadSavedScreenshotPNGToArray)(ULONG *aWidth, ULONG *aHeight, ComSafeArrayOut(BYTE, aData)); 641 STDMETHOD(HotPlugCPU(ULONG aCpu)); 642 STDMETHOD(HotUnplugCPU(ULONG aCpu)); 643 STDMETHOD(GetCPUStatus(ULONG aCpu, BOOL *aCpuAttached)); 636 644 637 645 // public methods only for internal purposes … … 717 725 virtual HRESULT onUSBControllerChange() { return S_OK; } 718 726 virtual HRESULT onStorageControllerChange() { return S_OK; } 727 virtual HRESULT onCPUChange(ULONG /* aCPU */, BOOL /* aRemove */) { return S_OK; } 719 728 virtual HRESULT onMediumChange(IMediumAttachment * /* mediumAttachment */, BOOL /* force */) { return S_OK; } 720 729 virtual HRESULT onSharedFolderChange() { return S_OK; } … … 1036 1045 HRESULT onSerialPortChange(ISerialPort *serialPort); 1037 1046 HRESULT onParallelPortChange(IParallelPort *parallelPort); 1047 HRESULT onCPUChange(ULONG aCPU, BOOL aRemove); 1038 1048 HRESULT onVRDPServerChange(); 1039 1049 HRESULT onUSBControllerChange(); -
trunk/src/VBox/Main/include/SessionImpl.h
r25642 r25901 96 96 STDMETHOD(OnStorageControllerChange)(); 97 97 STDMETHOD(OnMediumChange)(IMediumAttachment *aMediumAttachment, BOOL aForce); 98 STDMETHOD(OnCPUChange)(ULONG aCPU, BOOL aRemove); 98 99 STDMETHOD(OnVRDPServerChange)(); 99 100 STDMETHOD(OnUSBControllerChange)(); -
trunk/src/VBox/Main/include/VirtualBoxCallbackImpl.h
r23643 r25901 94 94 STDMETHOD(OnStorageControllerChange) (); 95 95 STDMETHOD(OnMediumChange)(IMediumAttachment *iMediumAttachment); 96 STDMETHOD(OnCPUChange)(ULONG aCPU, BOOL aRemove); 96 97 STDMETHOD(OnRuntimeError)(BOOL fFatal, IN_BSTR id, IN_BSTR message); 97 98 STDMETHOD(OnCanShowWindow)(BOOL *canShow);
Note:
See TracChangeset
for help on using the changeset viewer.