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

#ifndef __gen_nsIFeedTextConstruct_h__
#define __gen_nsIFeedTextConstruct_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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 */

namespace mozilla {
namespace dom {
class DocumentFragment; /* webidl DocumentFragment */
} // namespace dom
} // namespace mozilla

namespace mozilla {
namespace dom {
class Element; /* webidl Element */
} // namespace dom
} // namespace mozilla


/* starting interface:    nsIFeedTextConstruct */
#define NS_IFEEDTEXTCONSTRUCT_IID_STR "fc97a2a9-d649-4494-931e-db81a156c873"

#define NS_IFEEDTEXTCONSTRUCT_IID \
  {0xfc97a2a9, 0xd649, 0x4494, \
    { 0x93, 0x1e, 0xdb, 0x81, 0xa1, 0x56, 0xc8, 0x73 }}

class NS_NO_VTABLE nsIFeedTextConstruct : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFEEDTEXTCONSTRUCT_IID)

  /* attribute nsIURI base; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBase(nsIURI **aBase) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBase(nsIURI *aBase) = 0;

  /* attribute AString lang; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLang(nsAString& aLang) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLang(const nsAString& aLang) = 0;

  /* attribute AString type; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetType(nsAString& aType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetType(const nsAString& aType) = 0;

  /* attribute AString text; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetText(nsAString& aText) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetText(const nsAString& aText) = 0;

  /* AString plainText (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD PlainText(nsAString& _retval) = 0;

  /* DocumentFragment createDocumentFragment (in Element element); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CreateDocumentFragment(mozilla::dom::Element *element, mozilla::dom::DocumentFragment **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFeedTextConstruct, NS_IFEEDTEXTCONSTRUCT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFEEDTEXTCONSTRUCT \
  NS_IMETHOD GetBase(nsIURI **aBase) override; \
  NS_IMETHOD SetBase(nsIURI *aBase) override; \
  NS_IMETHOD GetLang(nsAString& aLang) override; \
  NS_IMETHOD SetLang(const nsAString& aLang) override; \
  NS_IMETHOD GetType(nsAString& aType) override; \
  NS_IMETHOD SetType(const nsAString& aType) override; \
  NS_IMETHOD GetText(nsAString& aText) override; \
  NS_IMETHOD SetText(const nsAString& aText) override; \
  NS_IMETHOD PlainText(nsAString& _retval) override; \
  NS_IMETHOD CreateDocumentFragment(mozilla::dom::Element *element, mozilla::dom::DocumentFragment **_retval) 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_NSIFEEDTEXTCONSTRUCT \
  nsresult GetBase(nsIURI **aBase); \
  nsresult SetBase(nsIURI *aBase); \
  nsresult GetLang(nsAString& aLang); \
  nsresult SetLang(const nsAString& aLang); \
  nsresult GetType(nsAString& aType); \
  nsresult SetType(const nsAString& aType); \
  nsresult GetText(nsAString& aText); \
  nsresult SetText(const nsAString& aText); \
  nsresult PlainText(nsAString& _retval); \
  nsresult CreateDocumentFragment(mozilla::dom::Element *element, mozilla::dom::DocumentFragment **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFEEDTEXTCONSTRUCT(_to) \
  NS_IMETHOD GetBase(nsIURI **aBase) override { return _to GetBase(aBase); } \
  NS_IMETHOD SetBase(nsIURI *aBase) override { return _to SetBase(aBase); } \
  NS_IMETHOD GetLang(nsAString& aLang) override { return _to GetLang(aLang); } \
  NS_IMETHOD SetLang(const nsAString& aLang) override { return _to SetLang(aLang); } \
  NS_IMETHOD GetType(nsAString& aType) override { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsAString& aType) override { return _to SetType(aType); } \
  NS_IMETHOD GetText(nsAString& aText) override { return _to GetText(aText); } \
  NS_IMETHOD SetText(const nsAString& aText) override { return _to SetText(aText); } \
  NS_IMETHOD PlainText(nsAString& _retval) override { return _to PlainText(_retval); } \
  NS_IMETHOD CreateDocumentFragment(mozilla::dom::Element *element, mozilla::dom::DocumentFragment **_retval) override { return _to CreateDocumentFragment(element, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFEEDTEXTCONSTRUCT(_to) \
  NS_IMETHOD GetBase(nsIURI **aBase) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBase(aBase); } \
  NS_IMETHOD SetBase(nsIURI *aBase) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBase(aBase); } \
  NS_IMETHOD GetLang(nsAString& aLang) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLang(aLang); } \
  NS_IMETHOD SetLang(const nsAString& aLang) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLang(aLang); } \
  NS_IMETHOD GetType(nsAString& aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsAString& aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_IMETHOD GetText(nsAString& aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
  NS_IMETHOD SetText(const nsAString& aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
  NS_IMETHOD PlainText(nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PlainText(_retval); } \
  NS_IMETHOD CreateDocumentFragment(mozilla::dom::Element *element, mozilla::dom::DocumentFragment **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateDocumentFragment(element, _retval); } 


#endif /* __gen_nsIFeedTextConstruct_h__ */