Bug 1447216 [wpt PR 10104] - Worker: Support ES Modules on DedicatedWorker behind...
[gecko.git] / widget / nsIPrintSession.idl
blobca7541371c7304614c633e6134336209102f0e0f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/. */
6 #include "nsISupports.idl"
8 /**
9 * nsIPrintSession
11 * Stores data pertaining only to a single print job. This
12 * differs from nsIPrintSettings, which stores data which may
13 * be valid across a number of jobs.
15 * The creation of a component which implements this interface
16 * will begin the session. Likewise, destruction of that object
17 * will end the session.
19 * @status
22 %{ C++
23 namespace mozilla {
24 namespace layout {
25 class RemotePrintJobChild;
30 [ptr] native RemotePrintJobChildPtr(mozilla::layout::RemotePrintJobChild);
32 [uuid(424ae4bb-10ca-4f35-b84e-eab893322df4)]
34 interface nsIPrintSession : nsISupports
36 /**
37 * The remote print job is used for printing via the parent process.
39 [noscript] attribute RemotePrintJobChildPtr remotePrintJob;