Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / widget / nsIPrintSettingsWin.idl
blob363db466c52cb6b5e3170949b1f214c46c6dd6ab
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"
12 /**
13 * Native types
15 [ptr] native nsDevMode(DEVMODEW);
17 /**
18 * Simplified PrintSettings for Windows interface
20 [scriptable, uuid(f13b225d-473e-4372-b11f-b6dff9fe0c5b)]
22 interface nsIPrintSettingsWin : nsISupports
24 /**
25 * Data Members
27 * Each of these data members make a copy
28 * of the contents. If you get the value,
29 * you own the memory.
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.
37 [noscript] attribute wstring deviceName;
38 [noscript] attribute wstring driverName;
40 [noscript] attribute nsDevMode devMode;