diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-03 00:17:46 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-03 00:17:46 -0400 |
commit | 302bf1b523012e11b60425d6eee1221ebc2724eb (patch) | |
tree | b191a895f8716efcbe42f454f37597a545a6f421 /mailnews/base/public/nsIMsgPrintEngine.idl | |
parent | 21b3f6247403c06f85e1f45d219f87549862198f (diff) | |
download | UXP-302bf1b523012e11b60425d6eee1221ebc2724eb.tar UXP-302bf1b523012e11b60425d6eee1221ebc2724eb.tar.gz UXP-302bf1b523012e11b60425d6eee1221ebc2724eb.tar.lz UXP-302bf1b523012e11b60425d6eee1221ebc2724eb.tar.xz UXP-302bf1b523012e11b60425d6eee1221ebc2724eb.zip |
Issue #1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1
Diffstat (limited to 'mailnews/base/public/nsIMsgPrintEngine.idl')
-rw-r--r-- | mailnews/base/public/nsIMsgPrintEngine.idl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mailnews/base/public/nsIMsgPrintEngine.idl b/mailnews/base/public/nsIMsgPrintEngine.idl new file mode 100644 index 000000000..725471eed --- /dev/null +++ b/mailnews/base/public/nsIMsgPrintEngine.idl @@ -0,0 +1,40 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* 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 "nsrootidl.idl" +#include "nsIMsgStatusFeedback.idl" + +interface mozIDOMWindowProxy; +interface nsIPrintSettings; +interface nsIObserver; + +[scriptable, uuid(9bdd0812-dd48-4f04-87a9-74dcfc3abadc)] +interface nsIMsgPrintEngine : nsISupports { + /** + * Print/PrintPreview Msg Type + */ + const short MNAB_START = 0; + const short MNAB_PRINT_MSG = 0; + const short MNAB_PRINTPREVIEW_MSG = 1; + const short MNAB_PRINT_AB_CARD = 2; + const short MNAB_PRINTPREVIEW_AB_CARD = 3; + const short MNAB_PRINT_ADDRBOOK = 4; + const short MNAB_PRINTPREVIEW_ADDRBOOK = 5; + const short MNAB_END = 6; + + void setWindow(in mozIDOMWindowProxy ptr); + void setParentWindow(in mozIDOMWindowProxy ptr); + void showWindow(in boolean aShow); + void setStatusFeedback(in nsIMsgStatusFeedback feedback); + void setPrintURICount(in int32_t aCount); + void addPrintURI(in wstring aURI); + void startPrintOperation(in nsIPrintSettings aPS); + void setStartupPPObserver(in nsIObserver startupPPObs); + void setMsgType(in long aMsgType); + + attribute boolean doPrintPreview; + +}; + |