/*
 * 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 \
  NS_METHOD GetDocument(nsIDOMDocument * *aDocument); \
  NS_METHOD SetDocument(nsIDOMDocument *aDocument); \
  NS_METHOD GetBaseURL(char16_t * *aBaseURL); \
  NS_METHOD SetBaseURL(const char16_t * aBaseURL); \
  NS_METHOD GetReturnRelativeURLs(bool *aReturnRelativeURLs); \
  NS_METHOD SetReturnRelativeURLs(bool aReturnRelativeURLs); \
  NS_METHOD GetNormalizeChromeURLs(bool *aNormalizeChromeURLs); \
  NS_METHOD SetNormalizeChromeURLs(bool aNormalizeChromeURLs); \
  NS_METHOD AddPropertyCriteria(const char16_t * aPropName); \
  NS_METHOD GetTextCriteria(char16_t * *aTextCriteria); \
  NS_METHOD 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__ */
