DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/toolkit/components/feeds/nsIFeedContainer.idl
 */

#ifndef __gen_nsIFeedContainer_h__
#define __gen_nsIFeedContainer_h__


#ifndef __gen_nsIFeedElementBase_h__
#include "nsIFeedElementBase.h"
#endif

#include "js/GCAnnotations.h"

/* 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 nsIFeedContainer : public nsIFeedElementBase {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFEEDCONTAINER_IID)

  /* attribute AString id; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetId(nsAString& aId) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetId(const nsAString& aId) = 0;

  /* attribute nsIWritablePropertyBag2 fields; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFields(nsIWritablePropertyBag2 **aFields) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) = 0;

  /* attribute nsIFeedTextConstruct title; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTitle(nsIFeedTextConstruct **aTitle) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) = 0;

  /* attribute nsIURI link; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLink(nsIURI **aLink) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLink(nsIURI *aLink) = 0;

  /* attribute nsIArray links; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLinks(nsIArray **aLinks) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLinks(nsIArray *aLinks) = 0;

  /* attribute nsIArray categories; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCategories(nsIArray **aCategories) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCategories(nsIArray *aCategories) = 0;

  /* attribute nsIFeedTextConstruct rights; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRights(nsIFeedTextConstruct **aRights) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) = 0;

  /* attribute nsIArray authors; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAuthors(nsIArray **aAuthors) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAuthors(nsIArray *aAuthors) = 0;

  /* attribute nsIArray contributors; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContributors(nsIArray **aContributors) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetContributors(nsIArray *aContributors) = 0;

  /* attribute AString updated; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUpdated(nsAString& aUpdated) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUpdated(const nsAString& aUpdated) = 0;

  /* void normalize (); */
  JS_HAZ_CAN_RUN_SCRIPT 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_IMETHOD GetId(nsAString& aId) override; \
  NS_IMETHOD SetId(const nsAString& aId) override; \
  NS_IMETHOD GetFields(nsIWritablePropertyBag2 **aFields) override; \
  NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) override; \
  NS_IMETHOD GetTitle(nsIFeedTextConstruct **aTitle) override; \
  NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) override; \
  NS_IMETHOD GetLink(nsIURI **aLink) override; \
  NS_IMETHOD SetLink(nsIURI *aLink) override; \
  NS_IMETHOD GetLinks(nsIArray **aLinks) override; \
  NS_IMETHOD SetLinks(nsIArray *aLinks) override; \
  NS_IMETHOD GetCategories(nsIArray **aCategories) override; \
  NS_IMETHOD SetCategories(nsIArray *aCategories) override; \
  NS_IMETHOD GetRights(nsIFeedTextConstruct **aRights) override; \
  NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) override; \
  NS_IMETHOD GetAuthors(nsIArray **aAuthors) override; \
  NS_IMETHOD SetAuthors(nsIArray *aAuthors) override; \
  NS_IMETHOD GetContributors(nsIArray **aContributors) override; \
  NS_IMETHOD SetContributors(nsIArray *aContributors) override; \
  NS_IMETHOD GetUpdated(nsAString& aUpdated) override; \
  NS_IMETHOD SetUpdated(const nsAString& aUpdated) override; \
  NS_IMETHOD Normalize(void) 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_NSIFEEDCONTAINER \
  nsresult GetId(nsAString& aId); \
  nsresult SetId(const nsAString& aId); \
  nsresult GetFields(nsIWritablePropertyBag2 **aFields); \
  nsresult SetFields(nsIWritablePropertyBag2 *aFields); \
  nsresult GetTitle(nsIFeedTextConstruct **aTitle); \
  nsresult SetTitle(nsIFeedTextConstruct *aTitle); \
  nsresult GetLink(nsIURI **aLink); \
  nsresult SetLink(nsIURI *aLink); \
  nsresult GetLinks(nsIArray **aLinks); \
  nsresult SetLinks(nsIArray *aLinks); \
  nsresult GetCategories(nsIArray **aCategories); \
  nsresult SetCategories(nsIArray *aCategories); \
  nsresult GetRights(nsIFeedTextConstruct **aRights); \
  nsresult SetRights(nsIFeedTextConstruct *aRights); \
  nsresult GetAuthors(nsIArray **aAuthors); \
  nsresult SetAuthors(nsIArray *aAuthors); \
  nsresult GetContributors(nsIArray **aContributors); \
  nsresult SetContributors(nsIArray *aContributors); \
  nsresult GetUpdated(nsAString& aUpdated); \
  nsresult SetUpdated(const nsAString& aUpdated); \
  nsresult Normalize(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFEEDCONTAINER(_to) \
  NS_IMETHOD GetId(nsAString& aId) override { return _to GetId(aId); } \
  NS_IMETHOD SetId(const nsAString& aId) override { return _to SetId(aId); } \
  NS_IMETHOD GetFields(nsIWritablePropertyBag2 **aFields) override { return _to GetFields(aFields); } \
  NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) override { return _to SetFields(aFields); } \
  NS_IMETHOD GetTitle(nsIFeedTextConstruct **aTitle) override { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) override { return _to SetTitle(aTitle); } \
  NS_IMETHOD GetLink(nsIURI **aLink) override { return _to GetLink(aLink); } \
  NS_IMETHOD SetLink(nsIURI *aLink) override { return _to SetLink(aLink); } \
  NS_IMETHOD GetLinks(nsIArray **aLinks) override { return _to GetLinks(aLinks); } \
  NS_IMETHOD SetLinks(nsIArray *aLinks) override { return _to SetLinks(aLinks); } \
  NS_IMETHOD GetCategories(nsIArray **aCategories) override { return _to GetCategories(aCategories); } \
  NS_IMETHOD SetCategories(nsIArray *aCategories) override { return _to SetCategories(aCategories); } \
  NS_IMETHOD GetRights(nsIFeedTextConstruct **aRights) override { return _to GetRights(aRights); } \
  NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) override { return _to SetRights(aRights); } \
  NS_IMETHOD GetAuthors(nsIArray **aAuthors) override { return _to GetAuthors(aAuthors); } \
  NS_IMETHOD SetAuthors(nsIArray *aAuthors) override { return _to SetAuthors(aAuthors); } \
  NS_IMETHOD GetContributors(nsIArray **aContributors) override { return _to GetContributors(aContributors); } \
  NS_IMETHOD SetContributors(nsIArray *aContributors) override { return _to SetContributors(aContributors); } \
  NS_IMETHOD GetUpdated(nsAString& aUpdated) override { return _to GetUpdated(aUpdated); } \
  NS_IMETHOD SetUpdated(const nsAString& aUpdated) override { return _to SetUpdated(aUpdated); } \
  NS_IMETHOD Normalize(void) override { 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_IMETHOD GetId(nsAString& aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
  NS_IMETHOD SetId(const nsAString& aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetId(aId); } \
  NS_IMETHOD GetFields(nsIWritablePropertyBag2 **aFields) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFields(aFields); } \
  NS_IMETHOD SetFields(nsIWritablePropertyBag2 *aFields) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFields(aFields); } \
  NS_IMETHOD GetTitle(nsIFeedTextConstruct **aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(nsIFeedTextConstruct *aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_IMETHOD GetLink(nsIURI **aLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
  NS_IMETHOD SetLink(nsIURI *aLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
  NS_IMETHOD GetLinks(nsIArray **aLinks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinks(aLinks); } \
  NS_IMETHOD SetLinks(nsIArray *aLinks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLinks(aLinks); } \
  NS_IMETHOD GetCategories(nsIArray **aCategories) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategories(aCategories); } \
  NS_IMETHOD SetCategories(nsIArray *aCategories) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCategories(aCategories); } \
  NS_IMETHOD GetRights(nsIFeedTextConstruct **aRights) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRights(aRights); } \
  NS_IMETHOD SetRights(nsIFeedTextConstruct *aRights) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRights(aRights); } \
  NS_IMETHOD GetAuthors(nsIArray **aAuthors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthors(aAuthors); } \
  NS_IMETHOD SetAuthors(nsIArray *aAuthors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthors(aAuthors); } \
  NS_IMETHOD GetContributors(nsIArray **aContributors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContributors(aContributors); } \
  NS_IMETHOD SetContributors(nsIArray *aContributors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContributors(aContributors); } \
  NS_IMETHOD GetUpdated(nsAString& aUpdated) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUpdated(aUpdated); } \
  NS_IMETHOD SetUpdated(const nsAString& aUpdated) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUpdated(aUpdated); } \
  NS_IMETHOD Normalize(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Normalize(); } 


#endif /* __gen_nsIFeedContainer_h__ */