|
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/. */ |
|
6 |
|
7 #include "nsPrintSettingsQt.h" |
|
8 #include "nsPrintDialogQt.h" |
|
9 |
|
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. |
|
13 |
|
14 NS_IMPL_ISUPPORTS(nsPrintDialogServiceQt, nsIPrintDialogService) |
|
15 |
|
16 nsPrintDialogServiceQt::nsPrintDialogServiceQt() |
|
17 { |
|
18 } |
|
19 |
|
20 nsPrintDialogServiceQt::~nsPrintDialogServiceQt() |
|
21 { |
|
22 } |
|
23 |
|
24 NS_IMETHODIMP |
|
25 nsPrintDialogServiceQt::Init() |
|
26 { |
|
27 return NS_ERROR_NOT_IMPLEMENTED; |
|
28 } |
|
29 |
|
30 NS_IMETHODIMP |
|
31 nsPrintDialogServiceQt::Show(nsIDOMWindow* aParent, |
|
32 nsIPrintSettings* aSettings, |
|
33 nsIWebBrowserPrint* aWebBrowserPrint) |
|
34 { |
|
35 return NS_ERROR_NOT_IMPLEMENTED; |
|
36 } |
|
37 |
|
38 NS_IMETHODIMP |
|
39 nsPrintDialogServiceQt::ShowPageSetup(nsIDOMWindow* aParent, |
|
40 nsIPrintSettings* aNSSettings) |
|
41 { |
|
42 return NS_ERROR_NOT_IMPLEMENTED; |
|
43 } |