nsBrowserDirectoryProvider.cpp File Reference
#include "nsIDirectoryService.h"
#include "nsIFile.h"
#include "nsISimpleEnumerator.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsArrayEnumerator.h"
#include "nsEnumeratorUtils.h"
#include "nsBrowserDirectoryServiceDefs.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsDirectoryServiceDefs.h"
#include "nsCategoryManagerUtils.h"
#include "nsComponentManagerUtils.h"
#include "nsCOMArray.h"
#include "nsDirectoryServiceUtils.h"
#include "nsIGenericFactory.h"
#include "nsServiceManagerUtils.h"
#include "nsStringAPI.h"
#include "nsXULAppAPI.h"
Include dependency graph for nsBrowserDirectoryProvider.cpp:

Go to the source code of this file.

Classes

class  nsBrowserDirectoryProvider
 

Macros

#define NS_BROWSERDIRECTORYPROVIDER_CID   { 0x6deb193c, 0xf87d, 0x4078, { 0xbc, 0x78, 0x5e, 0x64, 0x65, 0x5b, 0x4d, 0x62 } }
 

Functions

 NS_IMPL_ISUPPORTS2 (nsBrowserDirectoryProvider, nsIDirectoryServiceProvider, nsIDirectoryServiceProvider2) NS_IMETHODIMP nsBrowserDirectoryProvider
 
static void AppendFileKey (const char *key, nsIProperties *aDirSvc, nsCOMArray< nsIFile > &array)
 
static void AppendDistroSearchDirs (nsIProperties *aDirSvc, nsCOMArray< nsIFile > &array)
 
 NS_IMPL_ISUPPORTS1 (nsBrowserDirectoryProvider::AppendingEnumerator, nsISimpleEnumerator) NS_IMETHODIMP nsBrowserDirectoryProvider
 

Variables

static char const kContractID [] = "@mozilla.org/browser/directory-provider;1"
 
static const nsModuleComponentInfo components []
 

Macro Definition Documentation

#define NS_BROWSERDIRECTORYPROVIDER_CID   { 0x6deb193c, 0xf87d, 0x4078, { 0xbc, 0x78, 0x5e, 0x64, 0x65, 0x5b, 0x4d, 0x62 } }

Definition at line 337 of file nsBrowserDirectoryProvider.cpp.

Function Documentation

static void AppendDistroSearchDirs ( nsIProperties *  aDirSvc,
nsCOMArray< nsIFile > &  array 
)
static

Definition at line 221 of file nsBrowserDirectoryProvider.cpp.

static void AppendFileKey ( const char *  key,
nsIProperties *  aDirSvc,
nsCOMArray< nsIFile > &  array 
)
static

Definition at line 187 of file nsBrowserDirectoryProvider.cpp.

NS_IMPL_ISUPPORTS1 ( nsBrowserDirectoryProvider::AppendingEnumerator  ,
nsISimpleEnumerator   
)

Definition at line 391 of file nsBrowserDirectoryProvider.cpp.

NS_IMPL_ISUPPORTS2 ( nsBrowserDirectoryProvider  ,
nsIDirectoryServiceProvider  ,
nsIDirectoryServiceProvider2   
)

Definition at line 98 of file nsBrowserDirectoryProvider.cpp.

Variable Documentation

const nsModuleComponentInfo components[]
static
Initial value:
= {
{
"nsBrowserDirectoryProvider",
{ 0x6deb193c, 0xf87d, 0x4078, { 0xbc, 0x78, 0x5e, 0x64, 0x65, 0x5b, 0x4d, 0x62 } } ,
nsBrowserDirectoryProviderConstructor,
}
}
static char const kContractID[]
static NS_METHOD Unregister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
NS_DECL_ISUPPORTS NS_DECL_NSIDIRECTORYSERVICEPROVIDER static NS_DECL_NSIDIRECTORYSERVICEPROVIDER2 NS_METHOD Register(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)

Definition at line 379 of file nsBrowserDirectoryProvider.cpp.

char const kContractID[] = "@mozilla.org/browser/directory-provider;1"
static

Definition at line 334 of file nsBrowserDirectoryProvider.cpp.