2006-02-07 04:12:54 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2006-02-07 04:12:54 +03:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* nsIPrintSession
|
|
|
|
*
|
|
|
|
* Stores data pertaining only to a single print job. This
|
|
|
|
* differs from nsIPrintSettings, which stores data which may
|
|
|
|
* be valid across a number of jobs.
|
|
|
|
*
|
|
|
|
* The creation of a component which implements this interface
|
|
|
|
* will begin the session. Likewise, destruction of that object
|
|
|
|
* will end the session.
|
|
|
|
*
|
|
|
|
* @status
|
|
|
|
*/
|
|
|
|
|
2016-01-05 13:08:57 +03:00
|
|
|
%{ C++
|
|
|
|
namespace mozilla {
|
|
|
|
namespace layout {
|
|
|
|
class RemotePrintJobChild;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%}
|
|
|
|
|
|
|
|
[ptr] native RemotePrintJobChildPtr(mozilla::layout::RemotePrintJobChild);
|
|
|
|
|
|
|
|
[uuid(424ae4bb-10ca-4f35-b84e-eab893322df4)]
|
2006-02-07 04:12:54 +03:00
|
|
|
|
|
|
|
interface nsIPrintSession : nsISupports
|
|
|
|
{
|
2016-01-05 13:08:57 +03:00
|
|
|
/**
|
|
|
|
* The remote print job is used for printing via the parent process.
|
|
|
|
*/
|
2018-11-20 04:17:54 +03:00
|
|
|
[notxpcom, nostdcall] attribute RemotePrintJobChildPtr remotePrintJob;
|
2006-02-07 04:12:54 +03:00
|
|
|
};
|