/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * 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/. */
/** * Class nsPrintSettingsService. Base class for the platform specific widget * subclasses to inherit from.
*/ class nsPrintSettingsService : public nsIPrintSettingsService { public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPRINTSETTINGSSERVICE
nsPrintSettingsService() = default;
/** * method Init * Initializes member variables. Every consumer that does manual * creation (instead of do_CreateInstance) needs to call this method * immediately after instantiation.
*/ virtual nsresult Init();
private: // Copying is not supported.
nsPrintSettingsService(const nsPrintSettingsService& x) = delete;
nsPrintSettingsService& operator=(const nsPrintSettingsService& x) = delete;
/** * method ReadPrefs * @param aPS a pointer to the printer settings * @param aPrinterName the name of the printer for which to read prefs * @param aFlags flag specifying which prefs to read
*/ virtual nsresult ReadPrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName, uint32_t aFlags); /** * method WritePrefs * @param aPS a pointer to the printer settings * @param aPrinterName the name of the printer for which to write prefs * @param aFlags flag specifying which prefs to read
*/ virtual nsresult WritePrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName, uint32_t aFlags);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.