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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/netwerk/base/public/nsICacheInfoChannel.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsICacheInfoChannel_h__
       6                 : #define __gen_nsICacheInfoChannel_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                 : 
      18                 : /* starting interface:    nsICacheInfoChannel */
      19                 : #define NS_ICACHEINFOCHANNEL_IID_STR "299d69b4-ee86-4541-802d-7642671ebf97"
      20                 : 
      21                 : #define NS_ICACHEINFOCHANNEL_IID \
      22                 :   {0x299d69b4, 0xee86, 0x4541, \
      23                 :     { 0x80, 0x2d, 0x76, 0x42, 0x67, 0x1e, 0xbf, 0x97 }}
      24                 : 
      25            3514 : class NS_NO_VTABLE NS_SCRIPTABLE nsICacheInfoChannel : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICACHEINFOCHANNEL_IID)
      29                 : 
      30                 :   /* readonly attribute PRUint32 cacheTokenExpirationTime; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenExpirationTime(PRUint32 *aCacheTokenExpirationTime) = 0;
      32                 : 
      33                 :   /* attribute ACString cacheTokenCachedCharset; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenCachedCharset(nsACString & aCacheTokenCachedCharset) = 0;
      35                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheTokenCachedCharset(const nsACString & aCacheTokenCachedCharset) = 0;
      36                 : 
      37                 :   /* boolean isFromCache (); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD IsFromCache(bool *_retval NS_OUTPARAM) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICacheInfoChannel, NS_ICACHEINFOCHANNEL_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSICACHEINFOCHANNEL \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenExpirationTime(PRUint32 *aCacheTokenExpirationTime); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenCachedCharset(nsACString & aCacheTokenCachedCharset); \
      48                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheTokenCachedCharset(const nsACString & aCacheTokenCachedCharset); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD IsFromCache(bool *_retval NS_OUTPARAM); 
      50                 : 
      51                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52                 : #define NS_FORWARD_NSICACHEINFOCHANNEL(_to) \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenExpirationTime(PRUint32 *aCacheTokenExpirationTime) { return _to GetCacheTokenExpirationTime(aCacheTokenExpirationTime); } \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenCachedCharset(nsACString & aCacheTokenCachedCharset) { return _to GetCacheTokenCachedCharset(aCacheTokenCachedCharset); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheTokenCachedCharset(const nsACString & aCacheTokenCachedCharset) { return _to SetCacheTokenCachedCharset(aCacheTokenCachedCharset); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD IsFromCache(bool *_retval NS_OUTPARAM) { return _to IsFromCache(_retval); } 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59                 : #define NS_FORWARD_SAFE_NSICACHEINFOCHANNEL(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenExpirationTime(PRUint32 *aCacheTokenExpirationTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCacheTokenExpirationTime(aCacheTokenExpirationTime); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheTokenCachedCharset(nsACString & aCacheTokenCachedCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCacheTokenCachedCharset(aCacheTokenCachedCharset); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheTokenCachedCharset(const nsACString & aCacheTokenCachedCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCacheTokenCachedCharset(aCacheTokenCachedCharset); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD IsFromCache(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFromCache(_retval); } 
      64                 : 
      65                 : #if 0
      66                 : /* Use the code below as a template for the implementation class for this interface. */
      67                 : 
      68                 : /* Header file */
      69                 : class nsCacheInfoChannel : public nsICacheInfoChannel
      70                 : {
      71                 : public:
      72                 :   NS_DECL_ISUPPORTS
      73                 :   NS_DECL_NSICACHEINFOCHANNEL
      74                 : 
      75                 :   nsCacheInfoChannel();
      76                 : 
      77                 : private:
      78                 :   ~nsCacheInfoChannel();
      79                 : 
      80                 : protected:
      81                 :   /* additional members */
      82                 : };
      83                 : 
      84                 : /* Implementation file */
      85                 : NS_IMPL_ISUPPORTS1(nsCacheInfoChannel, nsICacheInfoChannel)
      86                 : 
      87                 : nsCacheInfoChannel::nsCacheInfoChannel()
      88                 : {
      89                 :   /* member initializers and constructor code */
      90                 : }
      91                 : 
      92                 : nsCacheInfoChannel::~nsCacheInfoChannel()
      93                 : {
      94                 :   /* destructor code */
      95                 : }
      96                 : 
      97                 : /* readonly attribute PRUint32 cacheTokenExpirationTime; */
      98                 : NS_IMETHODIMP nsCacheInfoChannel::GetCacheTokenExpirationTime(PRUint32 *aCacheTokenExpirationTime)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* attribute ACString cacheTokenCachedCharset; */
     104                 : NS_IMETHODIMP nsCacheInfoChannel::GetCacheTokenCachedCharset(nsACString & aCacheTokenCachedCharset)
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : NS_IMETHODIMP nsCacheInfoChannel::SetCacheTokenCachedCharset(const nsACString & aCacheTokenCachedCharset)
     109                 : {
     110                 :     return NS_ERROR_NOT_IMPLEMENTED;
     111                 : }
     112                 : 
     113                 : /* boolean isFromCache (); */
     114                 : NS_IMETHODIMP nsCacheInfoChannel::IsFromCache(bool *_retval NS_OUTPARAM)
     115                 : {
     116                 :     return NS_ERROR_NOT_IMPLEMENTED;
     117                 : }
     118                 : 
     119                 : /* End of implementation class template. */
     120                 : #endif
     121                 : 
     122                 : 
     123                 : #endif /* __gen_nsICacheInfoChannel_h__ */

Generated by: LCOV version 1.7