Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22182 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -203,7 +203,7 @@ int main(int argc, char* argv [])
|
||||
else _getcwd(buffer,_MAX_PATH);
|
||||
|
||||
static NS_DEFINE_IID(kCParserCID, NS_PARSER_IID);
|
||||
nsRepository::RegisterFactory(kCParserCID, PARSER_DLL, PR_FALSE, PR_FALSE);
|
||||
nsRepository::RegisterComponent(kCParserCID, NULL, NULL, PARSER_DLL, PR_FALSE, PR_FALSE);
|
||||
|
||||
walkDirectoryTree(buffer);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user