1. Uses appfilelocationprovider. Can pass one in or pass nsnull and default is made.

2. Removed version of NS_InitEmbedding which took char* path.
r=dougt


git-svn-id: svn://10.0.0.236/trunk@76122 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
conrad%ingress.com
2000-08-11 20:09:05 +00:00
parent 4c56115614
commit a46cb958bf

View File

@@ -26,9 +26,18 @@
#define NSEMBEDAPI_H
#include "nsILocalFile.h"
#include "nsIDirectoryService.h"
extern nsresult NS_InitEmbedding(const char *aPath);
extern nsresult NS_InitEmbedding(nsILocalFile *aPath);
/*
aPath -> the mozilla bin directory. If nsnull, the default is used
aProvider -> the application directory service provider. If nsnull, the
default (nsAppFileLocationProvider) is constructed and used.
If not nsnull, the arg must be AddRef'd already and ownership
is taken by this function.
*/
extern nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
nsIDirectoryServiceProvider *appFileLocProvider);
extern nsresult NS_TermEmbedding();
#endif