LCOV - code coverage report
Current view: directory - objdir/dist/include - nsISHTransaction.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

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

Generated by: LCOV version 1.7