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

#ifndef __gen_nsIFeedEntry_h__
#define __gen_nsIFeedEntry_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 */


/* starting interface:    nsIFeedEntry */
#define NS_IFEEDENTRY_IID_STR "31bfd5b4-8ff5-4bfd-a8cb-b3dfbd4f0a5b"

#define NS_IFEEDENTRY_IID \
  {0x31bfd5b4, 0x8ff5, 0x4bfd, \
    { 0xa8, 0xcb, 0xb3, 0xdf, 0xbd, 0x4f, 0x0a, 0x5b }}

class NS_NO_VTABLE nsIFeedEntry : public nsIFeedContainer {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFEEDENTRY_IID)

  /* attribute nsIFeedTextConstruct summary; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSummary(nsIFeedTextConstruct **aSummary) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSummary(nsIFeedTextConstruct *aSummary) = 0;

  /* attribute AString published; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPublished(nsAString& aPublished) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPublished(const nsAString& aPublished) = 0;

  /* attribute nsIFeedTextConstruct content; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContent(nsIFeedTextConstruct **aContent) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetContent(nsIFeedTextConstruct *aContent) = 0;

  /* attribute nsIArray enclosures; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEnclosures(nsIArray **aEnclosures) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEnclosures(nsIArray *aEnclosures) = 0;

  /* attribute nsIArray mediaContent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMediaContent(nsIArray **aMediaContent) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMediaContent(nsIArray *aMediaContent) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFeedEntry, NS_IFEEDENTRY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFEEDENTRY \
  NS_IMETHOD GetSummary(nsIFeedTextConstruct **aSummary) override; \
  NS_IMETHOD SetSummary(nsIFeedTextConstruct *aSummary) override; \
  NS_IMETHOD GetPublished(nsAString& aPublished) override; \
  NS_IMETHOD SetPublished(const nsAString& aPublished) override; \
  NS_IMETHOD GetContent(nsIFeedTextConstruct **aContent) override; \
  NS_IMETHOD SetContent(nsIFeedTextConstruct *aContent) override; \
  NS_IMETHOD GetEnclosures(nsIArray **aEnclosures) override; \
  NS_IMETHOD SetEnclosures(nsIArray *aEnclosures) override; \
  NS_IMETHOD GetMediaContent(nsIArray **aMediaContent) override; \
  NS_IMETHOD SetMediaContent(nsIArray *aMediaContent) 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_NSIFEEDENTRY \
  nsresult GetSummary(nsIFeedTextConstruct **aSummary); \
  nsresult SetSummary(nsIFeedTextConstruct *aSummary); \
  nsresult GetPublished(nsAString& aPublished); \
  nsresult SetPublished(const nsAString& aPublished); \
  nsresult GetContent(nsIFeedTextConstruct **aContent); \
  nsresult SetContent(nsIFeedTextConstruct *aContent); \
  nsresult GetEnclosures(nsIArray **aEnclosures); \
  nsresult SetEnclosures(nsIArray *aEnclosures); \
  nsresult GetMediaContent(nsIArray **aMediaContent); \
  nsresult SetMediaContent(nsIArray *aMediaContent); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFEEDENTRY(_to) \
  NS_IMETHOD GetSummary(nsIFeedTextConstruct **aSummary) override { return _to GetSummary(aSummary); } \
  NS_IMETHOD SetSummary(nsIFeedTextConstruct *aSummary) override { return _to SetSummary(aSummary); } \
  NS_IMETHOD GetPublished(nsAString& aPublished) override { return _to GetPublished(aPublished); } \
  NS_IMETHOD SetPublished(const nsAString& aPublished) override { return _to SetPublished(aPublished); } \
  NS_IMETHOD GetContent(nsIFeedTextConstruct **aContent) override { return _to GetContent(aContent); } \
  NS_IMETHOD SetContent(nsIFeedTextConstruct *aContent) override { return _to SetContent(aContent); } \
  NS_IMETHOD GetEnclosures(nsIArray **aEnclosures) override { return _to GetEnclosures(aEnclosures); } \
  NS_IMETHOD SetEnclosures(nsIArray *aEnclosures) override { return _to SetEnclosures(aEnclosures); } \
  NS_IMETHOD GetMediaContent(nsIArray **aMediaContent) override { return _to GetMediaContent(aMediaContent); } \
  NS_IMETHOD SetMediaContent(nsIArray *aMediaContent) override { return _to SetMediaContent(aMediaContent); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFEEDENTRY(_to) \
  NS_IMETHOD GetSummary(nsIFeedTextConstruct **aSummary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSummary(aSummary); } \
  NS_IMETHOD SetSummary(nsIFeedTextConstruct *aSummary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSummary(aSummary); } \
  NS_IMETHOD GetPublished(nsAString& aPublished) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPublished(aPublished); } \
  NS_IMETHOD SetPublished(const nsAString& aPublished) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPublished(aPublished); } \
  NS_IMETHOD GetContent(nsIFeedTextConstruct **aContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(aContent); } \
  NS_IMETHOD SetContent(nsIFeedTextConstruct *aContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContent(aContent); } \
  NS_IMETHOD GetEnclosures(nsIArray **aEnclosures) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnclosures(aEnclosures); } \
  NS_IMETHOD SetEnclosures(nsIArray *aEnclosures) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnclosures(aEnclosures); } \
  NS_IMETHOD GetMediaContent(nsIArray **aMediaContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMediaContent(aMediaContent); } \
  NS_IMETHOD SetMediaContent(nsIArray *aMediaContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMediaContent(aMediaContent); } 


#endif /* __gen_nsIFeedEntry_h__ */