Changeset 50369 in vbox for trunk/src/VBox/Main/src-server/xpcom/server.cpp
- Timestamp:
- Feb 7, 2014 4:16:41 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92122
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/xpcom/server.cpp
r50355 r50369 5 5 6 6 /* 7 * Copyright (C) 2004-201 3Oracle Corporation7 * Copyright (C) 2004-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 95 95 # include "NATNetworkImpl.h" 96 96 97 // This needs to stay - it is needed by the service registration below, and 98 // is defined in the automatically generated VirtualBoxWrap.cpp 99 extern nsIClassInfo *NS_CLASSINFO_NAME(VirtualBoxWrap); 100 NS_DECL_CI_INTERFACE_GETTER(VirtualBoxWrap) 101 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. 97 105 98 106 /* implement nsISupports parts of our objects with support for nsIClassInfo */ … … 834 842 NULL, // deregistration function 835 843 VirtualBoxClassFactory::FactoryDestructor, // factory destructor function 836 NS_CI_INTERFACE_GETTER_NAME(VirtualBox ),844 NS_CI_INTERFACE_GETTER_NAME(VirtualBoxWrap), 837 845 NULL, // language helper 838 &NS_CLASSINFO_NAME(VirtualBox ),846 &NS_CLASSINFO_NAME(VirtualBoxWrap), 839 847 0 // flags 840 848 }; … … 856 864 } 857 865 858 nsCOMPtr 866 nsCOMPtr<nsIComponentRegistrar> registrar; 859 867 rc = NS_GetComponentRegistrar(getter_AddRefs(registrar)); 860 868 if (NS_FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.