VirtualBox

Changeset 56595 in vbox


Ignore:
Timestamp:
Jun 23, 2015 11:23:17 AM (9 years ago)
Author:
vboxsync
Message:

Main/Machine+ProgresProxy: for the few things not handled by the wrapper generator: move the XPCOM classinfo etc. to the place where it belongs

Location:
trunk/src/VBox/Main/src-server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r56477 r56595  
    1474314743    ReturnComNotImplemented();
    1474414744}
     14745
     14746/* This isn't handled entirely by the wrapper generator yet. */
     14747#ifdef VBOX_WITH_XPCOM
     14748NS_DECL_CLASSINFO(SessionMachine)
     14749NS_IMPL_THREADSAFE_ISUPPORTS2_CI(SessionMachine, IMachine, IInternalMachineControl)
     14750
     14751NS_DECL_CLASSINFO(SnapshotMachine)
     14752NS_IMPL_THREADSAFE_ISUPPORTS1_CI(SnapshotMachine, IMachine)
     14753#endif
  • trunk/src/VBox/Main/src-server/ProgressProxyImpl.cpp

    r56574 r56595  
    692692}
    693693
     694#ifdef VBOX_WITH_XPCOM
     695NS_DECL_CLASSINFO(ProgressProxy)
     696NS_IMPL_THREADSAFE_ISUPPORTS1_CI(ProgressProxy, IProgress)
     697#endif
     698
    694699/* vi: set tabstop=4 shiftwidth=4 expandtab: */
    695 
  • trunk/src/VBox/Main/src-server/xpcom/server.cpp

    r56587 r56595  
    100100NS_DECL_CI_INTERFACE_GETTER(VirtualBoxWrap)
    101101
    102 // The declarations/implementations of the various XPCOM helper data structures
    103 // and functions have to be removed bit by bit, as the conversion to the
    104 // automatically generated wrappers makes them obsolete.
    105 
    106 /* implement nsISupports parts of our objects with support for nsIClassInfo */
    107 NS_DECL_CLASSINFO(SessionMachine)
    108 NS_IMPL_THREADSAFE_ISUPPORTS2_CI(SessionMachine, IMachine, IInternalMachineControl)
    109 
    110 NS_DECL_CLASSINFO(SnapshotMachine)
    111 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(SnapshotMachine, IMachine)
    112 
    113 NS_DECL_CLASSINFO(ProgressProxy)
    114 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(ProgressProxy, IProgress)
    115 
    116102////////////////////////////////////////////////////////////////////////////////
    117103
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