VirtualBox

Changeset 50357 in vbox


Ignore:
Timestamp:
Feb 6, 2014 8:12:51 PM (11 years ago)
Author:
vboxsync
Message:

Main/VirtualBox: fix Windows specific regressions, a bit too much ATL magic was ripped out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/VirtualBoxImpl.h

    r50356 r50357  
    7373    friend class CallbackEvent;
    7474
     75    DECLARE_CLASSFACTORY_SINGLETON(VirtualBox)
     76
     77    DECLARE_REGISTRY_RESOURCEID(IDR_VIRTUALBOX)
     78
     79    // Kind of redundant (VirtualBoxWrap declares itself not aggregatable and
     80    // CComCoClass<VirtualBox, &CLSID_VirtualBox> as aggregatable, the former
     81    // is the first inheritance), but the C++ multiple inheritance rules and
     82    // the class factory in svcmain.cpp needs this to disambiguate.
     83    DECLARE_NOT_AGGREGATABLE(VirtualBox)
    7584
    7685    // to postpone generation of the default ctor/dtor
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