Fixes to the xpcom sample. This code does not go into the Mozilla product.

- Update progid mentioned in the .html file to that actually used in the code.

- Remove outdated nsSampleFactory.cpp so nobody gets confused, but add note to nsSampleModule.cpp in its memory, as it had extensive comments.


git-svn-id: svn://10.0.0.236/trunk@70576 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mccabe%netscape.com
2000-05-21 08:33:31 +00:00
parent b01980390e
commit 0477051202
3 changed files with 8 additions and 334 deletions

View File

@@ -33,7 +33,7 @@ the <a href="http://lxr.mozilla.org/seamonkey/source/xpcom/sample/nsISample.idl"
<br>
<pre>
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var sample = Components.classes["component://mozilla/sample/sample-world"].createInstance();
var sample = Components.classes["component://netscape/sample"].createInstance();
sample = sample.QueryInterface(Components.interfaces.nsISample);
</pre>