Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 %{ C++
9 #include "windows.h"
10 %}
12 /**
13 * Native types
14 */
15 [ptr] native nsDevMode(DEVMODEW);
17 /**
18 * Simplified PrintSettings for Windows interface
19 */
20 [scriptable, uuid(f13b225d-473e-4372-b11f-b6dff9fe0c5b)]
22 interface nsIPrintSettingsWin : nsISupports
23 {
24 /**
25 * Data Members
26 *
27 * Each of these data members make a copy
28 * of the contents. If you get the value,
29 * you own the memory.
30 *
31 * The following three pieces of data are needed
32 * to create a DC for printing. These are typcially
33 * gotten via the PrintDLG call ro can be obtained
34 * via the "m_pd" data member of the CPrintDialog
35 * in MFC.
36 */
37 [noscript] attribute wstring deviceName;
38 [noscript] attribute wstring driverName;
40 [noscript] attribute nsDevMode devMode;
42 };