Do not reply to this email. You can add comments to this bug at https://bugzilla.mozilla.org/show_bug.cgi?id=467729
--- Comment #26 from Karl Tomlinson (:karlt) <[email protected]> 2014-11-20 00:11:17 PST --- (In reply to Frédéric Wang (:fredw) from comment #25) > IIUC nsIObserver seems quite standard (even when not all the > parameters are used). Yes, nsIObserver is good. > - The aSubject parameter could probably be null and so I can avoid passing > it to each callback functions. That was what I meant. > However, if a caller launches two PackageKit > commands using different nsIPackageKit instances, the aSubject parameter > will allow to determine from which instance the callback is coming (this > does not help if the same nsIPackageKit is used though). There is usually only one instance of each xpcom service. I assume multiple observers could be used to track the results of different calls, if necessary. -- Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email ------------------------------- Product/Component: Firefox :: General ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ fonts-bugs mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs http://fonts.fedoraproject.org/
