NetworkProxyImportComponent.cpp File Reference

Songbird NetworkProxyImport Component Factory and Main Entry Point. More...

#include "nsIGenericFactory.h"
#include "NetworkProxyImport.h"
Include dependency graph for NetworkProxyImportComponent.cpp:

Go to the source code of this file.

Macros

#define NS_GENERIC_FACTORY_SIMPLETON_CONSTRUCTOR(_Interface)
 

Functions

static CNetworkProxyImportCNetworkProxyImportSimpletonConstructor (void)
 
 NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR (CNetworkProxyImport, CNetworkProxyImportSimpletonConstructor) static NS_IMETHODIMP CNetworkProxyImportFactoryDestructor()
 

Variables

static CNetworkProxyImportm_Simpleton = NULL
 
static nsModuleComponentInfo components []
 

Detailed Description

Songbird NetworkProxyImport Component Factory and Main Entry Point.

Definition in file NetworkProxyImportComponent.cpp.

Macro Definition Documentation

#define NS_GENERIC_FACTORY_SIMPLETON_CONSTRUCTOR (   _Interface)
Value:
static _Interface * m_Simpleton = NULL; \
static _Interface * _Interface##SimpletonConstructor( void ) \
{ \
NS_IF_ADDREF( m_Simpleton ? m_Simpleton : ( NS_IF_ADDREF( m_Simpleton = new _Interface() ), m_Simpleton ) ); \
} \
NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR( _Interface, _Interface##SimpletonConstructor )
static CNetworkProxyImport * m_Simpleton
return
Definition: FeedWriter.js:850
NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(CNetworkProxyImport, CNetworkProxyImportSimpletonConstructor) static NS_IMETHODIMP CNetworkProxyImportFactoryDestructor()

Definition at line 33 of file NetworkProxyImportComponent.cpp.

Function Documentation

static CNetworkProxyImport* CNetworkProxyImportSimpletonConstructor ( void  )
static

Definition at line 42 of file NetworkProxyImportComponent.cpp.

NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR ( CNetworkProxyImport  ,
CNetworkProxyImportSimpletonConstructor   
)

Definition at line 42 of file NetworkProxyImportComponent.cpp.

Variable Documentation

nsModuleComponentInfo components[]
static
Initial value:
=
{
{
"Songbird NetworkProxy Import Component" ,
{ 0xcaece57b, 0x6634, 0x491e, { 0xa8, 0x58, 0x9c, 0x99, 0xab, 0x87, 0x3d, 0xc4 } } ,
"@songbirdnest.com/Songbird/NetworkProxyImport;1" ,
CNetworkProxyImportConstructor,
nsnull,
nsnull,
CNetworkProxyImportFactoryDestructor
},
}

Definition at line 50 of file NetworkProxyImportComponent.cpp.

CNetworkProxyImport* m_Simpleton = NULL
static

Definition at line 42 of file NetworkProxyImportComponent.cpp.