Extension Manager:Sqlite Storage:nsIAddon: Difference between revisions

 
(2 intermediate revisions by the same user not shown)
Line 174: Line 174:


=nsIAddonDownload=
=nsIAddonDownload=
''Should this really extend nsIAddon. If instead it had an nsIAddon addon attribute then that could change between the partially filled downloading item and the fully filled installed item for cases where no restart were necessary.''


<pre>
<pre>
Line 185: Line 187:
{
{
   /**
   /**
   * Before download has started, e.g. for available updates.
   * Before download has started, e.g. for available updates. Maybe
  * also for new installs awaiting confirmation, might want a
  * separate state for that though
   */
   */
   const unsigned long STATE_PENDING = 0;
   const unsigned long STATE_PENDING = 0;
Line 237: Line 241:
   */
   */
   void addInstallListener(in nsIAddonInstallListener installListener);
   void addInstallListener(in nsIAddonInstallListener installListener);
  /**
  * Removes an install listener.
  */
  void removeInstallListener(in nsIAddonInstallListener installListener);
}
}
</pre>
</pre>
canmove, Confirmed users
1,570

edits