gecko/widget/qt/nsPrintDialogQt.h
2014-07-20 12:55:00 -04:00

33 lines
894 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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/. */
#ifndef nsPrintDialogQt_h__
#define nsPrintDialogQt_h__
#include "nsIPrintDialogService.h"
class nsIPrintSettings;
class nsPrintDialogServiceQt : public nsIPrintDialogService
{
public:
nsPrintDialogServiceQt();
NS_DECL_ISUPPORTS
NS_IMETHODIMP Init();
NS_IMETHODIMP Show(nsIDOMWindow* aParent,
nsIPrintSettings* aSettings,
nsIWebBrowserPrint* aWebBrowserPrint);
NS_IMETHODIMP ShowPageSetup(nsIDOMWindow* aParent,
nsIPrintSettings* aSettings);
protected:
virtual ~nsPrintDialogServiceQt();
};
#endif