nsIPrintSession.idl 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/. */
  5. #include "nsISupports.idl"
  6. /**
  7. * nsIPrintSession
  8. *
  9. * Stores data pertaining only to a single print job. This
  10. * differs from nsIPrintSettings, which stores data which may
  11. * be valid across a number of jobs.
  12. *
  13. * The creation of a component which implements this interface
  14. * will begin the session. Likewise, destruction of that object
  15. * will end the session.
  16. *
  17. * @status
  18. */
  19. %{ C++
  20. namespace mozilla {
  21. namespace layout {
  22. class RemotePrintJobChild;
  23. }
  24. }
  25. %}
  26. [ptr] native RemotePrintJobChildPtr(mozilla::layout::RemotePrintJobChild);
  27. [uuid(424ae4bb-10ca-4f35-b84e-eab893322df4)]
  28. interface nsIPrintSession : nsISupports
  29. {
  30. /**
  31. * The remote print job is used for printing via the parent process.
  32. */
  33. [noscript] attribute RemotePrintJobChildPtr remotePrintJob;
  34. };