Changeset 50544 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 21, 2014 2:47:22 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92396
- Location:
- trunk/src/VBox/Main
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/EventImpl.h
r39714 r50544 145 145 146 146 // public initializer/uninitializer for internal purposes only 147 HRESULT init( IUnknown *aParent);147 HRESULT init(); 148 148 void uninit(); 149 149 -
trunk/src/VBox/Main/src-all/EventImpl.cpp
r50543 r50544 929 929 } 930 930 931 HRESULT EventSource::init( IUnknown *)931 HRESULT EventSource::init() 932 932 { 933 933 HRESULT rc = S_OK; … … 1410 1410 ComAssertMsgRet(SUCCEEDED(rc), ("Could not create source (%Rhrc)", rc), 1411 1411 E_FAIL); 1412 rc = mSource->init( (IEventSource *)this);1412 rc = mSource->init(); 1413 1413 ComAssertMsgRet(SUCCEEDED(rc), ("Could not init source (%Rhrc)", rc), 1414 1414 E_FAIL); -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r50403 r50544 490 490 // Event source may be needed by other children 491 491 unconst(mEventSource).createObject(); 492 rc = mEventSource->init( static_cast<IConsole*>(this));492 rc = mEventSource->init(); 493 493 AssertComRCReturnRC(rc); 494 494 -
trunk/src/VBox/Main/src-client/GuestFileImpl.cpp
r49610 r50544 161 161 162 162 unconst(mEventSource).createObject(); 163 HRESULT hr = mEventSource->init( static_cast<IGuestFile*>(this));163 HRESULT hr = mEventSource->init(); 164 164 if (FAILED(hr)) 165 165 vrc = VERR_COM_UNEXPECTED; -
trunk/src/VBox/Main/src-client/GuestImpl.cpp
r50460 r50544 112 112 hr = unconst(mEventSource).createObject(); 113 113 if (SUCCEEDED(hr)) 114 hr = mEventSource->init( static_cast<IGuest*>(this));114 hr = mEventSource->init(); 115 115 #else 116 116 hr = S_OK; -
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r49653 r50544 189 189 else 190 190 { 191 hr = mEventSource->init( static_cast<IGuestProcess*>(this));191 hr = mEventSource->init(); 192 192 if (FAILED(hr)) 193 193 vrc = VERR_COM_UNEXPECTED; -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r49948 r50544 212 212 else 213 213 { 214 hr = mEventSource->init( static_cast<IGuestSession*>(this));214 hr = mEventSource->init(); 215 215 if (FAILED(hr)) 216 216 rc = VERR_COM_UNEXPECTED; -
trunk/src/VBox/Main/src-client/KeyboardImpl.cpp
r49386 r50544 113 113 114 114 unconst(mEventSource).createObject(); 115 HRESULT rc = mEventSource->init( static_cast<IKeyboard*>(this));115 HRESULT rc = mEventSource->init(); 116 116 AssertComRCReturnRC(rc); 117 117 -
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r47848 r50544 113 113 114 114 unconst(mEventSource).createObject(); 115 HRESULT rc = mEventSource->init( static_cast<IMouse*>(this));115 HRESULT rc = mEventSource->init(); 116 116 AssertComRCReturnRC(rc); 117 117 mMouseEvent.init(mEventSource, VBoxEventType_OnGuestMouse, -
trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp
r50174 r50544 82 82 rc = unconst(mData.m_pEventSource).createObject(); 83 83 AssertComRCReturnRC(rc); 84 rc = mData.m_pEventSource->init( static_cast<IVirtualBoxClient *>(this));84 rc = mData.m_pEventSource->init(); 85 85 AssertComRCReturnRC(rc); 86 86 -
trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp
r50355 r50544 152 152 if (FAILED(hrc)) throw hrc; 153 153 154 hrc = m->pEventSource->init( static_cast<INATNetwork *>(this));154 hrc = m->pEventSource->init(); 155 155 if (FAILED(hrc)) throw hrc; 156 156 … … 207 207 if (FAILED(hrc)) throw hrc; 208 208 209 hrc = m->pEventSource->init( static_cast<INATNetwork *>(this));209 hrc = m->pEventSource->init(); 210 210 if (FAILED(hrc)) throw hrc; 211 211 -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r50434 r50544 505 505 /* events */ 506 506 if (SUCCEEDED(rc = unconst(m->pEventSource).createObject())) 507 rc = m->pEventSource->init( static_cast<IVirtualBox*>(this));507 rc = m->pEventSource->init(); 508 508 if (FAILED(rc)) throw rc; 509 509
Note:
See TracChangeset
for help on using the changeset viewer.