2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 04:12:37 -07: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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#ifndef nsPrintOptionsWin_h__
|
|
|
|
#define nsPrintOptionsWin_h__
|
|
|
|
|
2014-10-28 08:59:08 -07:00
|
|
|
#include "mozilla/embedding/PPrinting.h"
|
2007-03-22 10:30:00 -07:00
|
|
|
#include "nsPrintOptionsImpl.h"
|
|
|
|
|
2014-10-28 08:59:08 -07:00
|
|
|
class nsIPrintSettings;
|
|
|
|
class nsIWebBrowserPrint;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
//*****************************************************************************
|
|
|
|
//*** nsPrintOptions
|
|
|
|
//*****************************************************************************
|
|
|
|
class nsPrintOptionsWin : public nsPrintOptions
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsPrintOptionsWin();
|
|
|
|
virtual ~nsPrintOptionsWin();
|
|
|
|
|
2014-10-28 08:59:08 -07:00
|
|
|
NS_IMETHODIMP SerializeToPrintData(nsIPrintSettings* aSettings,
|
|
|
|
nsIWebBrowserPrint* aWBP,
|
|
|
|
mozilla::embedding::PrintData* data);
|
|
|
|
NS_IMETHODIMP DeserializeToPrintSettings(const mozilla::embedding::PrintData& data,
|
|
|
|
nsIPrintSettings* settings);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
virtual nsresult _CreatePrintSettings(nsIPrintSettings **_retval);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* nsPrintOptions_h__ */
|