/usr/include/thunderbird/nsIHTTPIndex.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIHTTPIndex.idl
*/
#ifndef __gen_nsIHTTPIndex_h__
#define __gen_nsIHTTPIndex_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIStreamListener; /* forward declaration */
class nsIRDFDataSource; /* forward declaration */
class nsIRDFNode; /* forward declaration */
class nsIRDFResource; /* forward declaration */
/* starting interface: nsIHTTPIndex */
#define NS_IHTTPINDEX_IID_STR "6f2bdbd0-58c3-11d3-be36-00104bde6048"
#define NS_IHTTPINDEX_IID \
{0x6f2bdbd0, 0x58c3, 0x11d3, \
{ 0xbe, 0x36, 0x00, 0x10, 0x4b, 0xde, 0x60, 0x48 }}
class NS_NO_VTABLE nsIHTTPIndex : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPINDEX_IID)
/* readonly attribute string BaseURL; */
NS_IMETHOD GetBaseURL(char * *aBaseURL) = 0;
/* readonly attribute nsIRDFDataSource DataSource; */
NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) = 0;
/* attribute string encoding; */
NS_IMETHOD GetEncoding(char * *aEncoding) = 0;
NS_IMETHOD SetEncoding(const char * aEncoding) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIHTTPIndex, NS_IHTTPINDEX_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIHTTPINDEX \
NS_IMETHOD GetBaseURL(char * *aBaseURL) override; \
NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) override; \
NS_IMETHOD GetEncoding(char * *aEncoding) override; \
NS_IMETHOD SetEncoding(const char * aEncoding) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIHTTPINDEX \
NS_METHOD GetBaseURL(char * *aBaseURL); \
NS_METHOD GetDataSource(nsIRDFDataSource * *aDataSource); \
NS_METHOD GetEncoding(char * *aEncoding); \
NS_METHOD SetEncoding(const char * aEncoding);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIHTTPINDEX(_to) \
NS_IMETHOD GetBaseURL(char * *aBaseURL) override { return _to GetBaseURL(aBaseURL); } \
NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) override { return _to GetDataSource(aDataSource); } \
NS_IMETHOD GetEncoding(char * *aEncoding) override { return _to GetEncoding(aEncoding); } \
NS_IMETHOD SetEncoding(const char * aEncoding) override { return _to SetEncoding(aEncoding); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIHTTPINDEX(_to) \
NS_IMETHOD GetBaseURL(char * *aBaseURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseURL(aBaseURL); } \
NS_IMETHOD GetDataSource(nsIRDFDataSource * *aDataSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataSource(aDataSource); } \
NS_IMETHOD GetEncoding(char * *aEncoding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncoding(aEncoding); } \
NS_IMETHOD SetEncoding(const char * aEncoding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEncoding(aEncoding); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsHTTPIndex : public nsIHTTPIndex
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIHTTPINDEX
nsHTTPIndex();
private:
~nsHTTPIndex();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsHTTPIndex, nsIHTTPIndex)
nsHTTPIndex::nsHTTPIndex()
{
/* member initializers and constructor code */
}
nsHTTPIndex::~nsHTTPIndex()
{
/* destructor code */
}
/* readonly attribute string BaseURL; */
NS_IMETHODIMP nsHTTPIndex::GetBaseURL(char * *aBaseURL)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIRDFDataSource DataSource; */
NS_IMETHODIMP nsHTTPIndex::GetDataSource(nsIRDFDataSource * *aDataSource)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute string encoding; */
NS_IMETHODIMP nsHTTPIndex::GetEncoding(char * *aEncoding)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsHTTPIndex::SetEncoding(const char * aEncoding)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
// {{2587e382-1324-11d4-a652-eadbb2be3484}
#define NS_HTTPINDEX_SERVICE_CID \
{ 0x2587e382, 0x1324, 0x11d4, { 0xa6, 0x52, 0xea, 0xdb, 0xb2, 0xbe, 0x34, 0x84 } }
#define NS_HTTPINDEX_SERVICE_CONTRACTID \
"@mozilla.org/browser/httpindex-service;1"
#define NS_HTTPINDEX_DATASOURCE_CONTRACTID \
"@mozilla.org/rdf/datasource;1?name=httpindex"
#endif /* __gen_nsIHTTPIndex_h__ */
|