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

inIDOMView

Macros

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 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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/inIDOMView.idl
 */

#ifndef __gen_inIDOMView_h__
#define __gen_inIDOMView_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMNode; /* forward declaration */


/* starting interface:    inIDOMView */
#define INIDOMVIEW_IID_STR "fbb67442-27a3-483c-8eb2-29c3eed7514c"

#define INIDOMVIEW_IID \
  {0xfbb67442, 0x27a3, 0x483c, \
    { 0x8e, 0xb2, 0x29, 0xc3, 0xee, 0xd7, 0x51, 0x4c }}

class NS_NO_VTABLE inIDOMView : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(INIDOMVIEW_IID)

  /* attribute nsIDOMNode rootNode; */
  NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) = 0;
  NS_IMETHOD SetRootNode(nsIDOMNode *aRootNode) = 0;

  /* attribute boolean showAnonymousContent; */
  NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) = 0;
  NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) = 0;

  /* attribute boolean showSubDocuments; */
  NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) = 0;
  NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) = 0;

  /* attribute boolean showWhitespaceNodes; */
  NS_IMETHOD GetShowWhitespaceNodes(bool *aShowWhitespaceNodes) = 0;
  NS_IMETHOD SetShowWhitespaceNodes(bool aShowWhitespaceNodes) = 0;

  /* attribute boolean showAccessibleNodes; */
  NS_IMETHOD GetShowAccessibleNodes(bool *aShowAccessibleNodes) = 0;
  NS_IMETHOD SetShowAccessibleNodes(bool aShowAccessibleNodes) = 0;

  /* attribute unsigned long whatToShow; */
  NS_IMETHOD GetWhatToShow(uint32_t *aWhatToShow) = 0;
  NS_IMETHOD SetWhatToShow(uint32_t aWhatToShow) = 0;

  /* nsIDOMNode getNodeFromRowIndex (in long rowIndex); */
  NS_IMETHOD GetNodeFromRowIndex(int32_t rowIndex, nsIDOMNode * *_retval) = 0;

  /* long getRowIndexFromNode (in nsIDOMNode node); */
  NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, int32_t *_retval) = 0;

  /* void rebuild (); */
  NS_IMETHOD Rebuild(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(inIDOMView, INIDOMVIEW_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_INIDOMVIEW \
  NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) override; \
  NS_IMETHOD SetRootNode(nsIDOMNode *aRootNode) override; \
  NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) override; \
  NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) override; \
  NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) override; \
  NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) override; \
  NS_IMETHOD GetShowWhitespaceNodes(bool *aShowWhitespaceNodes) override; \
  NS_IMETHOD SetShowWhitespaceNodes(bool aShowWhitespaceNodes) override; \
  NS_IMETHOD GetShowAccessibleNodes(bool *aShowAccessibleNodes) override; \
  NS_IMETHOD SetShowAccessibleNodes(bool aShowAccessibleNodes) override; \
  NS_IMETHOD GetWhatToShow(uint32_t *aWhatToShow) override; \
  NS_IMETHOD SetWhatToShow(uint32_t aWhatToShow) override; \
  NS_IMETHOD GetNodeFromRowIndex(int32_t rowIndex, nsIDOMNode * *_retval) override; \
  NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, int32_t *_retval) override; \
  NS_IMETHOD Rebuild(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_INIDOMVIEW \
  nsresult GetRootNode(nsIDOMNode * *aRootNode); \
  nsresult SetRootNode(nsIDOMNode *aRootNode); \
  nsresult GetShowAnonymousContent(bool *aShowAnonymousContent); \
  nsresult SetShowAnonymousContent(bool aShowAnonymousContent); \
  nsresult GetShowSubDocuments(bool *aShowSubDocuments); \
  nsresult SetShowSubDocuments(bool aShowSubDocuments); \
  nsresult GetShowWhitespaceNodes(bool *aShowWhitespaceNodes); \
  nsresult SetShowWhitespaceNodes(bool aShowWhitespaceNodes); \
  nsresult GetShowAccessibleNodes(bool *aShowAccessibleNodes); \
  nsresult SetShowAccessibleNodes(bool aShowAccessibleNodes); \
  nsresult GetWhatToShow(uint32_t *aWhatToShow); \
  nsresult SetWhatToShow(uint32_t aWhatToShow); \
  nsresult GetNodeFromRowIndex(int32_t rowIndex, nsIDOMNode * *_retval); \
  nsresult GetRowIndexFromNode(nsIDOMNode *node, int32_t *_retval); \
  nsresult Rebuild(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_INIDOMVIEW(_to) \
  NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) override { return _to GetRootNode(aRootNode); } \
  NS_IMETHOD SetRootNode(nsIDOMNode *aRootNode) override { return _to SetRootNode(aRootNode); } \
  NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) override { return _to GetShowAnonymousContent(aShowAnonymousContent); } \
  NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) override { return _to SetShowAnonymousContent(aShowAnonymousContent); } \
  NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) override { return _to GetShowSubDocuments(aShowSubDocuments); } \
  NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) override { return _to SetShowSubDocuments(aShowSubDocuments); } \
  NS_IMETHOD GetShowWhitespaceNodes(bool *aShowWhitespaceNodes) override { return _to GetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  NS_IMETHOD SetShowWhitespaceNodes(bool aShowWhitespaceNodes) override { return _to SetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  NS_IMETHOD GetShowAccessibleNodes(bool *aShowAccessibleNodes) override { return _to GetShowAccessibleNodes(aShowAccessibleNodes); } \
  NS_IMETHOD SetShowAccessibleNodes(bool aShowAccessibleNodes) override { return _to SetShowAccessibleNodes(aShowAccessibleNodes); } \
  NS_IMETHOD GetWhatToShow(uint32_t *aWhatToShow) override { return _to GetWhatToShow(aWhatToShow); } \
  NS_IMETHOD SetWhatToShow(uint32_t aWhatToShow) override { return _to SetWhatToShow(aWhatToShow); } \
  NS_IMETHOD GetNodeFromRowIndex(int32_t rowIndex, nsIDOMNode * *_retval) override { return _to GetNodeFromRowIndex(rowIndex, _retval); } \
  NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, int32_t *_retval) override { return _to GetRowIndexFromNode(node, _retval); } \
  NS_IMETHOD Rebuild(void) override { return _to Rebuild(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_INIDOMVIEW(_to) \
  NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootNode(aRootNode); } \
  NS_IMETHOD SetRootNode(nsIDOMNode *aRootNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRootNode(aRootNode); } \
  NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowAnonymousContent(aShowAnonymousContent); } \
  NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowAnonymousContent(aShowAnonymousContent); } \
  NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowSubDocuments(aShowSubDocuments); } \
  NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowSubDocuments(aShowSubDocuments); } \
  NS_IMETHOD GetShowWhitespaceNodes(bool *aShowWhitespaceNodes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  NS_IMETHOD SetShowWhitespaceNodes(bool aShowWhitespaceNodes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  NS_IMETHOD GetShowAccessibleNodes(bool *aShowAccessibleNodes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowAccessibleNodes(aShowAccessibleNodes); } \
  NS_IMETHOD SetShowAccessibleNodes(bool aShowAccessibleNodes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowAccessibleNodes(aShowAccessibleNodes); } \
  NS_IMETHOD GetWhatToShow(uint32_t *aWhatToShow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWhatToShow(aWhatToShow); } \
  NS_IMETHOD SetWhatToShow(uint32_t aWhatToShow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWhatToShow(aWhatToShow); } \
  NS_IMETHOD GetNodeFromRowIndex(int32_t rowIndex, nsIDOMNode * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodeFromRowIndex(rowIndex, _retval); } \
  NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndexFromNode(node, _retval); } \
  NS_IMETHOD Rebuild(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Rebuild(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class inDOMView : public inIDOMView
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_INIDOMVIEW

  inDOMView();

private:
  ~inDOMView();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(inDOMView, inIDOMView)

inDOMView::inDOMView()
{
  /* member initializers and constructor code */
}

inDOMView::~inDOMView()
{
  /* destructor code */
}

/* attribute nsIDOMNode rootNode; */
NS_IMETHODIMP inDOMView::GetRootNode(nsIDOMNode * *aRootNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inDOMView::SetRootNode(nsIDOMNode *aRootNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean showAnonymousContent; */
NS_IMETHODIMP inDOMView::GetShowAnonymousContent(bool *aShowAnonymousContent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inDOMView::SetShowAnonymousContent(bool aShowAnonymousContent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean showSubDocuments; */
NS_IMETHODIMP inDOMView::GetShowSubDocuments(bool *aShowSubDocuments)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inDOMView::SetShowSubDocuments(bool aShowSubDocuments)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean showWhitespaceNodes; */
NS_IMETHODIMP inDOMView::GetShowWhitespaceNodes(bool *aShowWhitespaceNodes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inDOMView::SetShowWhitespaceNodes(bool aShowWhitespaceNodes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean showAccessibleNodes; */
NS_IMETHODIMP inDOMView::GetShowAccessibleNodes(bool *aShowAccessibleNodes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inDOMView::SetShowAccessibleNodes(bool aShowAccessibleNodes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long whatToShow; */
NS_IMETHODIMP inDOMView::GetWhatToShow(uint32_t *aWhatToShow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inDOMView::SetWhatToShow(uint32_t aWhatToShow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMNode getNodeFromRowIndex (in long rowIndex); */
NS_IMETHODIMP inDOMView::GetNodeFromRowIndex(int32_t rowIndex, nsIDOMNode * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getRowIndexFromNode (in nsIDOMNode node); */
NS_IMETHODIMP inDOMView::GetRowIndexFromNode(nsIDOMNode *node, int32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void rebuild (); */
NS_IMETHODIMP inDOMView::Rebuild()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_inIDOMView_h__ */