LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIHTTPIndex.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/xpfe/components/directory/nsIHTTPIndex.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIHTTPIndex_h__
       6                 : #define __gen_nsIHTTPIndex_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 nsIStreamListener; /* forward declaration */
      18                 : 
      19                 : class nsIRDFDataSource; /* forward declaration */
      20                 : 
      21                 : class nsIRDFNode; /* forward declaration */
      22                 : 
      23                 : class nsIRDFResource; /* forward declaration */
      24                 : 
      25                 : 
      26                 : /* starting interface:    nsIHTTPIndex */
      27                 : #define NS_IHTTPINDEX_IID_STR "6f2bdbd0-58c3-11d3-be36-00104bde6048"
      28                 : 
      29                 : #define NS_IHTTPINDEX_IID \
      30                 :   {0x6f2bdbd0, 0x58c3, 0x11d3, \
      31                 :     { 0xbe, 0x36, 0x00, 0x10, 0x4b, 0xde, 0x60, 0x48 }}
      32                 : 
      33               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIHTTPIndex : public nsISupports {
      34                 :  public: 
      35                 : 
      36                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPINDEX_IID)
      37                 : 
      38                 :   /* readonly attribute string BaseURL; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseURL(char * *aBaseURL) = 0;
      40                 : 
      41                 :   /* readonly attribute nsIRDFDataSource DataSource; */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) = 0;
      43                 : 
      44                 :   /* attribute string encoding; */
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(char * *aEncoding) = 0;
      46                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const char * aEncoding) = 0;
      47                 : 
      48                 : };
      49                 : 
      50                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIHTTPIndex, NS_IHTTPINDEX_IID)
      51                 : 
      52                 : /* Use this macro when declaring classes that implement this interface. */
      53                 : #define NS_DECL_NSIHTTPINDEX \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseURL(char * *aBaseURL); \
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource); \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(char * *aEncoding); \
      57                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const char * aEncoding); 
      58                 : 
      59                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      60                 : #define NS_FORWARD_NSIHTTPINDEX(_to) \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseURL(char * *aBaseURL) { return _to GetBaseURL(aBaseURL); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) { return _to GetDataSource(aDataSource); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(char * *aEncoding) { return _to GetEncoding(aEncoding); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const char * aEncoding) { return _to SetEncoding(aEncoding); } 
      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_NSIHTTPINDEX(_to) \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseURL(char * *aBaseURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseURL(aBaseURL); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataSource(aDataSource); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(char * *aEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncoding(aEncoding); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const char * aEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEncoding(aEncoding); } 
      72                 : 
      73                 : #if 0
      74                 : /* Use the code below as a template for the implementation class for this interface. */
      75                 : 
      76                 : /* Header file */
      77                 : class nsHTTPIndex : public nsIHTTPIndex
      78                 : {
      79                 : public:
      80                 :   NS_DECL_ISUPPORTS
      81                 :   NS_DECL_NSIHTTPINDEX
      82                 : 
      83                 :   nsHTTPIndex();
      84                 : 
      85                 : private:
      86                 :   ~nsHTTPIndex();
      87                 : 
      88                 : protected:
      89                 :   /* additional members */
      90                 : };
      91                 : 
      92                 : /* Implementation file */
      93                 : NS_IMPL_ISUPPORTS1(nsHTTPIndex, nsIHTTPIndex)
      94                 : 
      95                 : nsHTTPIndex::nsHTTPIndex()
      96                 : {
      97                 :   /* member initializers and constructor code */
      98                 : }
      99                 : 
     100                 : nsHTTPIndex::~nsHTTPIndex()
     101                 : {
     102                 :   /* destructor code */
     103                 : }
     104                 : 
     105                 : /* readonly attribute string BaseURL; */
     106                 : NS_IMETHODIMP nsHTTPIndex::GetBaseURL(char * *aBaseURL)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* readonly attribute nsIRDFDataSource DataSource; */
     112                 : NS_IMETHODIMP nsHTTPIndex::GetDataSource(nsIRDFDataSource * *aDataSource)
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* attribute string encoding; */
     118                 : NS_IMETHODIMP nsHTTPIndex::GetEncoding(char * *aEncoding)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : NS_IMETHODIMP nsHTTPIndex::SetEncoding(const char * aEncoding)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* End of implementation class template. */
     128                 : #endif
     129                 : 
     130                 : 
     131                 : // {{2587e382-1324-11d4-a652-eadbb2be3484}
     132                 : #define NS_HTTPINDEX_SERVICE_CID \
     133                 : { 0x2587e382, 0x1324, 0x11d4, { 0xa6, 0x52, 0xea, 0xdb, 0xb2, 0xbe, 0x34, 0x84 } }
     134                 : #define NS_HTTPINDEX_SERVICE_CONTRACTID \
     135                 :     "@mozilla.org/browser/httpindex-service;1"
     136                 : #define NS_HTTPINDEX_DATASOURCE_CONTRACTID \
     137                 :     "@mozilla.org/rdf/datasource;1?name=httpindex"
     138                 : 
     139                 : #endif /* __gen_nsIHTTPIndex_h__ */

Generated by: LCOV version 1.7