LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIPrintSession.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIPrintSession.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIPrintSession_h__
       6             : #define __gen_nsIPrintSession_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : namespace mozilla {
      18             : namespace layout {
      19             : class RemotePrintJobChild;
      20             : }
      21             : }
      22             : 
      23             : /* starting interface:    nsIPrintSession */
      24             : #define NS_IPRINTSESSION_IID_STR "424ae4bb-10ca-4f35-b84e-eab893322df4"
      25             : 
      26             : #define NS_IPRINTSESSION_IID \
      27             :   {0x424ae4bb, 0x10ca, 0x4f35, \
      28             :     { 0xb8, 0x4e, 0xea, 0xb8, 0x93, 0x32, 0x2d, 0xf4 }}
      29             : 
      30           0 : class NS_NO_VTABLE nsIPrintSession : public nsISupports {
      31             :  public:
      32             : 
      33             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRINTSESSION_IID)
      34             : 
      35             :   /* [noscript] attribute RemotePrintJobChildPtr remotePrintJob; */
      36             :   NS_IMETHOD GetRemotePrintJob(mozilla::layout::RemotePrintJobChild **aRemotePrintJob) = 0;
      37             :   NS_IMETHOD SetRemotePrintJob(mozilla::layout::RemotePrintJobChild *aRemotePrintJob) = 0;
      38             : 
      39             : };
      40             : 
      41             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrintSession, NS_IPRINTSESSION_IID)
      42             : 
      43             : /* Use this macro when declaring classes that implement this interface. */
      44             : #define NS_DECL_NSIPRINTSESSION \
      45             :   NS_IMETHOD GetRemotePrintJob(mozilla::layout::RemotePrintJobChild **aRemotePrintJob) override; \
      46             :   NS_IMETHOD SetRemotePrintJob(mozilla::layout::RemotePrintJobChild *aRemotePrintJob) override; 
      47             : 
      48             : /* Use this macro when declaring the members of this interface when the
      49             :    class doesn't implement the interface. This is useful for forwarding. */
      50             : #define NS_DECL_NON_VIRTUAL_NSIPRINTSESSION \
      51             :   nsresult GetRemotePrintJob(mozilla::layout::RemotePrintJobChild **aRemotePrintJob); \
      52             :   nsresult SetRemotePrintJob(mozilla::layout::RemotePrintJobChild *aRemotePrintJob); 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55             : #define NS_FORWARD_NSIPRINTSESSION(_to) \
      56             :   NS_IMETHOD GetRemotePrintJob(mozilla::layout::RemotePrintJobChild **aRemotePrintJob) override { return _to GetRemotePrintJob(aRemotePrintJob); } \
      57             :   NS_IMETHOD SetRemotePrintJob(mozilla::layout::RemotePrintJobChild *aRemotePrintJob) override { return _to SetRemotePrintJob(aRemotePrintJob); } 
      58             : 
      59             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      60             : #define NS_FORWARD_SAFE_NSIPRINTSESSION(_to) \
      61             :   NS_IMETHOD GetRemotePrintJob(mozilla::layout::RemotePrintJobChild **aRemotePrintJob) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRemotePrintJob(aRemotePrintJob); } \
      62             :   NS_IMETHOD SetRemotePrintJob(mozilla::layout::RemotePrintJobChild *aRemotePrintJob) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRemotePrintJob(aRemotePrintJob); } 
      63             : 
      64             : #if 0
      65             : /* Use the code below as a template for the implementation class for this interface. */
      66             : 
      67             : /* Header file */
      68             : class nsPrintSession : public nsIPrintSession
      69             : {
      70             : public:
      71             :   NS_DECL_ISUPPORTS
      72             :   NS_DECL_NSIPRINTSESSION
      73             : 
      74             :   nsPrintSession();
      75             : 
      76             : private:
      77             :   ~nsPrintSession();
      78             : 
      79             : protected:
      80             :   /* additional members */
      81             : };
      82             : 
      83             : /* Implementation file */
      84             : NS_IMPL_ISUPPORTS(nsPrintSession, nsIPrintSession)
      85             : 
      86             : nsPrintSession::nsPrintSession()
      87             : {
      88             :   /* member initializers and constructor code */
      89             : }
      90             : 
      91             : nsPrintSession::~nsPrintSession()
      92             : {
      93             :   /* destructor code */
      94             : }
      95             : 
      96             : /* [noscript] attribute RemotePrintJobChildPtr remotePrintJob; */
      97             : NS_IMETHODIMP nsPrintSession::GetRemotePrintJob(mozilla::layout::RemotePrintJobChild **aRemotePrintJob)
      98             : {
      99             :     return NS_ERROR_NOT_IMPLEMENTED;
     100             : }
     101             : NS_IMETHODIMP nsPrintSession::SetRemotePrintJob(mozilla::layout::RemotePrintJobChild *aRemotePrintJob)
     102             : {
     103             :     return NS_ERROR_NOT_IMPLEMENTED;
     104             : }
     105             : 
     106             : /* End of implementation class template. */
     107             : #endif
     108             : 
     109             : 
     110             : #endif /* __gen_nsIPrintSession_h__ */

Generated by: LCOV version 1.13