author Gervase Markham <>
Tue, 29 May 2012 17:14:26 +0100
changeset 11987 ef3ee6f165dec8a123f5d02cf02ad48fac5357a5
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
child 46015 724dd5430ef86da1b0759dad63e820200fa01004
child 46020 68041613863c2bfe9534e957f80c15449bffee3c
child 46051 330fade4b94b549426eed14f6f9b44f65b7ef858
permissions -rw-r--r--
Bug 757018 - upgrade license to MPL 2.

/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#include "nsISupports.idl"
#include "nsISupportsArray.idl"

interface nsIMsgSearchTerm;

[scriptable, uuid(28AC84DF-CBE5-430d-A5C0-4FA63B5424DF)]
interface nsIMsgMailView : nsISupports {
    attribute wstring mailViewName;
	readonly attribute wstring prettyName; // localized pretty name

    // the array of search terms 
    attribute nsISupportsArray searchTerms;

    // these two helper methods are required to allow searchTermsOverlay.js to
    // manipulate a mail view without knowing it is dealing with a mail view. nsIMsgFilter
    // and nsIMsgSearchSession have the same two methods....we should probably make an interface around them.
	void appendTerm(in nsIMsgSearchTerm term);
	nsIMsgSearchTerm createTerm();