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: #include "nsPrintOptionsGTK.h" michael@0: #include "nsPrintSettingsGTK.h" michael@0: michael@0: michael@0: /** --------------------------------------------------- michael@0: * See documentation in nsPrintOptionsWin.h michael@0: * @update 6/21/00 dwc michael@0: */ michael@0: nsPrintOptionsGTK::nsPrintOptionsGTK() michael@0: { michael@0: michael@0: } michael@0: michael@0: /** --------------------------------------------------- michael@0: * See documentation in nsPrintOptionsImpl.h michael@0: * @update 6/21/00 dwc michael@0: */ michael@0: nsPrintOptionsGTK::~nsPrintOptionsGTK() michael@0: { michael@0: } michael@0: michael@0: /* nsIPrintSettings CreatePrintSettings (); */ michael@0: nsresult nsPrintOptionsGTK::_CreatePrintSettings(nsIPrintSettings **_retval) michael@0: { michael@0: *_retval = nullptr; michael@0: nsPrintSettingsGTK* printSettings = new nsPrintSettingsGTK(); // does not initially ref count michael@0: NS_ENSURE_TRUE(printSettings, NS_ERROR_OUT_OF_MEMORY); michael@0: michael@0: NS_ADDREF(*_retval = printSettings); // ref count michael@0: michael@0: return NS_OK; michael@0: } michael@0: michael@0: