Changeset 34403 in vbox
- Timestamp:
- Nov 26, 2010 4:39:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r34397 r34403 321 321 VBOX_LISTENER_DECLARE(VmEventListenerImpl) 322 322 323 // ConsoleCallbackRegistration324 ////////////////////////////////////////////////////////////////////////////////325 326 /**327 * Registered IConsoleCallback, used by Console::CallbackList and328 * Console::mCallbacks.329 *330 * In addition to keeping the interface pointer this also keeps track of the331 * methods that asked to not be called again. The latter is for reducing332 * unnecessary IPC.333 */334 class ConsoleCallbackRegistration335 {336 public:337 /** Callback bit indexes (for bmDisabled). */338 typedef enum339 {340 kOnMousePointerShapeChanged = 0,341 kOnMouseCapabilityChanged,342 kOnKeyboardLedsChanged,343 kOnStateChanged,344 kOnAdditionsStateChanged,345 kOnNetworkAdapterChanged,346 kOnSerialPortChanged,347 kOnParallelPortChanged,348 kOnStorageControllerChanged,349 kOnMediumChanged,350 kOnCPUChanged,351 kOnCPUExecutionCapChanged,352 kOnVRDEServerChanged,353 kOnVRDEServerInfoChanged,354 kOnUSBControllerChanged,355 kOnUSBDeviceStateChanged,356 kOnSharedFolderChanged,357 kOnRuntimeError,358 kOnCanShowWindow,359 kOnShowWindow360 } CallbackBit;361 362 ConsoleCallbackRegistration()363 {364 /* nothing */365 }366 367 ~ConsoleCallbackRegistration()368 {369 /* nothing */370 }371 };372 323 373 324 // constructor / destructor … … 4143 4094 4144 4095 4145 4146 4096 /** 4147 4097 * Called by IInternalSessionControl::OnUSBControllerChange(). … … 4852 4802 mCallbackData.mpsc.valid = false; 4853 4803 4854 com::SafeArray <BYTE> aShape(ComSafeArrayInArg(pShape));4804 com::SafeArray<BYTE> aShape(ComSafeArrayInArg(pShape)); 4855 4805 if (aShape.size() != 0) 4856 4806 mCallbackData.mpsc.shape.initFrom(aShape);
Note:
See TracChangeset
for help on using the changeset viewer.