2006-02-07 04:12:08 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 15:12:37 +04:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2006-02-07 04:12:08 +03:00
|
|
|
|
2017-12-19 13:42:15 +03:00
|
|
|
#ifndef nsPrintSettingsServiceWin_h
|
|
|
|
#define nsPrintSettingsServiceWin_h
|
2006-02-07 04:12:08 +03:00
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
#include "mozilla/embedding/PPrinting.h"
|
2017-12-19 13:06:39 +03:00
|
|
|
#include "nsPrintSettingsService.h"
|
2006-02-07 04:12:08 +03:00
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
class nsIPrintSettings;
|
2006-02-07 04:12:08 +03:00
|
|
|
|
2017-12-19 13:42:15 +03:00
|
|
|
class nsPrintSettingsServiceWin final : public nsPrintSettingsService {
|
2006-02-07 04:12:08 +03:00
|
|
|
public:
|
2017-12-19 13:42:15 +03:00
|
|
|
nsPrintSettingsServiceWin() {}
|
2006-02-07 04:12:08 +03:00
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
NS_IMETHODIMP SerializeToPrintData(
|
2019-12-09 12:04:29 +03:00
|
|
|
nsIPrintSettings* aSettings,
|
2017-12-19 14:05:37 +03:00
|
|
|
mozilla::embedding::PrintData* data) override;
|
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
NS_IMETHODIMP DeserializeToPrintSettings(
|
|
|
|
const mozilla::embedding::PrintData& data,
|
2017-12-19 14:05:37 +03:00
|
|
|
nsIPrintSettings* settings) override;
|
2014-10-28 18:59:08 +03:00
|
|
|
|
2017-12-19 14:05:37 +03:00
|
|
|
nsresult _CreatePrintSettings(nsIPrintSettings** _retval) override;
|
2006-02-07 04:12:08 +03:00
|
|
|
};
|
|
|
|
|
2017-12-19 13:42:15 +03:00
|
|
|
#endif // nsPrintSettingsServiceWin_h
|