/usr/include/firefox/nsIFeedContainer.h is in firefox-dev 11.0+build1-0ubuntu4.
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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/toolkit/components/feeds/nsIFeedContainer.idl
*/
#ifndef __gen_nsIFeedContainer_h__
#define __gen_nsIFeedContainer_h__
#ifndef __gen_nsIFeedElementBase_h__
#include "nsIFeedElementBase.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */
class nsIWritablePropertyBag2; /* forward declaration */
class nsIArray; /* forward declaration */
class nsIFeedTextConstruct; /* forward declaration */
/* starting interface: nsIFeedContainer */
#define NS_IFEEDCONTAINER_IID_STR "577a1b4c-b3d4-4c76-9cf8-753e6606114f"
#define NS_IFEEDCONTAINER_IID \
{0x577a1b4c, 0xb3d4, 0x4c76, \
{ 0x9c, 0xf8, 0x75, 0x3e, 0x66, 0x06, 0x11, 0x4f }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIFeedContainer : public nsIFeedElementBase {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFEEDCONTAINER_IID)
/* attribute AString id; */
NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId) = 0;
NS_SCRIPTABLE NS_IMETHOD SetId(const nsAString & aId) = 0;
/* attribute nsIWritablePropertyBag2 fields; */
NS_SCRIPTABLE NS_IMETHOD GetFields(nsIWritablePropertyBag2 * *aFields) = 0;
NS_SCRIPTABLE NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) = 0;
/* attribute nsIFeedTextConstruct title; */
NS_SCRIPTABLE NS_IMETHOD GetTitle(nsIFeedTextConstruct * *aTitle) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) = 0;
/* attribute nsIURI link; */
NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI * *aLink) = 0;
NS_SCRIPTABLE NS_IMETHOD SetLink(nsIURI *aLink) = 0;
/* attribute nsIArray links; */
NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIArray * *aLinks) = 0;
NS_SCRIPTABLE NS_IMETHOD SetLinks(nsIArray *aLinks) = 0;
/* attribute nsIArray categories; */
NS_SCRIPTABLE NS_IMETHOD GetCategories(nsIArray * *aCategories) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCategories(nsIArray *aCategories) = 0;
/* attribute nsIFeedTextConstruct rights; */
NS_SCRIPTABLE NS_IMETHOD GetRights(nsIFeedTextConstruct * *aRights) = 0;
NS_SCRIPTABLE NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) = 0;
/* attribute nsIArray authors; */
NS_SCRIPTABLE NS_IMETHOD GetAuthors(nsIArray * *aAuthors) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAuthors(nsIArray *aAuthors) = 0;
/* attribute nsIArray contributors; */
NS_SCRIPTABLE NS_IMETHOD GetContributors(nsIArray * *aContributors) = 0;
NS_SCRIPTABLE NS_IMETHOD SetContributors(nsIArray *aContributors) = 0;
/* attribute AString updated; */
NS_SCRIPTABLE NS_IMETHOD GetUpdated(nsAString & aUpdated) = 0;
NS_SCRIPTABLE NS_IMETHOD SetUpdated(const nsAString & aUpdated) = 0;
/* void normalize (); */
NS_SCRIPTABLE NS_IMETHOD Normalize(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIFeedContainer, NS_IFEEDCONTAINER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFEEDCONTAINER \
NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId); \
NS_SCRIPTABLE NS_IMETHOD SetId(const nsAString & aId); \
NS_SCRIPTABLE NS_IMETHOD GetFields(nsIWritablePropertyBag2 * *aFields); \
NS_SCRIPTABLE NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields); \
NS_SCRIPTABLE NS_IMETHOD GetTitle(nsIFeedTextConstruct * *aTitle); \
NS_SCRIPTABLE NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle); \
NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI * *aLink); \
NS_SCRIPTABLE NS_IMETHOD SetLink(nsIURI *aLink); \
NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIArray * *aLinks); \
NS_SCRIPTABLE NS_IMETHOD SetLinks(nsIArray *aLinks); \
NS_SCRIPTABLE NS_IMETHOD GetCategories(nsIArray * *aCategories); \
NS_SCRIPTABLE NS_IMETHOD SetCategories(nsIArray *aCategories); \
NS_SCRIPTABLE NS_IMETHOD GetRights(nsIFeedTextConstruct * *aRights); \
NS_SCRIPTABLE NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights); \
NS_SCRIPTABLE NS_IMETHOD GetAuthors(nsIArray * *aAuthors); \
NS_SCRIPTABLE NS_IMETHOD SetAuthors(nsIArray *aAuthors); \
NS_SCRIPTABLE NS_IMETHOD GetContributors(nsIArray * *aContributors); \
NS_SCRIPTABLE NS_IMETHOD SetContributors(nsIArray *aContributors); \
NS_SCRIPTABLE NS_IMETHOD GetUpdated(nsAString & aUpdated); \
NS_SCRIPTABLE NS_IMETHOD SetUpdated(const nsAString & aUpdated); \
NS_SCRIPTABLE NS_IMETHOD Normalize(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFEEDCONTAINER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId) { return _to GetId(aId); } \
NS_SCRIPTABLE NS_IMETHOD SetId(const nsAString & aId) { return _to SetId(aId); } \
NS_SCRIPTABLE NS_IMETHOD GetFields(nsIWritablePropertyBag2 * *aFields) { return _to GetFields(aFields); } \
NS_SCRIPTABLE NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) { return _to SetFields(aFields); } \
NS_SCRIPTABLE NS_IMETHOD GetTitle(nsIFeedTextConstruct * *aTitle) { return _to GetTitle(aTitle); } \
NS_SCRIPTABLE NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) { return _to SetTitle(aTitle); } \
NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI * *aLink) { return _to GetLink(aLink); } \
NS_SCRIPTABLE NS_IMETHOD SetLink(nsIURI *aLink) { return _to SetLink(aLink); } \
NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIArray * *aLinks) { return _to GetLinks(aLinks); } \
NS_SCRIPTABLE NS_IMETHOD SetLinks(nsIArray *aLinks) { return _to SetLinks(aLinks); } \
NS_SCRIPTABLE NS_IMETHOD GetCategories(nsIArray * *aCategories) { return _to GetCategories(aCategories); } \
NS_SCRIPTABLE NS_IMETHOD SetCategories(nsIArray *aCategories) { return _to SetCategories(aCategories); } \
NS_SCRIPTABLE NS_IMETHOD GetRights(nsIFeedTextConstruct * *aRights) { return _to GetRights(aRights); } \
NS_SCRIPTABLE NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) { return _to SetRights(aRights); } \
NS_SCRIPTABLE NS_IMETHOD GetAuthors(nsIArray * *aAuthors) { return _to GetAuthors(aAuthors); } \
NS_SCRIPTABLE NS_IMETHOD SetAuthors(nsIArray *aAuthors) { return _to SetAuthors(aAuthors); } \
NS_SCRIPTABLE NS_IMETHOD GetContributors(nsIArray * *aContributors) { return _to GetContributors(aContributors); } \
NS_SCRIPTABLE NS_IMETHOD SetContributors(nsIArray *aContributors) { return _to SetContributors(aContributors); } \
NS_SCRIPTABLE NS_IMETHOD GetUpdated(nsAString & aUpdated) { return _to GetUpdated(aUpdated); } \
NS_SCRIPTABLE NS_IMETHOD SetUpdated(const nsAString & aUpdated) { return _to SetUpdated(aUpdated); } \
NS_SCRIPTABLE NS_IMETHOD Normalize(void) { return _to Normalize(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFEEDCONTAINER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_SCRIPTABLE NS_IMETHOD SetId(const nsAString & aId) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetId(aId); } \
NS_SCRIPTABLE NS_IMETHOD GetFields(nsIWritablePropertyBag2 * *aFields) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFields(aFields); } \
NS_SCRIPTABLE NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFields(aFields); } \
NS_SCRIPTABLE NS_IMETHOD GetTitle(nsIFeedTextConstruct * *aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
NS_SCRIPTABLE NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI * *aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
NS_SCRIPTABLE NS_IMETHOD SetLink(nsIURI *aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIArray * *aLinks) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinks(aLinks); } \
NS_SCRIPTABLE NS_IMETHOD SetLinks(nsIArray *aLinks) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLinks(aLinks); } \
NS_SCRIPTABLE NS_IMETHOD GetCategories(nsIArray * *aCategories) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategories(aCategories); } \
NS_SCRIPTABLE NS_IMETHOD SetCategories(nsIArray *aCategories) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCategories(aCategories); } \
NS_SCRIPTABLE NS_IMETHOD GetRights(nsIFeedTextConstruct * *aRights) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRights(aRights); } \
NS_SCRIPTABLE NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRights(aRights); } \
NS_SCRIPTABLE NS_IMETHOD GetAuthors(nsIArray * *aAuthors) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthors(aAuthors); } \
NS_SCRIPTABLE NS_IMETHOD SetAuthors(nsIArray *aAuthors) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthors(aAuthors); } \
NS_SCRIPTABLE NS_IMETHOD GetContributors(nsIArray * *aContributors) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContributors(aContributors); } \
NS_SCRIPTABLE NS_IMETHOD SetContributors(nsIArray *aContributors) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContributors(aContributors); } \
NS_SCRIPTABLE NS_IMETHOD GetUpdated(nsAString & aUpdated) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUpdated(aUpdated); } \
NS_SCRIPTABLE NS_IMETHOD SetUpdated(const nsAString & aUpdated) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUpdated(aUpdated); } \
NS_SCRIPTABLE NS_IMETHOD Normalize(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Normalize(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsFeedContainer : public nsIFeedContainer
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIFEEDCONTAINER
nsFeedContainer();
private:
~nsFeedContainer();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsFeedContainer, nsIFeedContainer)
nsFeedContainer::nsFeedContainer()
{
/* member initializers and constructor code */
}
nsFeedContainer::~nsFeedContainer()
{
/* destructor code */
}
/* attribute AString id; */
NS_IMETHODIMP nsFeedContainer::GetId(nsAString & aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetId(const nsAString & aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIWritablePropertyBag2 fields; */
NS_IMETHODIMP nsFeedContainer::GetFields(nsIWritablePropertyBag2 * *aFields)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetFields(nsIWritablePropertyBag2 *aFields)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIFeedTextConstruct title; */
NS_IMETHODIMP nsFeedContainer::GetTitle(nsIFeedTextConstruct * *aTitle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetTitle(nsIFeedTextConstruct *aTitle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIURI link; */
NS_IMETHODIMP nsFeedContainer::GetLink(nsIURI * *aLink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetLink(nsIURI *aLink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIArray links; */
NS_IMETHODIMP nsFeedContainer::GetLinks(nsIArray * *aLinks)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetLinks(nsIArray *aLinks)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIArray categories; */
NS_IMETHODIMP nsFeedContainer::GetCategories(nsIArray * *aCategories)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetCategories(nsIArray *aCategories)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIFeedTextConstruct rights; */
NS_IMETHODIMP nsFeedContainer::GetRights(nsIFeedTextConstruct * *aRights)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetRights(nsIFeedTextConstruct *aRights)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIArray authors; */
NS_IMETHODIMP nsFeedContainer::GetAuthors(nsIArray * *aAuthors)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetAuthors(nsIArray *aAuthors)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIArray contributors; */
NS_IMETHODIMP nsFeedContainer::GetContributors(nsIArray * *aContributors)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetContributors(nsIArray *aContributors)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString updated; */
NS_IMETHODIMP nsFeedContainer::GetUpdated(nsAString & aUpdated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeedContainer::SetUpdated(const nsAString & aUpdated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void normalize (); */
NS_IMETHODIMP nsFeedContainer::Normalize()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIFeedContainer_h__ */
|