aries84as wrote:
> What is the difference between
> 
> var bookmarksService = Components.classes["@mozilla.org/browser/nav-
> bookmarks-service;
> 1"].getService(Components.interfaces.nsINavBookmarksService);
> 
> and
> 
> var bmks =
> Components.classes["@mozilla.org/browser/bookmarks-service;
> 1"].getService(Components.interfaces.nsIBookmarksService);

The former retrieves the bookmarks service in Places 
<http://wiki.mozilla.org/Places>, which is the bookmarks rewrite going 
into Firefox 3.  The latter retrieves the bookmarks service in Firefox 2 
and earlier versions.

-myk
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to