LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIFileChannel.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/protocol/file/nsIFileChannel.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIFileChannel_h__
       6                 : #define __gen_nsIFileChannel_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIChannel_h__
      10                 : #include "nsIChannel.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 nsIFile; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIFileChannel */
      21                 : #define NS_IFILECHANNEL_IID_STR "06169120-136d-45a5-b535-498f1f755ab7"
      22                 : 
      23                 : #define NS_IFILECHANNEL_IID \
      24                 :   {0x06169120, 0x136d, 0x45a5, \
      25                 :     { 0xb5, 0x35, 0x49, 0x8f, 0x1f, 0x75, 0x5a, 0xb7 }}
      26                 : 
      27           49867 : class NS_NO_VTABLE NS_SCRIPTABLE nsIFileChannel : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFILECHANNEL_IID)
      31                 : 
      32                 :   /* readonly attribute nsIFile file; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetFile(nsIFile * *aFile) = 0;
      34                 : 
      35                 : };
      36                 : 
      37                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIFileChannel, NS_IFILECHANNEL_IID)
      38                 : 
      39                 : /* Use this macro when declaring classes that implement this interface. */
      40                 : #define NS_DECL_NSIFILECHANNEL \
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetFile(nsIFile * *aFile); 
      42                 : 
      43                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      44                 : #define NS_FORWARD_NSIFILECHANNEL(_to) \
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetFile(nsIFile * *aFile) { return _to GetFile(aFile); } 
      46                 : 
      47                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      48                 : #define NS_FORWARD_SAFE_NSIFILECHANNEL(_to) \
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetFile(nsIFile * *aFile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFile(aFile); } 
      50                 : 
      51                 : #if 0
      52                 : /* Use the code below as a template for the implementation class for this interface. */
      53                 : 
      54                 : /* Header file */
      55                 : class nsFileChannel : public nsIFileChannel
      56                 : {
      57                 : public:
      58                 :   NS_DECL_ISUPPORTS
      59                 :   NS_DECL_NSIFILECHANNEL
      60                 : 
      61                 :   nsFileChannel();
      62                 : 
      63                 : private:
      64                 :   ~nsFileChannel();
      65                 : 
      66                 : protected:
      67                 :   /* additional members */
      68                 : };
      69                 : 
      70                 : /* Implementation file */
      71                 : NS_IMPL_ISUPPORTS1(nsFileChannel, nsIFileChannel)
      72                 : 
      73                 : nsFileChannel::nsFileChannel()
      74                 : {
      75                 :   /* member initializers and constructor code */
      76                 : }
      77                 : 
      78                 : nsFileChannel::~nsFileChannel()
      79                 : {
      80                 :   /* destructor code */
      81                 : }
      82                 : 
      83                 : /* readonly attribute nsIFile file; */
      84                 : NS_IMETHODIMP nsFileChannel::GetFile(nsIFile * *aFile)
      85                 : {
      86                 :     return NS_ERROR_NOT_IMPLEMENTED;
      87                 : }
      88                 : 
      89                 : /* End of implementation class template. */
      90                 : #endif
      91                 : 
      92                 : 
      93                 : #endif /* __gen_nsIFileChannel_h__ */

Generated by: LCOV version 1.7