VirtualBox

Changeset 45473 in vbox for trunk/src


Ignore:
Timestamp:
Apr 10, 2013 7:39:16 PM (12 years ago)
Author:
vboxsync
Message:

vboxapi.py: Use TLB_MAJOR and TLB_MINOR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/vboxapi.py

    r43105 r45473  
    11"""
    2 Copyright (C) 2009-2012 Oracle Corporation
     2Copyright (C) 2009-2013 Oracle Corporation
    33
    44This file is part of VirtualBox Open Source Edition (OSE), as
     
    254254        d['arg'] = arg
    255255        d['tlb_guid'] = PlatformMSCOM.VBOX_TLB_GUID
     256        d['tlb_major'] = PlatformMSCOM.VBOX_TLB_MAJOR
     257        d['tlb_minor'] = PlatformMSCOM.VBOX_TLB_MINOR
    256258        str = ""
    257259        str += "import win32com.server.util\n"
     
    261263        str += "   _com_interfaces_ = ['IEventListener']\n"
    262264        str += "   _typelib_guid_ = tlb_guid\n"
    263         str += "   _typelib_version_ = 1, 0\n"
     265        str += "   _typelib_version_ = tlb_major, tlb_minor\n"
    264266        str += "   _reg_clsctx_ = pythoncom.CLSCTX_INPROC_SERVER\n"
    265267        # Maybe we'd better implement Dynamic invoke policy, to be more flexible here
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