2006-02-07 01:12:55 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 11:12:37 +00: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 01:12:55 +00:00
|
|
|
|
2017-12-19 10:42:15 +00:00
|
|
|
#ifndef nsPrintSettingsServiceGTK_h
|
|
|
|
#define nsPrintSettingsServiceGTK_h
|
2006-02-07 01:12:55 +00:00
|
|
|
|
2017-12-19 10:06:39 +00:00
|
|
|
#include "nsPrintSettingsService.h"
|
2006-02-07 01:12:55 +00:00
|
|
|
|
2017-12-19 11:05:37 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace embedding {
|
|
|
|
class PrintData;
|
2015-01-31 01:54:43 +00:00
|
|
|
} // namespace embedding
|
|
|
|
} // namespace mozilla
|
2006-02-07 01:12:55 +00:00
|
|
|
|
2017-12-19 10:42:15 +00:00
|
|
|
class nsPrintSettingsServiceGTK final : public nsPrintSettingsService {
|
2006-02-07 01:12:55 +00:00
|
|
|
public:
|
2017-12-19 10:42:15 +00:00
|
|
|
nsPrintSettingsServiceGTK() {}
|
2006-02-07 01:12:55 +00:00
|
|
|
|
2015-01-31 01:54:43 +00:00
|
|
|
NS_IMETHODIMP SerializeToPrintData(
|
|
|
|
nsIPrintSettings* aSettings, nsIWebBrowserPrint* aWBP,
|
2017-12-19 11:05:37 +00:00
|
|
|
mozilla::embedding::PrintData* data) override;
|
|
|
|
|
2015-01-31 01:54:43 +00:00
|
|
|
NS_IMETHODIMP DeserializeToPrintSettings(
|
|
|
|
const mozilla::embedding::PrintData& data,
|
2017-12-19 11:05:37 +00:00
|
|
|
nsIPrintSettings* settings) override;
|
2015-01-31 01:54:43 +00:00
|
|
|
|
2017-12-19 11:05:37 +00:00
|
|
|
virtual nsresult _CreatePrintSettings(nsIPrintSettings** _retval) override;
|
2006-02-07 01:12:55 +00:00
|
|
|
};
|
|
|
|
|
2017-12-19 10:42:15 +00:00
|
|
|
#endif // nsPrintSettingsServiceGTK_h
|