Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
[gecko.git] / widget / windows / nsPrintSettingsWin.h
blob7f5d561b18533cfe20a86c9559322598e8f7f4ce
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsPrintSettingsWin_h__
8 #define nsPrintSettingsWin_h__
10 #include "nsPrintSettingsImpl.h"
11 #include "nsIPrintSettingsWin.h"
12 #include <windows.h>
15 //*****************************************************************************
16 //*** nsPrintSettingsWin
17 //*****************************************************************************
18 class nsPrintSettingsWin : public nsPrintSettings,
19 public nsIPrintSettingsWin
21 virtual ~nsPrintSettingsWin();
23 public:
24 NS_DECL_ISUPPORTS_INHERITED
25 NS_DECL_NSIPRINTSETTINGSWIN
27 nsPrintSettingsWin();
28 nsPrintSettingsWin(const nsPrintSettingsWin& aPS);
30 /**
31 * Makes a new copy
33 virtual nsresult _Clone(nsIPrintSettings **_retval);
35 /**
36 * Assigns values
38 virtual nsresult _Assign(nsIPrintSettings* aPS);
40 /**
41 * Assignment
43 nsPrintSettingsWin& operator=(const nsPrintSettingsWin& rhs);
45 protected:
46 void CopyDevMode(DEVMODEW* aInDevMode, DEVMODEW *& aOutDevMode);
48 wchar_t* mDeviceName;
49 wchar_t* mDriverName;
50 LPDEVMODEW mDevMode;
55 #endif /* nsPrintSettingsWin_h__ */