VirtualBox

Changeset 22357 in vbox for trunk/src/VBox/Main/xpcom


Ignore:
Timestamp:
Aug 19, 2009 9:32:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51285
Message:

COM, Python: wrappers cleanup, some generic improvments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xpcom/module.cpp

    r22305 r22357  
    8080NS_DECL_CLASSINFO(Console)
    8181NS_IMPL_THREADSAFE_ISUPPORTS1_CI(Console, IConsole)
    82 NS_DECL_CLASSINFO(VirtualBoxCallback)
    83 NS_IMPL_THREADSAFE_ISUPPORTS3_CI(VirtualBoxCallback, IVirtualBoxCallback, IConsoleCallback, ILocalOwner)
     82NS_DECL_CLASSINFO(CallbackWrapper)
     83NS_IMPL_THREADSAFE_ISUPPORTS3_CI(CallbackWrapper, IVirtualBoxCallback, IConsoleCallback, ILocalOwner)
    8484/**
    8585 *  Singleton class factory that holds a reference to the created instance
     
    136136NS_GENERIC_FACTORY_CONSTRUCTOR_WITH_RC (Session)
    137137
    138 NS_GENERIC_FACTORY_CONSTRUCTOR_WITH_RC (VirtualBoxCallback)
     138NS_GENERIC_FACTORY_CONSTRUCTOR_WITH_RC (CallbackWrapper)
    139139
    140140
     
    159159    },
    160160    {
    161         "VirtualBoxCallback component", // description
    162         NS_VIRTUALBOXCALLBACK_CID, NS_VIRTUALBOXCALLBACK_CONTRACTID, // CID/ContractID
    163         VirtualBoxCallbackConstructor, // constructor function
     161        "CallbackWrapper component", // description
     162        NS_CALLBACKWRAPPER_CID, NS_CALLBACKWRAPPER_CONTRACTID, // CID/ContractID
     163        CallbackWrapperConstructor, // constructor function
    164164        NULL, // registration function
    165165        NULL, // deregistration function
    166 //        SessionClassFactory::releaseInstance,
    167166        NULL, // destructor function
    168         NS_CI_INTERFACE_GETTER_NAME(VirtualBoxCallback), // interfaces function
     167        NS_CI_INTERFACE_GETTER_NAME(CallbackWrapper), // interfaces function
    169168        NULL, // language helper
    170         &NS_CLASSINFO_NAME(VirtualBoxCallback) // global class info & flags
     169        &NS_CLASSINFO_NAME(CallbackWrapper) // global class info & flags
    171170    }
    172171
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