/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsISimpleURIMutator.idl
 */

#ifndef __gen_nsISimpleURIMutator_h__
#define __gen_nsISimpleURIMutator_h__


#include "nsISupports.h"

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


/* starting interface:    nsISimpleURIMutator */
#define NS_ISIMPLEURIMUTATOR_IID_STR "e055bddd-f3c2-404b-adec-db9304e93be2"

#define NS_ISIMPLEURIMUTATOR_IID \
  {0xe055bddd, 0xf3c2, 0x404b, \
    { 0xad, 0xec, 0xdb, 0x93, 0x04, 0xe9, 0x3b, 0xe2 }}

class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_nsISimpleURIMutator) nsISimpleURIMutator : public nsISupports {
 public:

  NS_INLINE_DECL_STATIC_IID(NS_ISIMPLEURIMUTATOR_IID)

  /* Used by ToJSValue to check which scriptable interface is implemented. */
  using ScriptableInterfaceType = nsISimpleURIMutator;

  /* nsIURIMutator setSpecAndFilterWhitespace (in AUTF8String aSpec); */
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsISimpleURIMutator_setSpecAndFilterWhitespace)
  NS_IMETHOD SetSpecAndFilterWhitespace(const nsACString& aSpec, nsIURIMutator **_retval) = 0;

};


/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISIMPLEURIMUTATOR \
  NS_IMETHOD SetSpecAndFilterWhitespace(const nsACString& aSpec, nsIURIMutator **_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_NSISIMPLEURIMUTATOR \
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsISimpleURIMutator_setSpecAndFilterWhitespace)\
  nsresult SetSpecAndFilterWhitespace(const nsACString& aSpec, nsIURIMutator **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISIMPLEURIMUTATOR(_to) \
  NS_IMETHOD SetSpecAndFilterWhitespace(const nsACString& aSpec, nsIURIMutator **_retval) override { return _to SetSpecAndFilterWhitespace(aSpec, _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_NSISIMPLEURIMUTATOR(_to) \
  NS_IMETHOD SetSpecAndFilterWhitespace(const nsACString& aSpec, nsIURIMutator **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpecAndFilterWhitespace(aSpec, _retval); } 


#endif /* __gen_nsISimpleURIMutator_h__ */
