Changeset 100729 in vbox
- Timestamp:
- Jul 28, 2023 12:24:15 PM (16 months ago)
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r100606 r100729 51 51 #include "CExtraDataCanChangeEvent.h" 52 52 #include "CExtraDataChangedEvent.h" 53 #include "CExtPackInstalledEvent.h" 53 54 #include "CGuestMonitorChangedEvent.h" 54 55 #include "CGuestProcessIOEvent.h" … … 626 627 break; 627 628 } 629 case KVBoxEventType_OnExtPackInstalled: 630 { 631 CExtPackInstalledEvent comEventSpecific(pEvent); 632 //printf("Ext. pack installed from the file: %s\n", qPrintable(comEventSpecific.GetFilename())); 633 }; 628 634 default: break; 629 635 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.cpp
r98309 r100729 187 187 << KVBoxEventType_OnMediumChanged 188 188 << KVBoxEventType_OnMediumConfigChanged 189 << KVBoxEventType_OnMediumRegistered; 189 << KVBoxEventType_OnMediumRegistered 190 << KVBoxEventType_OnExtPackInstalled; 190 191 191 192 /* Register event listener for event source aggregator: */ … … 380 381 381 382 #include "UIVirtualBoxEventHandler.moc" 382 -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r100606 r100729 26917 26917 </desc> 26918 26918 </const> 26919 <const name="OnExtPackInstalled" value="123"> 26920 <desc> 26921 See <link to="IClipboardErrorEvent">IClipboardErrorEvent</link>. 26922 </desc> 26923 </const> 26919 26924 <!-- End event marker --> 26920 <const name="End" value="12 3">26925 <const name="End" value="124"> 26921 26926 <desc> 26922 26927 Must be last event, used for iterations and structures relying on numerical event values. … … 27268 27273 <desc>New execution state.</desc> 27269 27274 </attribute> 27275 </interface> 27276 27277 <interface 27278 name="IExtPackInstalledEvent" extends="IEvent" 27279 uuid="29059fea-2c99-11ee-be56-0242ac120002" 27280 wsmap="managed" autogen="VBoxEvent" id="OnExtPackInstalled" 27281 > 27282 <desc>Extension pack installed event.</desc> 27283 <attribute name="filename" readonly="yes" type="wstring"> 27284 <desc> 27285 Name of the extension pack install file. 27286 </desc> 27287 </attribute> 27288 27270 27289 </interface> 27271 27290 -
trunk/src/VBox/Main/include/VirtualBoxImpl.h
r98103 r100729 226 226 void i_onUpdateAgentSettingsChanged(IUpdateAgent *aAgent, const Utf8Str &aAttributeHint); 227 227 #endif /* VBOX_WITH_UPDATE_AGENT */ 228 229 #ifdef VBOX_WITH_EXTPACK 230 void i_onExtPackInstalled(const Utf8Str &aExtPackInstallFile); 231 #endif 228 232 229 233 #ifdef VBOX_WITH_CLOUD_NET … … 500 504 501 505 #endif /* !MAIN_INCLUDED_VirtualBoxImpl_h */ 502 -
trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp
r98262 r100729 3164 3164 pExtPack->i_callInstalledHook(m->pVirtualBox, &autoLock, &ErrInfo.Core); 3165 3165 if (RT_SUCCESS(ErrInfo.Core.rc)) 3166 { 3166 3167 LogRel(("ExtPackManager: Successfully installed extension pack '%s'.\n", pStrName->c_str())); 3168 m->pVirtualBox->i_onExtPackInstalled(*pStrName); 3169 } 3167 3170 else 3168 3171 { -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r99739 r100729 3791 3791 #endif /* VBOX_WITH_UPDATE_AGENT */ 3792 3792 3793 #ifdef VBOX_WITH_EXTPACK 3794 void VirtualBox::i_onExtPackInstalled(const Utf8Str &aExtPackInstallFile) 3795 { 3796 ::FireExtPackInstalledEvent(m->pEventSource, aExtPackInstallFile); 3797 } 3798 #endif 3799 3793 3800 /** 3794 3801 * @note Locks the list of other objects for reading.
Note:
See TracChangeset
for help on using the changeset viewer.