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 *
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/. */
7 #include "nsPrintSettingsQt.h"
8 #include "nsPrintDialogQt.h"
10 // For Qt, we only support printing to PDF, and that doesn't need a
11 // print dialog at this point. So, this class's methods are left
12 // un-implemented for now.
14 NS_IMPL_ISUPPORTS(nsPrintDialogServiceQt, nsIPrintDialogService)
16 nsPrintDialogServiceQt::nsPrintDialogServiceQt()
17 {
18 }
20 nsPrintDialogServiceQt::~nsPrintDialogServiceQt()
21 {
22 }
24 NS_IMETHODIMP
25 nsPrintDialogServiceQt::Init()
26 {
27 return NS_ERROR_NOT_IMPLEMENTED;
28 }
30 NS_IMETHODIMP
31 nsPrintDialogServiceQt::Show(nsIDOMWindow* aParent,
32 nsIPrintSettings* aSettings,
33 nsIWebBrowserPrint* aWebBrowserPrint)
34 {
35 return NS_ERROR_NOT_IMPLEMENTED;
36 }
38 NS_IMETHODIMP
39 nsPrintDialogServiceQt::ShowPageSetup(nsIDOMWindow* aParent,
40 nsIPrintSettings* aNSSettings)
41 {
42 return NS_ERROR_NOT_IMPLEMENTED;
43 }