add progid

This commit is contained in:
ftang%netscape.com 1999-05-10 21:20:39 +00:00
parent 016cc3231c
commit 7a939d2ea9
2 changed files with 5 additions and 1 deletions

View File

@ -23,5 +23,6 @@
{ 0xe86b337b, 0xbf89, 0x11d2, \
{ 0xb3, 0xaf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70 } }
#define NS_LWBRK_PROGID "component://netscape/intl/lwbrk"
#endif

View File

@ -121,7 +121,10 @@ extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr, const char *
(nsISupports**)&compMgr);
if (NS_FAILED(rv)) return rv;
rv = compMgr->RegisterComponent(kLWBrkCID, NULL, NULL, path,
rv = compMgr->RegisterComponent(kLWBrkCID,
"Line and Word Breaker",
NS_LWBRK_PROGID,
path,
PR_TRUE, PR_TRUE);
(void)servMgr->ReleaseService(kComponentManagerCID, compMgr);