- Timestamp:
- Apr 28, 2022 8:51:13 AM (3 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r94723 r94730 28316 28316 <interface 28317 28317 name="IUpdateAgentEvent" extends="IEvent" 28318 uuid=" 0e33366a-670e-4e1f-9ddc-41c8a346cafd"28318 uuid="ff58a51d-54a1-411c-93e9-3047eb4dcd21" 28319 28319 wsmap="managed"> 28320 28320 <desc> 28321 28321 Abstract base interface for update agent events. 28322 28322 </desc> 28323 <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/> 28323 <attribute name="agent" readonly="yes" type="IUpdateAgent"> 28324 <desc>Update agent this event belongs to.</desc> 28325 </attribute> 28324 28326 </interface> 28325 28327 -
trunk/src/VBox/Main/src-server/UpdateAgentImpl.cpp
r94729 r94730 725 725 aLock.release(); 726 726 727 ::FireUpdateAgentSettingsChangedEvent(m_EventSource, "" /** @todo Include attribute hints */);727 ::FireUpdateAgentSettingsChangedEvent(m_EventSource, this, "" /** @todo Include attribute hints */); 728 728 729 729 AutoWriteLock vboxLock(m_VirtualBox COMMA_LOCKVAL_SRC_POS); … … 758 758 LogRel(("Update agent (%s): %s\n", mData.m_strName.c_str(), strMsg.c_str())); 759 759 760 ::FireUpdateAgentErrorEvent(m_EventSource, strMsg.c_str(), vrc);760 ::FireUpdateAgentErrorEvent(m_EventSource, this, strMsg.c_str(), vrc); 761 761 762 762 return setErrorBoth(VBOX_E_IPRT_ERROR, vrc, strMsg.c_str()); … … 1045 1045 alock.release(); /* Release lock before firing off event. */ 1046 1046 1047 ::FireUpdateAgentStateChangedEvent(m_EventSource, UpdateState_NotAvailable);1047 ::FireUpdateAgentStateChangedEvent(m_EventSource, this, UpdateState_NotAvailable); 1048 1048 } 1049 1049 else … … 1072 1072 alock.release(); /* Release lock before firing off events. */ 1073 1073 1074 ::FireUpdateAgentStateChangedEvent(m_EventSource, UpdateState_Available);1075 ::FireUpdateAgentAvailableEvent(m_EventSource, mData.m_lastResult.strVer, m->enmChannel,1074 ::FireUpdateAgentStateChangedEvent(m_EventSource, this, UpdateState_Available); 1075 ::FireUpdateAgentAvailableEvent(m_EventSource, this, mData.m_lastResult.strVer, m->enmChannel, 1076 1076 mData.m_lastResult.enmSeverity, mData.m_lastResult.strDownloadUrl, 1077 1077 mData.m_lastResult.strWebUrl, mData.m_lastResult.strReleaseNotes);
Note:
See TracChangeset
for help on using the changeset viewer.