LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIRefreshURI.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/base/nsIRefreshURI.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIRefreshURI_h__
       6                 : #define __gen_nsIRefreshURI_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIURI_h__
      14                 : #include "nsIURI.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : class nsIChannel; /* forward declaration */
      22                 : 
      23                 : 
      24                 : /* starting interface:    nsIRefreshURI */
      25                 : #define NS_IREFRESHURI_IID_STR "cb0ad623-6b46-4c09-a473-c1d6ca63d3c7"
      26                 : 
      27                 : #define NS_IREFRESHURI_IID \
      28                 :   {0xcb0ad623, 0x6b46, 0x4c09, \
      29                 :     { 0xa4, 0x73, 0xc1, 0xd6, 0xca, 0x63, 0xd3, 0xc7 }}
      30                 : 
      31               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRefreshURI : public nsISupports {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREFRESHURI_IID)
      35                 : 
      36                 :   /* void refreshURI (in nsIURI aURI, in long aMillis, in boolean aRepeat, in boolean aMetaRefresh); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD RefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aRepeat, bool aMetaRefresh) = 0;
      38                 : 
      39                 :   /* void forceRefreshURI (in nsIURI aURI, in long aMillis, in boolean aMetaRefresh); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD ForceRefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aMetaRefresh) = 0;
      41                 : 
      42                 :   /* void setupRefreshURI (in nsIChannel aChannel); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURI(nsIChannel *aChannel) = 0;
      44                 : 
      45                 :   /* void setupRefreshURIFromHeader (in nsIURI aBaseURI, in ACString aHeader); */
      46                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURIFromHeader(nsIURI *aBaseURI, const nsACString & aHeader) = 0;
      47                 : 
      48                 :   /* void cancelRefreshURITimers (); */
      49                 :   NS_SCRIPTABLE NS_IMETHOD CancelRefreshURITimers(void) = 0;
      50                 : 
      51                 :   /* readonly attribute boolean refreshPending; */
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshPending(bool *aRefreshPending) = 0;
      53                 : 
      54                 : };
      55                 : 
      56                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRefreshURI, NS_IREFRESHURI_IID)
      57                 : 
      58                 : /* Use this macro when declaring classes that implement this interface. */
      59                 : #define NS_DECL_NSIREFRESHURI \
      60                 :   NS_SCRIPTABLE NS_IMETHOD RefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aRepeat, bool aMetaRefresh); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD ForceRefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aMetaRefresh); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURI(nsIChannel *aChannel); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURIFromHeader(nsIURI *aBaseURI, const nsACString & aHeader); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD CancelRefreshURITimers(void); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshPending(bool *aRefreshPending); 
      66                 : 
      67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      68                 : #define NS_FORWARD_NSIREFRESHURI(_to) \
      69                 :   NS_SCRIPTABLE NS_IMETHOD RefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aRepeat, bool aMetaRefresh) { return _to RefreshURI(aURI, aMillis, aRepeat, aMetaRefresh); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD ForceRefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aMetaRefresh) { return _to ForceRefreshURI(aURI, aMillis, aMetaRefresh); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURI(nsIChannel *aChannel) { return _to SetupRefreshURI(aChannel); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURIFromHeader(nsIURI *aBaseURI, const nsACString & aHeader) { return _to SetupRefreshURIFromHeader(aBaseURI, aHeader); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD CancelRefreshURITimers(void) { return _to CancelRefreshURITimers(); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshPending(bool *aRefreshPending) { return _to GetRefreshPending(aRefreshPending); } 
      75                 : 
      76                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      77                 : #define NS_FORWARD_SAFE_NSIREFRESHURI(_to) \
      78                 :   NS_SCRIPTABLE NS_IMETHOD RefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aRepeat, bool aMetaRefresh) { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshURI(aURI, aMillis, aRepeat, aMetaRefresh); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD ForceRefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aMetaRefresh) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForceRefreshURI(aURI, aMillis, aMetaRefresh); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURI(nsIChannel *aChannel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetupRefreshURI(aChannel); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD SetupRefreshURIFromHeader(nsIURI *aBaseURI, const nsACString & aHeader) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetupRefreshURIFromHeader(aBaseURI, aHeader); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD CancelRefreshURITimers(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelRefreshURITimers(); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshPending(bool *aRefreshPending) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRefreshPending(aRefreshPending); } 
      84                 : 
      85                 : #if 0
      86                 : /* Use the code below as a template for the implementation class for this interface. */
      87                 : 
      88                 : /* Header file */
      89                 : class nsRefreshURI : public nsIRefreshURI
      90                 : {
      91                 : public:
      92                 :   NS_DECL_ISUPPORTS
      93                 :   NS_DECL_NSIREFRESHURI
      94                 : 
      95                 :   nsRefreshURI();
      96                 : 
      97                 : private:
      98                 :   ~nsRefreshURI();
      99                 : 
     100                 : protected:
     101                 :   /* additional members */
     102                 : };
     103                 : 
     104                 : /* Implementation file */
     105                 : NS_IMPL_ISUPPORTS1(nsRefreshURI, nsIRefreshURI)
     106                 : 
     107                 : nsRefreshURI::nsRefreshURI()
     108                 : {
     109                 :   /* member initializers and constructor code */
     110                 : }
     111                 : 
     112                 : nsRefreshURI::~nsRefreshURI()
     113                 : {
     114                 :   /* destructor code */
     115                 : }
     116                 : 
     117                 : /* void refreshURI (in nsIURI aURI, in long aMillis, in boolean aRepeat, in boolean aMetaRefresh); */
     118                 : NS_IMETHODIMP nsRefreshURI::RefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aRepeat, bool aMetaRefresh)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* void forceRefreshURI (in nsIURI aURI, in long aMillis, in boolean aMetaRefresh); */
     124                 : NS_IMETHODIMP nsRefreshURI::ForceRefreshURI(nsIURI *aURI, PRInt32 aMillis, bool aMetaRefresh)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* void setupRefreshURI (in nsIChannel aChannel); */
     130                 : NS_IMETHODIMP nsRefreshURI::SetupRefreshURI(nsIChannel *aChannel)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* void setupRefreshURIFromHeader (in nsIURI aBaseURI, in ACString aHeader); */
     136                 : NS_IMETHODIMP nsRefreshURI::SetupRefreshURIFromHeader(nsIURI *aBaseURI, const nsACString & aHeader)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* void cancelRefreshURITimers (); */
     142                 : NS_IMETHODIMP nsRefreshURI::CancelRefreshURITimers()
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* readonly attribute boolean refreshPending; */
     148                 : NS_IMETHODIMP nsRefreshURI::GetRefreshPending(bool *aRefreshPending)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* End of implementation class template. */
     154                 : #endif
     155                 : 
     156                 : #define NS_REFRESHURI_HEADER_FOUND \
     157                 :      NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_URILOADER, \
     158                 :                                2)
     159                 : 
     160                 : #endif /* __gen_nsIRefreshURI_h__ */

Generated by: LCOV version 1.7