/src/mozilla-central/widget/gtk/nsPrintSettingsServiceGTK.h
Line | Count | Source (jump to first uncovered line) |
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 | | #ifndef nsPrintSettingsServiceGTK_h |
8 | | #define nsPrintSettingsServiceGTK_h |
9 | | |
10 | | #include "nsPrintSettingsService.h" |
11 | | |
12 | | namespace mozilla { |
13 | | namespace embedding { |
14 | | class PrintData; |
15 | | } // namespace embedding |
16 | | } // namespace mozilla |
17 | | |
18 | | class nsPrintSettingsServiceGTK final : public nsPrintSettingsService |
19 | | { |
20 | | public: |
21 | 0 | nsPrintSettingsServiceGTK() {} |
22 | | |
23 | | NS_IMETHODIMP SerializeToPrintData(nsIPrintSettings* aSettings, |
24 | | nsIWebBrowserPrint* aWBP, |
25 | | mozilla::embedding::PrintData* data) override; |
26 | | |
27 | | NS_IMETHODIMP DeserializeToPrintSettings(const mozilla::embedding::PrintData& data, |
28 | | nsIPrintSettings* settings) override; |
29 | | |
30 | | virtual nsresult _CreatePrintSettings(nsIPrintSettings** _retval) override; |
31 | | }; |
32 | | |
33 | | #endif // nsPrintSettingsServiceGTK_h |