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

#ifndef __gen_nsIFeed_h__
#define __gen_nsIFeed_h__


#ifndef __gen_nsIFeedContainer_h__
#include "nsIFeedContainer.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 nsIArray; /* forward declaration */

class nsIFeedGenerator; /* forward declaration */


/* starting interface:    nsIFeed */
#define NS_IFEED_IID_STR "3b8aae33-80e2-4efa-99c8-a6c5b99f76ea"

#define NS_IFEED_IID \
  {0x3b8aae33, 0x80e2, 0x4efa, \
    { 0x99, 0xc8, 0xa6, 0xc5, 0xb9, 0x9f, 0x76, 0xea }}

class NS_NO_VTABLE nsIFeed : public nsIFeedContainer {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFEED_IID)

  /* attribute nsIFeedTextConstruct subtitle; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSubtitle(nsIFeedTextConstruct **aSubtitle) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) = 0;

  enum {
    TYPE_FEED = 0U,
    TYPE_AUDIO = 1U,
    TYPE_IMAGE = 2U,
    TYPE_VIDEO = 4U
  };

  /* readonly attribute unsigned long type; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetType(uint32_t *aType) = 0;

  /* attribute long enclosureCount; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) = 0;

  /* attribute nsIArray items; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetItems(nsIArray **aItems) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetItems(nsIArray *aItems) = 0;

  /* attribute nsIWritablePropertyBag2 cloud; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCloud(nsIWritablePropertyBag2 **aCloud) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) = 0;

  /* attribute nsIFeedGenerator generator; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGenerator(nsIFeedGenerator **aGenerator) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) = 0;

  /* attribute nsIWritablePropertyBag2 image; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImage(nsIWritablePropertyBag2 **aImage) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) = 0;

  /* attribute nsIWritablePropertyBag2 textInput; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 **aTextInput) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) = 0;

  /* attribute nsIArray skipDays; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSkipDays(nsIArray **aSkipDays) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) = 0;

  /* attribute nsIArray skipHours; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSkipHours(nsIArray **aSkipHours) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFeed, NS_IFEED_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFEED \
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct **aSubtitle) override; \
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) override; \
  NS_IMETHOD GetType(uint32_t *aType) override; \
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) override; \
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) override; \
  NS_IMETHOD GetItems(nsIArray **aItems) override; \
  NS_IMETHOD SetItems(nsIArray *aItems) override; \
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 **aCloud) override; \
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) override; \
  NS_IMETHOD GetGenerator(nsIFeedGenerator **aGenerator) override; \
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) override; \
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 **aImage) override; \
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) override; \
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 **aTextInput) override; \
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) override; \
  NS_IMETHOD GetSkipDays(nsIArray **aSkipDays) override; \
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) override; \
  NS_IMETHOD GetSkipHours(nsIArray **aSkipHours) override; \
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) 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_NSIFEED \
  nsresult GetSubtitle(nsIFeedTextConstruct **aSubtitle); \
  nsresult SetSubtitle(nsIFeedTextConstruct *aSubtitle); \
  nsresult GetType(uint32_t *aType); \
  nsresult GetEnclosureCount(int32_t *aEnclosureCount); \
  nsresult SetEnclosureCount(int32_t aEnclosureCount); \
  nsresult GetItems(nsIArray **aItems); \
  nsresult SetItems(nsIArray *aItems); \
  nsresult GetCloud(nsIWritablePropertyBag2 **aCloud); \
  nsresult SetCloud(nsIWritablePropertyBag2 *aCloud); \
  nsresult GetGenerator(nsIFeedGenerator **aGenerator); \
  nsresult SetGenerator(nsIFeedGenerator *aGenerator); \
  nsresult GetImage(nsIWritablePropertyBag2 **aImage); \
  nsresult SetImage(nsIWritablePropertyBag2 *aImage); \
  nsresult GetTextInput(nsIWritablePropertyBag2 **aTextInput); \
  nsresult SetTextInput(nsIWritablePropertyBag2 *aTextInput); \
  nsresult GetSkipDays(nsIArray **aSkipDays); \
  nsresult SetSkipDays(nsIArray *aSkipDays); \
  nsresult GetSkipHours(nsIArray **aSkipHours); \
  nsresult SetSkipHours(nsIArray *aSkipHours); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFEED(_to) \
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct **aSubtitle) override { return _to GetSubtitle(aSubtitle); } \
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) override { return _to SetSubtitle(aSubtitle); } \
  NS_IMETHOD GetType(uint32_t *aType) override { return _to GetType(aType); } \
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) override { return _to GetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) override { return _to SetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD GetItems(nsIArray **aItems) override { return _to GetItems(aItems); } \
  NS_IMETHOD SetItems(nsIArray *aItems) override { return _to SetItems(aItems); } \
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 **aCloud) override { return _to GetCloud(aCloud); } \
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) override { return _to SetCloud(aCloud); } \
  NS_IMETHOD GetGenerator(nsIFeedGenerator **aGenerator) override { return _to GetGenerator(aGenerator); } \
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) override { return _to SetGenerator(aGenerator); } \
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 **aImage) override { return _to GetImage(aImage); } \
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) override { return _to SetImage(aImage); } \
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 **aTextInput) override { return _to GetTextInput(aTextInput); } \
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) override { return _to SetTextInput(aTextInput); } \
  NS_IMETHOD GetSkipDays(nsIArray **aSkipDays) override { return _to GetSkipDays(aSkipDays); } \
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) override { return _to SetSkipDays(aSkipDays); } \
  NS_IMETHOD GetSkipHours(nsIArray **aSkipHours) override { return _to GetSkipHours(aSkipHours); } \
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) override { return _to SetSkipHours(aSkipHours); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFEED(_to) \
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct **aSubtitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubtitle(aSubtitle); } \
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSubtitle(aSubtitle); } \
  NS_IMETHOD GetType(uint32_t *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD GetItems(nsIArray **aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(aItems); } \
  NS_IMETHOD SetItems(nsIArray *aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetItems(aItems); } \
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 **aCloud) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCloud(aCloud); } \
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCloud(aCloud); } \
  NS_IMETHOD GetGenerator(nsIFeedGenerator **aGenerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGenerator(aGenerator); } \
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGenerator(aGenerator); } \
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 **aImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImage(aImage); } \
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImage(aImage); } \
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 **aTextInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextInput(aTextInput); } \
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextInput(aTextInput); } \
  NS_IMETHOD GetSkipDays(nsIArray **aSkipDays) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSkipDays(aSkipDays); } \
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSkipDays(aSkipDays); } \
  NS_IMETHOD GetSkipHours(nsIArray **aSkipHours) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSkipHours(aSkipHours); } \
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSkipHours(aSkipHours); } 


#endif /* __gen_nsIFeed_h__ */