LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIRedirectHistoryEntry.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/nsIRedirectHistoryEntry.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIRedirectHistoryEntry_h__
       6             : #define __gen_nsIRedirectHistoryEntry_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 nsIPrincipal; /* forward declaration */
      18             : 
      19             : class nsIURI; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIRedirectHistoryEntry */
      23             : #define NS_IREDIRECTHISTORYENTRY_IID_STR "133b2905-0eba-411c-a8bb-f59787142aa2"
      24             : 
      25             : #define NS_IREDIRECTHISTORYENTRY_IID \
      26             :   {0x133b2905, 0x0eba, 0x411c, \
      27             :     { 0xa8, 0xbb, 0xf5, 0x97, 0x87, 0x14, 0x2a, 0xa2 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIRedirectHistoryEntry : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREDIRECTHISTORYENTRY_IID)
      33             : 
      34             :   /* readonly attribute nsIPrincipal principal; */
      35             :   NS_IMETHOD GetPrincipal(nsIPrincipal * *aPrincipal) = 0;
      36             : 
      37             :   /* readonly attribute nsIURI referrerURI; */
      38             :   NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) = 0;
      39             : 
      40             :   /* readonly attribute ACString remoteAddress; */
      41             :   NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) = 0;
      42             : 
      43             : };
      44             : 
      45             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRedirectHistoryEntry, NS_IREDIRECTHISTORYENTRY_IID)
      46             : 
      47             : /* Use this macro when declaring classes that implement this interface. */
      48             : #define NS_DECL_NSIREDIRECTHISTORYENTRY \
      49             :   NS_IMETHOD GetPrincipal(nsIPrincipal * *aPrincipal) override; \
      50             :   NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) override; \
      51             :   NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIREDIRECTHISTORYENTRY \
      56             :   nsresult GetPrincipal(nsIPrincipal * *aPrincipal); \
      57             :   nsresult GetReferrerURI(nsIURI * *aReferrerURI); \
      58             :   nsresult GetRemoteAddress(nsACString & aRemoteAddress); 
      59             : 
      60             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      61             : #define NS_FORWARD_NSIREDIRECTHISTORYENTRY(_to) \
      62             :   NS_IMETHOD GetPrincipal(nsIPrincipal * *aPrincipal) override { return _to GetPrincipal(aPrincipal); } \
      63             :   NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) override { return _to GetReferrerURI(aReferrerURI); } \
      64             :   NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) override { return _to GetRemoteAddress(aRemoteAddress); } 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      67             : #define NS_FORWARD_SAFE_NSIREDIRECTHISTORYENTRY(_to) \
      68             :   NS_IMETHOD GetPrincipal(nsIPrincipal * *aPrincipal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrincipal(aPrincipal); } \
      69             :   NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferrerURI(aReferrerURI); } \
      70             :   NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRemoteAddress(aRemoteAddress); } 
      71             : 
      72             : #if 0
      73             : /* Use the code below as a template for the implementation class for this interface. */
      74             : 
      75             : /* Header file */
      76             : class nsRedirectHistoryEntry : public nsIRedirectHistoryEntry
      77             : {
      78             : public:
      79             :   NS_DECL_ISUPPORTS
      80             :   NS_DECL_NSIREDIRECTHISTORYENTRY
      81             : 
      82             :   nsRedirectHistoryEntry();
      83             : 
      84             : private:
      85             :   ~nsRedirectHistoryEntry();
      86             : 
      87             : protected:
      88             :   /* additional members */
      89             : };
      90             : 
      91             : /* Implementation file */
      92             : NS_IMPL_ISUPPORTS(nsRedirectHistoryEntry, nsIRedirectHistoryEntry)
      93             : 
      94             : nsRedirectHistoryEntry::nsRedirectHistoryEntry()
      95             : {
      96             :   /* member initializers and constructor code */
      97             : }
      98             : 
      99             : nsRedirectHistoryEntry::~nsRedirectHistoryEntry()
     100             : {
     101             :   /* destructor code */
     102             : }
     103             : 
     104             : /* readonly attribute nsIPrincipal principal; */
     105             : NS_IMETHODIMP nsRedirectHistoryEntry::GetPrincipal(nsIPrincipal * *aPrincipal)
     106             : {
     107             :     return NS_ERROR_NOT_IMPLEMENTED;
     108             : }
     109             : 
     110             : /* readonly attribute nsIURI referrerURI; */
     111             : NS_IMETHODIMP nsRedirectHistoryEntry::GetReferrerURI(nsIURI * *aReferrerURI)
     112             : {
     113             :     return NS_ERROR_NOT_IMPLEMENTED;
     114             : }
     115             : 
     116             : /* readonly attribute ACString remoteAddress; */
     117             : NS_IMETHODIMP nsRedirectHistoryEntry::GetRemoteAddress(nsACString & aRemoteAddress)
     118             : {
     119             :     return NS_ERROR_NOT_IMPLEMENTED;
     120             : }
     121             : 
     122             : /* End of implementation class template. */
     123             : #endif
     124             : 
     125             : 
     126             : #endif /* __gen_nsIRedirectHistoryEntry_h__ */

Generated by: LCOV version 1.13