|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #ifndef nsPrintOptionsX_h_ |
|
7 #define nsPrintOptionsX_h_ |
|
8 |
|
9 #include "nsPrintOptionsImpl.h" |
|
10 |
|
11 class nsPrintOptionsX : public nsPrintOptions |
|
12 { |
|
13 public: |
|
14 nsPrintOptionsX(); |
|
15 virtual ~nsPrintOptionsX(); |
|
16 protected: |
|
17 nsresult _CreatePrintSettings(nsIPrintSettings **_retval); |
|
18 nsresult ReadPrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName, uint32_t aFlags); |
|
19 nsresult WritePrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName, uint32_t aFlags); |
|
20 }; |
|
21 |
|
22 #endif // nsPrintOptionsX_h_ |