VirtualBox

Changeset 19134 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 23, 2009 9:21:43 AM (16 years ago)
Author:
vboxsync
Message:

Main: make VBox interfaces scriptable (that is, callable from Python and VisualBasic)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/defs.h

    r18050 r19134  
    575575};
    576576
     577// use this macro to implement scriptable interfaces
     578#ifdef RT_OS_WINDOWS
     579#define VBOX_SCRIPTABLE_IMPL(iface)                                          \
     580    public IDispatchImpl<iface, &IID_##iface, &LIBID_VirtualBox,             \
     581                         kTypeLibraryMajorVersion, kTypeLibraryMinorVersion>
     582#else
     583#define VBOX_SCRIPTABLE_IMPL(iface) \
     584    public iface
     585#endif
     586
     587
    577588} /* namespace com */
    578589
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