summaryrefslogtreecommitdiff
path: root/mailnews/base/public/nsIMessengerWindowService.idl
blob: 78d1e3a4465fdd3d662b9f37ed4feb4ed1398953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* -*- 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 "MailNewsTypes2.idl"

[scriptable, uuid(113a1a5a-1dd2-11b2-b1b7-a85ccc06c8ce)]
interface nsIMessengerWindowService : nsISupports {
    /* aWindowType --> the type of window you want to create. i.e. "mail:3pane"
       aFolderURI --> the folder resource you want pre-selected (if any)
     aMsgKey --> a particular message you may want selected in that folder (if any)
  */ 
  void openMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
};