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
|
|
|
|
|
|
|
#ifndef nsPrintOptionsWin_h__
|
|
|
|
#define nsPrintOptionsWin_h__
|
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
#include "mozilla/embedding/PPrinting.h"
|
2006-02-07 04:12:08 +03:00
|
|
|
#include "nsPrintOptionsImpl.h"
|
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
class nsIPrintSettings;
|
|
|
|
class nsIWebBrowserPrint;
|
2006-02-07 04:12:08 +03:00
|
|
|
|
|
|
|
//*****************************************************************************
|
|
|
|
//*** nsPrintOptions
|
|
|
|
//*****************************************************************************
|
|
|
|
class nsPrintOptionsWin : public nsPrintOptions
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsPrintOptionsWin();
|
|
|
|
virtual ~nsPrintOptionsWin();
|
|
|
|
|
2014-10-28 18:59:08 +03:00
|
|
|
NS_IMETHODIMP SerializeToPrintData(nsIPrintSettings* aSettings,
|
|
|
|
nsIWebBrowserPrint* aWBP,
|
|
|
|
mozilla::embedding::PrintData* data);
|
|
|
|
NS_IMETHODIMP DeserializeToPrintSettings(const mozilla::embedding::PrintData& data,
|
|
|
|
nsIPrintSettings* settings);
|
|
|
|
|
2006-02-07 04:14:23 +03:00
|
|
|
virtual nsresult _CreatePrintSettings(nsIPrintSettings **_retval);
|
2006-02-07 04:12:08 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* nsPrintOptions_h__ */
|