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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISHTransaction.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsISHTransaction_h__
       6             : #define __gen_nsISHTransaction_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             : class nsISHEntry; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsISHTransaction */
      21             : #define NS_ISHTRANSACTION_IID_STR "2edf705f-d252-4971-9f09-71dd0f760dc6"
      22             : 
      23             : #define NS_ISHTRANSACTION_IID \
      24             :   {0x2edf705f, 0xd252, 0x4971, \
      25             :     { 0x9f, 0x09, 0x71, 0xdd, 0x0f, 0x76, 0x0d, 0xc6 }}
      26             : 
      27           1 : class NS_NO_VTABLE nsISHTransaction : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISHTRANSACTION_IID)
      31             : 
      32             :   /* attribute nsISHEntry sHEntry; */
      33             :   NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) = 0;
      34             :   NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) = 0;
      35             : 
      36             :   /* attribute nsISHTransaction prev; */
      37             :   NS_IMETHOD GetPrev(nsISHTransaction * *aPrev) = 0;
      38             :   NS_IMETHOD SetPrev(nsISHTransaction *aPrev) = 0;
      39             : 
      40             :   /* attribute nsISHTransaction next; */
      41             :   NS_IMETHOD GetNext(nsISHTransaction * *aNext) = 0;
      42             :   NS_IMETHOD SetNext(nsISHTransaction *aNext) = 0;
      43             : 
      44             :   /* attribute boolean persist; */
      45             :   NS_IMETHOD GetPersist(bool *aPersist) = 0;
      46             :   NS_IMETHOD SetPersist(bool aPersist) = 0;
      47             : 
      48             :   /* void create (in nsISHEntry aSHEntry, in nsISHTransaction aPrev); */
      49             :   NS_IMETHOD Create(nsISHEntry *aSHEntry, nsISHTransaction *aPrev) = 0;
      50             : 
      51             : };
      52             : 
      53             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISHTransaction, NS_ISHTRANSACTION_IID)
      54             : 
      55             : /* Use this macro when declaring classes that implement this interface. */
      56             : #define NS_DECL_NSISHTRANSACTION \
      57             :   NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) override; \
      58             :   NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) override; \
      59             :   NS_IMETHOD GetPrev(nsISHTransaction * *aPrev) override; \
      60             :   NS_IMETHOD SetPrev(nsISHTransaction *aPrev) override; \
      61             :   NS_IMETHOD GetNext(nsISHTransaction * *aNext) override; \
      62             :   NS_IMETHOD SetNext(nsISHTransaction *aNext) override; \
      63             :   NS_IMETHOD GetPersist(bool *aPersist) override; \
      64             :   NS_IMETHOD SetPersist(bool aPersist) override; \
      65             :   NS_IMETHOD Create(nsISHEntry *aSHEntry, nsISHTransaction *aPrev) override; 
      66             : 
      67             : /* Use this macro when declaring the members of this interface when the
      68             :    class doesn't implement the interface. This is useful for forwarding. */
      69             : #define NS_DECL_NON_VIRTUAL_NSISHTRANSACTION \
      70             :   nsresult GetSHEntry(nsISHEntry * *aSHEntry); \
      71             :   nsresult SetSHEntry(nsISHEntry *aSHEntry); \
      72             :   nsresult GetPrev(nsISHTransaction * *aPrev); \
      73             :   nsresult SetPrev(nsISHTransaction *aPrev); \
      74             :   nsresult GetNext(nsISHTransaction * *aNext); \
      75             :   nsresult SetNext(nsISHTransaction *aNext); \
      76             :   nsresult GetPersist(bool *aPersist); \
      77             :   nsresult SetPersist(bool aPersist); \
      78             :   nsresult Create(nsISHEntry *aSHEntry, nsISHTransaction *aPrev); 
      79             : 
      80             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      81             : #define NS_FORWARD_NSISHTRANSACTION(_to) \
      82             :   NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) override { return _to GetSHEntry(aSHEntry); } \
      83             :   NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) override { return _to SetSHEntry(aSHEntry); } \
      84             :   NS_IMETHOD GetPrev(nsISHTransaction * *aPrev) override { return _to GetPrev(aPrev); } \
      85             :   NS_IMETHOD SetPrev(nsISHTransaction *aPrev) override { return _to SetPrev(aPrev); } \
      86             :   NS_IMETHOD GetNext(nsISHTransaction * *aNext) override { return _to GetNext(aNext); } \
      87             :   NS_IMETHOD SetNext(nsISHTransaction *aNext) override { return _to SetNext(aNext); } \
      88             :   NS_IMETHOD GetPersist(bool *aPersist) override { return _to GetPersist(aPersist); } \
      89             :   NS_IMETHOD SetPersist(bool aPersist) override { return _to SetPersist(aPersist); } \
      90             :   NS_IMETHOD Create(nsISHEntry *aSHEntry, nsISHTransaction *aPrev) override { return _to Create(aSHEntry, aPrev); } 
      91             : 
      92             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      93             : #define NS_FORWARD_SAFE_NSISHTRANSACTION(_to) \
      94             :   NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSHEntry(aSHEntry); } \
      95             :   NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSHEntry(aSHEntry); } \
      96             :   NS_IMETHOD GetPrev(nsISHTransaction * *aPrev) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrev(aPrev); } \
      97             :   NS_IMETHOD SetPrev(nsISHTransaction *aPrev) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrev(aPrev); } \
      98             :   NS_IMETHOD GetNext(nsISHTransaction * *aNext) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNext(aNext); } \
      99             :   NS_IMETHOD SetNext(nsISHTransaction *aNext) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNext(aNext); } \
     100             :   NS_IMETHOD GetPersist(bool *aPersist) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPersist(aPersist); } \
     101             :   NS_IMETHOD SetPersist(bool aPersist) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPersist(aPersist); } \
     102             :   NS_IMETHOD Create(nsISHEntry *aSHEntry, nsISHTransaction *aPrev) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Create(aSHEntry, aPrev); } 
     103             : 
     104             : #if 0
     105             : /* Use the code below as a template for the implementation class for this interface. */
     106             : 
     107             : /* Header file */
     108             : class nsSHTransaction : public nsISHTransaction
     109             : {
     110             : public:
     111             :   NS_DECL_ISUPPORTS
     112             :   NS_DECL_NSISHTRANSACTION
     113             : 
     114             :   nsSHTransaction();
     115             : 
     116             : private:
     117             :   ~nsSHTransaction();
     118             : 
     119             : protected:
     120             :   /* additional members */
     121             : };
     122             : 
     123             : /* Implementation file */
     124             : NS_IMPL_ISUPPORTS(nsSHTransaction, nsISHTransaction)
     125             : 
     126             : nsSHTransaction::nsSHTransaction()
     127             : {
     128             :   /* member initializers and constructor code */
     129             : }
     130             : 
     131             : nsSHTransaction::~nsSHTransaction()
     132             : {
     133             :   /* destructor code */
     134             : }
     135             : 
     136             : /* attribute nsISHEntry sHEntry; */
     137             : NS_IMETHODIMP nsSHTransaction::GetSHEntry(nsISHEntry * *aSHEntry)
     138             : {
     139             :     return NS_ERROR_NOT_IMPLEMENTED;
     140             : }
     141             : NS_IMETHODIMP nsSHTransaction::SetSHEntry(nsISHEntry *aSHEntry)
     142             : {
     143             :     return NS_ERROR_NOT_IMPLEMENTED;
     144             : }
     145             : 
     146             : /* attribute nsISHTransaction prev; */
     147             : NS_IMETHODIMP nsSHTransaction::GetPrev(nsISHTransaction * *aPrev)
     148             : {
     149             :     return NS_ERROR_NOT_IMPLEMENTED;
     150             : }
     151             : NS_IMETHODIMP nsSHTransaction::SetPrev(nsISHTransaction *aPrev)
     152             : {
     153             :     return NS_ERROR_NOT_IMPLEMENTED;
     154             : }
     155             : 
     156             : /* attribute nsISHTransaction next; */
     157             : NS_IMETHODIMP nsSHTransaction::GetNext(nsISHTransaction * *aNext)
     158             : {
     159             :     return NS_ERROR_NOT_IMPLEMENTED;
     160             : }
     161             : NS_IMETHODIMP nsSHTransaction::SetNext(nsISHTransaction *aNext)
     162             : {
     163             :     return NS_ERROR_NOT_IMPLEMENTED;
     164             : }
     165             : 
     166             : /* attribute boolean persist; */
     167             : NS_IMETHODIMP nsSHTransaction::GetPersist(bool *aPersist)
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : NS_IMETHODIMP nsSHTransaction::SetPersist(bool aPersist)
     172             : {
     173             :     return NS_ERROR_NOT_IMPLEMENTED;
     174             : }
     175             : 
     176             : /* void create (in nsISHEntry aSHEntry, in nsISHTransaction aPrev); */
     177             : NS_IMETHODIMP nsSHTransaction::Create(nsISHEntry *aSHEntry, nsISHTransaction *aPrev)
     178             : {
     179             :     return NS_ERROR_NOT_IMPLEMENTED;
     180             : }
     181             : 
     182             : /* End of implementation class template. */
     183             : #endif
     184             : 
     185             : // {BFD1A792-AD9F-11d3-BDC7-0050040A9B44}
     186             : #define NS_SHTRANSACTION_CID \
     187             : {0xbfd1a792, 0xad9f, 0x11d3, {0xbd, 0xc7, 0x0, 0x50, 0x4, 0xa, 0x9b, 0x44}}
     188             : #define NS_SHTRANSACTION_CONTRACTID \
     189             :     "@mozilla.org/browser/session-history-transaction;1"
     190             : 
     191             : #endif /* __gen_nsISHTransaction_h__ */

Generated by: LCOV version 1.13