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

inICSSValueSearch

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

#ifndef __gen_inICSSValueSearch_h__
#define __gen_inICSSValueSearch_h__


#ifndef __gen_inISearchProcess_h__
#include "inISearchProcess.h"
#endif

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


/* starting interface:    inICSSValueSearch */
#define INICSSVALUESEARCH_IID_STR "e0d39e48-1dd1-11b2-81bd-9a0c117f0736"

#define INICSSVALUESEARCH_IID \
  {0xe0d39e48, 0x1dd1, 0x11b2, \
    { 0x81, 0xbd, 0x9a, 0x0c, 0x11, 0x7f, 0x07, 0x36 }}

class NS_NO_VTABLE inICSSValueSearch : public inISearchProcess {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(INICSSVALUESEARCH_IID)

  /* attribute nsIDOMDocument document; */
  NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) = 0;
  NS_IMETHOD SetDocument(nsIDOMDocument *aDocument) = 0;

  /* attribute wstring baseURL; */
  NS_IMETHOD GetBaseURL(char16_t * *aBaseURL) = 0;
  NS_IMETHOD SetBaseURL(const char16_t * aBaseURL) = 0;

  /* attribute boolean returnRelativeURLs; */
  NS_IMETHOD GetReturnRelativeURLs(bool *aReturnRelativeURLs) = 0;
  NS_IMETHOD SetReturnRelativeURLs(bool aReturnRelativeURLs) = 0;

  /* attribute boolean normalizeChromeURLs; */
  NS_IMETHOD GetNormalizeChromeURLs(bool *aNormalizeChromeURLs) = 0;
  NS_IMETHOD SetNormalizeChromeURLs(bool aNormalizeChromeURLs) = 0;

  /* void addPropertyCriteria (in wstring aPropName); */
  NS_IMETHOD AddPropertyCriteria(const char16_t * aPropName) = 0;

  /* attribute wstring textCriteria; */
  NS_IMETHOD GetTextCriteria(char16_t * *aTextCriteria) = 0;
  NS_IMETHOD SetTextCriteria(const char16_t * aTextCriteria) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(inICSSValueSearch, INICSSVALUESEARCH_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_INICSSVALUESEARCH \
  NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) override; \
  NS_IMETHOD SetDocument(nsIDOMDocument *aDocument) override; \
  NS_IMETHOD GetBaseURL(char16_t * *aBaseURL) override; \
  NS_IMETHOD SetBaseURL(const char16_t * aBaseURL) override; \
  NS_IMETHOD GetReturnRelativeURLs(bool *aReturnRelativeURLs) override; \
  NS_IMETHOD SetReturnRelativeURLs(bool aReturnRelativeURLs) override; \
  NS_IMETHOD GetNormalizeChromeURLs(bool *aNormalizeChromeURLs) override; \
  NS_IMETHOD SetNormalizeChromeURLs(bool aNormalizeChromeURLs) override; \
  NS_IMETHOD AddPropertyCriteria(const char16_t * aPropName) override; \
  NS_IMETHOD GetTextCriteria(char16_t * *aTextCriteria) override; \
  NS_IMETHOD SetTextCriteria(const char16_t * aTextCriteria) 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_INICSSVALUESEARCH \
  nsresult GetDocument(nsIDOMDocument * *aDocument); \
  nsresult SetDocument(nsIDOMDocument *aDocument); \
  nsresult GetBaseURL(char16_t * *aBaseURL); \
  nsresult SetBaseURL(const char16_t * aBaseURL); \
  nsresult GetReturnRelativeURLs(bool *aReturnRelativeURLs); \
  nsresult SetReturnRelativeURLs(bool aReturnRelativeURLs); \
  nsresult GetNormalizeChromeURLs(bool *aNormalizeChromeURLs); \
  nsresult SetNormalizeChromeURLs(bool aNormalizeChromeURLs); \
  nsresult AddPropertyCriteria(const char16_t * aPropName); \
  nsresult GetTextCriteria(char16_t * *aTextCriteria); \
  nsresult SetTextCriteria(const char16_t * aTextCriteria); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_INICSSVALUESEARCH(_to) \
  NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) override { return _to GetDocument(aDocument); } \
  NS_IMETHOD SetDocument(nsIDOMDocument *aDocument) override { return _to SetDocument(aDocument); } \
  NS_IMETHOD GetBaseURL(char16_t * *aBaseURL) override { return _to GetBaseURL(aBaseURL); } \
  NS_IMETHOD SetBaseURL(const char16_t * aBaseURL) override { return _to SetBaseURL(aBaseURL); } \
  NS_IMETHOD GetReturnRelativeURLs(bool *aReturnRelativeURLs) override { return _to GetReturnRelativeURLs(aReturnRelativeURLs); } \
  NS_IMETHOD SetReturnRelativeURLs(bool aReturnRelativeURLs) override { return _to SetReturnRelativeURLs(aReturnRelativeURLs); } \
  NS_IMETHOD GetNormalizeChromeURLs(bool *aNormalizeChromeURLs) override { return _to GetNormalizeChromeURLs(aNormalizeChromeURLs); } \
  NS_IMETHOD SetNormalizeChromeURLs(bool aNormalizeChromeURLs) override { return _to SetNormalizeChromeURLs(aNormalizeChromeURLs); } \
  NS_IMETHOD AddPropertyCriteria(const char16_t * aPropName) override { return _to AddPropertyCriteria(aPropName); } \
  NS_IMETHOD GetTextCriteria(char16_t * *aTextCriteria) override { return _to GetTextCriteria(aTextCriteria); } \
  NS_IMETHOD SetTextCriteria(const char16_t * aTextCriteria) override { return _to SetTextCriteria(aTextCriteria); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_INICSSVALUESEARCH(_to) \
  NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocument(aDocument); } \
  NS_IMETHOD SetDocument(nsIDOMDocument *aDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocument(aDocument); } \
  NS_IMETHOD GetBaseURL(char16_t * *aBaseURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseURL(aBaseURL); } \
  NS_IMETHOD SetBaseURL(const char16_t * aBaseURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBaseURL(aBaseURL); } \
  NS_IMETHOD GetReturnRelativeURLs(bool *aReturnRelativeURLs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReturnRelativeURLs(aReturnRelativeURLs); } \
  NS_IMETHOD SetReturnRelativeURLs(bool aReturnRelativeURLs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReturnRelativeURLs(aReturnRelativeURLs); } \
  NS_IMETHOD GetNormalizeChromeURLs(bool *aNormalizeChromeURLs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNormalizeChromeURLs(aNormalizeChromeURLs); } \
  NS_IMETHOD SetNormalizeChromeURLs(bool aNormalizeChromeURLs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNormalizeChromeURLs(aNormalizeChromeURLs); } \
  NS_IMETHOD AddPropertyCriteria(const char16_t * aPropName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddPropertyCriteria(aPropName); } \
  NS_IMETHOD GetTextCriteria(char16_t * *aTextCriteria) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextCriteria(aTextCriteria); } \
  NS_IMETHOD SetTextCriteria(const char16_t * aTextCriteria) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextCriteria(aTextCriteria); } 

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

