mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
add progid
This commit is contained in:
parent
016cc3231c
commit
7a939d2ea9
@ -23,5 +23,6 @@
|
||||
{ 0xe86b337b, 0xbf89, 0x11d2, \
|
||||
{ 0xb3, 0xaf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70 } }
|
||||
|
||||
#define NS_LWBRK_PROGID "component://netscape/intl/lwbrk"
|
||||
|
||||
#endif
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user