mozilla

nsIMsgSearchNotify

Defined in comm-central/ mailnews/ base/ search/ public/ nsIMsgSearchNotify.idl

[scriptable, uuid(ca37784d-352b-4c39-8ccb-0abc1a93f681)]
interface nsIMsgSearchNotify : nsISupports
{
  void onSearchHit(in nsIMsgDBHdr header, in nsIMsgFolder folder);

  // notification that a search has finished.
  void onSearchDone(in nsresult status);
  /*
   * until we can encode searches with a URI, this will be an
   * out-of-bound way to connect a set of search terms to a datasource
   */

  /*
   * called when a new search begins
   */
  void onNewSearch();
};

Document Tags and Contributors

Contributors to this page: Sheppy, AxelGrude
Last updated by: Sheppy,