VirtualBox

Ignore:
Timestamp:
Jul 28, 2023 12:24:15 PM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158588
Message:

API/FE/Qt: bugref:10466. bugref:10465. Adding a new event to signal successful installation of extension pack.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp

    r100606 r100729  
    5151#include "CExtraDataCanChangeEvent.h"
    5252#include "CExtraDataChangedEvent.h"
     53#include "CExtPackInstalledEvent.h"
    5354#include "CGuestMonitorChangedEvent.h"
    5455#include "CGuestProcessIOEvent.h"
     
    626627            break;
    627628        }
     629        case KVBoxEventType_OnExtPackInstalled:
     630        {
     631            CExtPackInstalledEvent comEventSpecific(pEvent);
     632            //printf("Ext. pack installed from the file: %s\n", qPrintable(comEventSpecific.GetFilename()));
     633        };
    628634        default: break;
    629635    }
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.cpp

    r98309 r100729  
    187187        << KVBoxEventType_OnMediumChanged
    188188        << KVBoxEventType_OnMediumConfigChanged
    189         << KVBoxEventType_OnMediumRegistered;
     189        << KVBoxEventType_OnMediumRegistered
     190        << KVBoxEventType_OnExtPackInstalled;
    190191
    191192    /* Register event listener for event source aggregator: */
     
    380381
    381382#include "UIVirtualBoxEventHandler.moc"
    382 
Note: See TracChangeset for help on using the changeset viewer.

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