VirtualBox

Changeset 35446 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 10, 2011 11:08:29 AM (14 years ago)
Author:
vboxsync
Message:

Frontends/VBoxHeadless: relatively benign typo fix and whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r35287 r35446  
    55
    66/*
    7  * Copyright (C) 2006-2010 Oracle Corporation
     7 * Copyright (C) 2006-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    102102    }
    103103
    104     STDMETHOD(HandleEvent)(VBoxEventType_T aType, IEvent * aEvent)
     104    STDMETHOD(HandleEvent)(VBoxEventType_T aType, IEvent *aEvent)
    105105    {
    106106        switch (aType)
     
    148148    }
    149149
    150     STDMETHOD(HandleEvent)(VBoxEventType_T aType, IEvent * aEvent)
     150    STDMETHOD(HandleEvent)(VBoxEventType_T aType, IEvent *aEvent)
    151151    {
    152152        switch (aType)
     
    255255    }
    256256
    257     STDMETHOD(HandleEvent)(VBoxEventType_T aType, IEvent * aEvent)
     257    STDMETHOD(HandleEvent)(VBoxEventType_T aType, IEvent *aEvent)
    258258    {
    259259        switch (aType)
     
    10021002            CHECK_ERROR(pVirtualBoxClient, COMGETTER(EventSource)(pES.asOutParam()));
    10031003            vboxClientListener = new VirtualBoxClientEventListenerImpl();
    1004             com::SafeArray <VBoxEventType_T> eventTypes;
     1004            com::SafeArray<VBoxEventType_T> eventTypes;
    10051005            eventTypes.push_back(VBoxEventType_OnVBoxSVCAvailabilityChanged);
    10061006            CHECK_ERROR(pES, RegisterListener(vboxClientListener, ComSafeArrayAsInParam(eventTypes), true));
     
    10121012            CHECK_ERROR(console, COMGETTER(EventSource)(es.asOutParam()));
    10131013            consoleListener = new ConsoleEventListenerImpl();
    1014             com::SafeArray <VBoxEventType_T> eventTypes;
     1014            com::SafeArray<VBoxEventType_T> eventTypes;
    10151015            eventTypes.push_back(VBoxEventType_OnMouseCapabilityChanged);
    10161016            eventTypes.push_back(VBoxEventType_OnStateChanged);
     
    11671167            CHECK_ERROR(virtualBox, COMGETTER(EventSource)(es.asOutParam()));
    11681168            vboxListener = new VirtualBoxEventListenerImpl();
    1169             com::SafeArray <VBoxEventType_T> eventTypes;
     1169            com::SafeArray<VBoxEventType_T> eventTypes;
    11701170            eventTypes.push_back(VBoxEventType_OnGuestPropertyChanged);
    11711171            CHECK_ERROR(es, RegisterListener(vboxListener, ComSafeArrayAsInParam(eventTypes), true));
     
    12591259
    12601260    /* VirtualBoxClient callback unregistration. */
    1261     if (consoleListener)
     1261    if (vboxClientListener)
    12621262    {
    12631263        ComPtr<IEventSource> pES;
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