Changeset 44580 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Feb 7, 2013 11:35:37 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83655
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r44528 r44580 110 110 unconst(mParent) = parent; 111 111 112 #ifndef VBOXBFE_WITHOUT_COM113 112 unconst(mEventSource).createObject(); 114 113 HRESULT rc = mEventSource->init(static_cast<IMouse*>(this)); … … 116 115 mMouseEvent.init(mEventSource, VBoxEventType_OnGuestMouse, 117 116 0, 0, 0, 0, 0); 118 #endif119 117 120 118 /* Confirm a successful initialization */ … … 144 142 } 145 143 146 #ifdef VBOXBFE_WITHOUT_COM147 mParent = NULL;148 #else149 144 mMouseEvent.uninit(); 150 145 unconst(mEventSource).setNull(); 151 146 unconst(mParent) = NULL; 152 #endif153 147 } 154 148 … … 256 250 } 257 251 258 #ifndef VBOXBFE_WITHOUT_COM259 252 STDMETHODIMP Mouse::COMGETTER(EventSource)(IEventSource ** aEventSource) 260 253 { … … 269 262 return S_OK; 270 263 } 271 #endif272 264 273 265 /** … … 413 405 } 414 406 415 #ifndef VBOXBFE_WITHOUT_COM416 407 void Mouse::fireMouseEvent(bool fAbsolute, LONG x, LONG y, LONG dz, LONG dw, LONG Buttons) 417 408 { … … 430 421 } 431 422 } 432 #endif433 423 434 424
Note:
See TracChangeset
for help on using the changeset viewer.