/* Header file */
class inCSSValueSearch : public inICSSValueSearch
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_INICSSVALUESEARCH

  inCSSValueSearch();

private:
  ~inCSSValueSearch();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(inCSSValueSearch, inICSSValueSearch)

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

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

/* attribute nsIDOMDocument document; */
NS_IMETHODIMP inCSSValueSearch::GetDocument(nsIDOMDocument * *aDocument)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inCSSValueSearch::SetDocument(nsIDOMDocument *aDocument)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute wstring baseURL; */
NS_IMETHODIMP inCSSValueSearch::GetBaseURL(char16_t * *aBaseURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inCSSValueSearch::SetBaseURL(const char16_t * aBaseURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean returnRelativeURLs; */
NS_IMETHODIMP inCSSValueSearch::GetReturnRelativeURLs(bool *aReturnRelativeURLs)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inCSSValueSearch::SetReturnRelativeURLs(bool aReturnRelativeURLs)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean normalizeChromeURLs; */
NS_IMETHODIMP inCSSValueSearch::GetNormalizeChromeURLs(bool *aNormalizeChromeURLs)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inCSSValueSearch::SetNormalizeChromeURLs(bool aNormalizeChromeURLs)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addPropertyCriteria (in wstring aPropName); */
NS_IMETHODIMP inCSSValueSearch::AddPropertyCriteria(const char16_t * aPropName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute wstring textCriteria; */
NS_IMETHODIMP inCSSValueSearch::GetTextCriteria(char16_t * *aTextCriteria)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inCSSValueSearch::SetTextCriteria(const char16_t * aTextCriteria)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_inICSSValueSearch_h__ */