UnityProxyModule.cpp
Go to the documentation of this file.
1 #include "nsIGenericFactory.h"
2 #include "UnityProxy.h"
3 
4 // Create the constructor (factory) of our component. this macro
5 // creates a static function named <ArgumentName>Constructor, in our case
6 // UnityProxyConstructor, which is then used in the structure of the components.
8 
9 // Structure containing module info
10 static nsModuleComponentInfo components[] =
11 {
12  {
16  UnityProxyConstructor,
17  }
18 };
19 
20 // Create an entry point to the required nsIModule interface
21 NS_IMPL_NSGETMODULE("UnityProxyModule", components)
static nsModuleComponentInfo components[]
#define UNITY_PROXY_CONTRACTID
Definition: UnityProxy.h:9
#define UNITY_PROXY_CLASSNAME
Definition: UnityProxy.h:10
#define UNITY_PROXY_CID
Definition: UnityProxy.h:13
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
NS_GENERIC_FACTORY_CONSTRUCTOR(sbMediaSniffer)