1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
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 #ifndef nsPrintSettingsServiceX_h
7 #define nsPrintSettingsServiceX_h
9 #include "nsPrintSettingsService.h"
14 } // namespace embedding
15 } // namespace mozilla
17 class nsPrintSettingsServiceX final
: public nsPrintSettingsService
{
19 nsPrintSettingsServiceX() {}
21 NS_IMETHODIMP
SerializeToPrintData(
22 nsIPrintSettings
* aSettings
,
23 mozilla::embedding::PrintData
* data
) override
;
25 NS_IMETHODIMP
DeserializeToPrintSettings(
26 const mozilla::embedding::PrintData
& data
,
27 nsIPrintSettings
* settings
) override
;
30 nsresult
_CreatePrintSettings(nsIPrintSettings
** _retval
) override
;
33 #endif // nsPrintSettingsServiceX_h