gecko-dev/widget/nsIPrinter.idl
Erik Nordin e0a331533f Bug 1650886 - Part 1 nsIPaper Base Implementation r=jwatt
- Add `nsIPaper` interface.
- Add `nsIPaper` implementaiton.

Differential Revision: https://phabricator.services.mozilla.com/D82461
2020-07-13 19:59:26 +00:00

22 lines
613 B
Plaintext

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */
#include "nsIPaper.idl"
#include "nsISupports.idl"
[scriptable, uuid(d2dde9bb-df86-469c-bfcc-fd95a44b1db8)]
interface nsIPrinter : nsISupports
{
/**
* The name of the printer.
*/
readonly attribute AString name;
/**
* The list of available paper sizes.
*/
readonly attribute Array<nsIPaper> paperList;
};