VirtualBox

Changeset 34403 in vbox


Ignore:
Timestamp:
Nov 26, 2010 4:39:27 PM (14 years ago)
Author:
vboxsync
Message:

Main/Console: dead code/whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r34397 r34403  
    321321VBOX_LISTENER_DECLARE(VmEventListenerImpl)
    322322
    323 // ConsoleCallbackRegistration
    324 ////////////////////////////////////////////////////////////////////////////////
    325 
    326 /**
    327  * Registered IConsoleCallback, used by Console::CallbackList and
    328  * Console::mCallbacks.
    329  *
    330  * In addition to keeping the interface pointer this also keeps track of the
    331  * methods that asked to not be called again.  The latter is for reducing
    332  * unnecessary IPC.
    333  */
    334 class ConsoleCallbackRegistration
    335 {
    336 public:
    337     /** Callback bit indexes (for bmDisabled). */
    338     typedef enum
    339     {
    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         kOnShowWindow
    360     } CallbackBit;
    361 
    362     ConsoleCallbackRegistration()
    363     {
    364         /* nothing */
    365     }
    366 
    367     ~ConsoleCallbackRegistration()
    368     {
    369        /* nothing */
    370     }
    371 };
    372323
    373324// constructor / destructor
     
    41434094
    41444095
    4145 
    41464096/**
    41474097 * Called by IInternalSessionControl::OnUSBControllerChange().
     
    48524802    mCallbackData.mpsc.valid = false;
    48534803
    4854     com::SafeArray <BYTE> aShape(ComSafeArrayInArg (pShape));
     4804    com::SafeArray<BYTE> aShape(ComSafeArrayInArg(pShape));
    48554805    if (aShape.size() != 0)
    48564806        mCallbackData.mpsc.shape.initFrom(aShape);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette