mailnews/extensions/mailviews/public/nsIMsgMailView.idl
author Frank-Rainer Grahl <frgrahl@gmx.net>
Tue, 02 Feb 2016 08:08:00 +0100
changeset 24328 8262aa13936c778e5b5b919523b0d19ec75bc303
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 26775 330fade4b94b549426eed14f6f9b44f65b7ef858
permissions -rw-r--r--
Bug 1240284 - Remove ordinals and description statements from def files. r=glandium Silence linker warnings LNK4222 and LNK4017. Also includes some whitespace fixes.

/* -*- 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 http://mozilla.org/MPL/2.0/. */


#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();

};