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 nsPrintSettingsServiceWin_h
8 #define nsPrintSettingsServiceWin_h
9 
10 #include "mozilla/embedding/PPrinting.h"
11 #include "nsPrintSettingsService.h"
12 
13 class nsIPrintSettings;
14 class nsIWebBrowserPrint;
15 
16 class nsPrintSettingsServiceWin final : public nsPrintSettingsService {
17  public:
nsPrintSettingsServiceWin()18   nsPrintSettingsServiceWin() {}
19 
20   NS_IMETHODIMP SerializeToPrintData(
21       nsIPrintSettings* aSettings, nsIWebBrowserPrint* aWBP,
22       mozilla::embedding::PrintData* data) override;
23 
24   NS_IMETHODIMP DeserializeToPrintSettings(
25       const mozilla::embedding::PrintData& data,
26       nsIPrintSettings* settings) override;
27 
28   nsresult _CreatePrintSettings(nsIPrintSettings** _retval) override;
29 };
30 
31 #endif  // nsPrintSettingsServiceWin_h
32