|
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
|
2 * |
|
3 * This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #include "nsISupports.idl" |
|
8 |
|
9 interface nsIDOMWindow; |
|
10 interface nsIPrintSettings; |
|
11 interface nsIWebProgressListener; |
|
12 |
|
13 %{ C++ |
|
14 #include <stdio.h> |
|
15 %} |
|
16 |
|
17 [ptr] native FILE(FILE); |
|
18 |
|
19 /** |
|
20 * The nsIDocShellFile |
|
21 */ |
|
22 |
|
23 [scriptable, uuid(564a3276-6228-401e-9b5c-d82cb382a60f)] |
|
24 interface nsIContentViewerFile : nsISupports |
|
25 { |
|
26 readonly attribute boolean printable; |
|
27 |
|
28 [noscript] void print(in boolean aSilent, |
|
29 in FILE aDebugFile, |
|
30 in nsIPrintSettings aPrintSettings); |
|
31 }; |