michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsPrintOptionsX_h_ michael@0: #define nsPrintOptionsX_h_ michael@0: michael@0: #include "nsPrintOptionsImpl.h" michael@0: michael@0: class nsPrintOptionsX : public nsPrintOptions michael@0: { michael@0: public: michael@0: nsPrintOptionsX(); michael@0: virtual ~nsPrintOptionsX(); michael@0: protected: michael@0: nsresult _CreatePrintSettings(nsIPrintSettings **_retval); michael@0: nsresult ReadPrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName, uint32_t aFlags); michael@0: nsresult WritePrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName, uint32_t aFlags); michael@0: }; michael@0: michael@0: #endif // nsPrintOptionsX_h_