VirtualBox

Changeset 50544 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Feb 21, 2014 2:47:22 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92396
Message:

Main/Event: eliminate unused parameter

Location:
trunk/src/VBox/Main/src-client
Files:
8 edited

Legend:

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

    r50403 r50544  
    490490    // Event source may be needed by other children
    491491    unconst(mEventSource).createObject();
    492     rc = mEventSource->init(static_cast<IConsole*>(this));
     492    rc = mEventSource->init();
    493493    AssertComRCReturnRC(rc);
    494494
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r49610 r50544  
    161161
    162162        unconst(mEventSource).createObject();
    163         HRESULT hr = mEventSource->init(static_cast<IGuestFile*>(this));
     163        HRESULT hr = mEventSource->init();
    164164        if (FAILED(hr))
    165165            vrc = VERR_COM_UNEXPECTED;
  • trunk/src/VBox/Main/src-client/GuestImpl.cpp

    r50460 r50544  
    112112    hr = unconst(mEventSource).createObject();
    113113    if (SUCCEEDED(hr))
    114         hr = mEventSource->init(static_cast<IGuest*>(this));
     114        hr = mEventSource->init();
    115115#else
    116116    hr = S_OK;
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r49653 r50544  
    189189        else
    190190        {
    191             hr = mEventSource->init(static_cast<IGuestProcess*>(this));
     191            hr = mEventSource->init();
    192192            if (FAILED(hr))
    193193                vrc = VERR_COM_UNEXPECTED;
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r49948 r50544  
    212212        else
    213213        {
    214             hr = mEventSource->init(static_cast<IGuestSession*>(this));
     214            hr = mEventSource->init();
    215215            if (FAILED(hr))
    216216                rc = VERR_COM_UNEXPECTED;
  • trunk/src/VBox/Main/src-client/KeyboardImpl.cpp

    r49386 r50544  
    113113
    114114    unconst(mEventSource).createObject();
    115     HRESULT rc = mEventSource->init(static_cast<IKeyboard*>(this));
     115    HRESULT rc = mEventSource->init();
    116116    AssertComRCReturnRC(rc);
    117117
  • trunk/src/VBox/Main/src-client/MouseImpl.cpp

    r47848 r50544  
    113113
    114114    unconst(mEventSource).createObject();
    115     HRESULT rc = mEventSource->init(static_cast<IMouse*>(this));
     115    HRESULT rc = mEventSource->init();
    116116    AssertComRCReturnRC(rc);
    117117    mMouseEvent.init(mEventSource, VBoxEventType_OnGuestMouse,
  • trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp

    r50174 r50544  
    8282    rc = unconst(mData.m_pEventSource).createObject();
    8383    AssertComRCReturnRC(rc);
    84     rc = mData.m_pEventSource->init(static_cast<IVirtualBoxClient *>(this));
     84    rc = mData.m_pEventSource->init();
    8585    AssertComRCReturnRC(rc);
    8686
Note: See TracChangeset for help on using the changeset viewer.

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