2006-02-07 04:12:55 +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:55 +03:00
|
|
|
|
|
|
|
#ifndef nsPrintOptionsGTK_h__
|
|
|
|
#define nsPrintOptionsGTK_h__
|
|
|
|
|
|
|
|
#include "nsPrintOptionsImpl.h"
|
|
|
|
|
2015-01-31 04:54:43 +03:00
|
|
|
namespace mozilla
|
|
|
|
{
|
|
|
|
namespace embedding
|
|
|
|
{
|
2015-03-09 20:52:18 +03:00
|
|
|
class PrintData;
|
2015-01-31 04:54:43 +03:00
|
|
|
} // namespace embedding
|
|
|
|
} // namespace mozilla
|
2006-02-07 04:12:55 +03:00
|
|
|
|
|
|
|
//*****************************************************************************
|
|
|
|
//*** nsPrintOptions
|
|
|
|
//*****************************************************************************
|
|
|
|
class nsPrintOptionsGTK : public nsPrintOptions
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsPrintOptionsGTK();
|
|
|
|
virtual ~nsPrintOptionsGTK();
|
|
|
|
|
2015-01-31 04:54:43 +03:00
|
|
|
NS_IMETHODIMP SerializeToPrintData(nsIPrintSettings* aSettings,
|
|
|
|
nsIWebBrowserPrint* aWBP,
|
|
|
|
mozilla::embedding::PrintData* data);
|
|
|
|
NS_IMETHODIMP DeserializeToPrintSettings(const mozilla::embedding::PrintData& data,
|
|
|
|
nsIPrintSettings* settings);
|
|
|
|
|
2008-01-21 06:47:25 +03:00
|
|
|
virtual nsresult _CreatePrintSettings(nsIPrintSettings **_retval);
|
2006-02-07 04:12:55 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* nsPrintOptions_h__ */
|