VirtualBox

Ignore:
Timestamp:
Nov 26, 2010 2:13:35 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68162
Message:

Main: better type checks when firing events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/VirtualBoxImpl.cpp

    r34373 r34393  
    6767#endif /* VBOX_WITH_RESOURCE_USAGE_API */
    6868#include "EventImpl.h"
     69#include "VBoxEvents.h"
    6970#ifdef VBOX_WITH_EXTPACK
    7071# include "ExtPackManagerImpl.h"
     
    24942495                               IN_BSTR aGuestIp, uint16_t aGuestPort)
    24952496{
    2496     VBoxEventDesc evDesc;
    2497     evDesc.init(m->pEventSource, VBoxEventType_OnNATRedirectEvent, aMachineId.toUtf16().raw(), ulSlot, fRemove, aName, aProto, aHostIp,
    2498                 aHostPort, aGuestIp, aGuestPort);
    2499     evDesc.fire(0);
     2497    fireNATRedirectEvent(m->pEventSource, aMachineId.toUtf16().raw(), ulSlot, fRemove, aName, aProto, aHostIp,
     2498                         aHostPort, aGuestIp, aGuestPort);
    25002499}
    25012500
     
    44204419    }
    44214420
    4422 
    44234421    {
    44244422        VBoxEventDesc evDesc;
Note: See TracChangeset for help on using the changeset viewer.

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