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"
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.
25 class RemotePrintJobChild
;
30 [ptr] native RemotePrintJobChildPtr
(mozilla
::layout
::RemotePrintJobChild
);
32 [uuid(424ae4bb
-10ca
-4f35
-b84e
-eab893322df4
)]
34 interface nsIPrintSession
: nsISupports
37 * The remote print job is used for printing via the parent process.
39 [noscript
] attribute RemotePrintJobChildPtr remotePrintJob
;