/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl\mozIStorageBindingParams.idl
 */

#ifndef __gen_mozIStorageBindingParams_h__
#define __gen_mozIStorageBindingParams_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 nsIVariant; /* forward declaration */


/* starting interface:    mozIStorageBindingParams */
#define MOZISTORAGEBINDINGPARAMS_IID_STR "7d8763ad-79d9-4674-ada1-37fd702af68c"

#define MOZISTORAGEBINDINGPARAMS_IID \
  {0x7d8763ad, 0x79d9, 0x4674, \
    { 0xad, 0xa1, 0x37, 0xfd, 0x70, 0x2a, 0xf6, 0x8c }}

class NS_NO_VTABLE mozIStorageBindingParams : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGEBINDINGPARAMS_IID)

  /* void bindByName (in AUTF8String aName, in nsIVariant aValue); */
  NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) = 0;

  /* [noscript] void bindUTF8StringByName (in AUTF8String aName, in AUTF8String aValue); */
  NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) = 0;

  /* [noscript] void bindStringByName (in AUTF8String aName, in AString aValue); */
  NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) = 0;

  /* [noscript] void bindDoubleByName (in AUTF8String aName, in double aValue); */
  NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) = 0;

  /* [noscript] void bindInt32ByName (in AUTF8String aName, in long aValue); */
  NS_IMETHOD BindInt32ByName(const nsACString & aName, int32_t aValue) = 0;

  /* [noscript] void bindInt64ByName (in AUTF8String aName, in long long aValue); */
  NS_IMETHOD BindInt64ByName(const nsACString & aName, int64_t aValue) = 0;

  /* [noscript] void bindNullByName (in AUTF8String aName); */
  NS_IMETHOD BindNullByName(const nsACString & aName) = 0;

  /* void bindBlobByName (in AUTF8String aName, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
  NS_IMETHOD BindBlobByName(const nsACString & aName, const uint8_t *aValue, uint32_t aValueSize) = 0;

  /* [noscript] void bindAdoptedBlobByName (in AUTF8String aName, [array, size_is (aValueSize)] in octet aValue, in unsigned long aValueSize); */
  NS_IMETHOD BindAdoptedBlobByName(const nsACString & aName, uint8_t *aValue, uint32_t aValueSize) = 0;

  /* void bindByIndex (in unsigned long aIndex, in nsIVariant aValue); */
  NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) = 0;

  /* [noscript] void bindUTF8StringByIndex (in unsigned long aIndex, in AUTF8String aValue); */
  NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString & aValue) = 0;

  /* [noscript] void bindStringByIndex (in unsigned long aIndex, in AString aValue); */
  NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString & aValue) = 0;

  /* [noscript] void bindDoubleByIndex (in unsigned long aIndex, in double aValue); */
  NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) = 0;

  /* [noscript] void bindInt32ByIndex (in unsigned long aIndex, in long aValue); */
  NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) = 0;

  /* [noscript] void bindInt64ByIndex (in unsigned long aIndex, in long long aValue); */
  NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) = 0;

  /* [noscript] void bindNullByIndex (in unsigned long aIndex); */
  NS_IMETHOD BindNullByIndex(uint32_t aIndex) = 0;

  /* void bindBlobByIndex (in unsigned long aIndex, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
  NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t *aValue, uint32_t aValueSize) = 0;

  /* [noscript] void bindAdoptedBlobByIndex (in unsigned long aIndex, [array, size_is (aValueSize)] in octet aValue, in unsigned long aValueSize); */
  NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t *aValue, uint32_t aValueSize) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageBindingParams, MOZISTORAGEBINDINGPARAMS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISTORAGEBINDINGPARAMS \
  NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) override; \
  NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) override; \
  NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) override; \
  NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) override; \
  NS_IMETHOD BindInt32ByName(const nsACString & aName, int32_t aValue) override; \
  NS_IMETHOD BindInt64ByName(const nsACString & aName, int64_t aValue) override; \
  NS_IMETHOD BindNullByName(const nsACString & aName) override; \
  NS_IMETHOD BindBlobByName(const nsACString & aName, const uint8_t *aValue, uint32_t aValueSize) override; \
  NS_IMETHOD BindAdoptedBlobByName(const nsACString & aName, uint8_t *aValue, uint32_t aValueSize) override; \
  NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) override; \
  NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString & aValue) override; \
  NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString & aValue) override; \
  NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) override; \
  NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) override; \
  NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) override; \
  NS_IMETHOD BindNullByIndex(uint32_t aIndex) override; \
  NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t *aValue, uint32_t aValueSize) override; \
  NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t *aValue, uint32_t aValueSize) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISTORAGEBINDINGPARAMS(_to) \
  NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) override { return _to BindByName(aName, aValue); } \
  NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) override { return _to BindUTF8StringByName(aName, aValue); } \
  NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) override { return _to BindStringByName(aName, aValue); } \
  NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) override { return _to BindDoubleByName(aName, aValue); } \
  NS_IMETHOD BindInt32ByName(const nsACString & aName, int32_t aValue) override { return _to BindInt32ByName(aName, aValue); } \
  NS_IMETHOD BindInt64ByName(const nsACString & aName, int64_t aValue) override { return _to BindInt64ByName(aName, aValue); } \
  NS_IMETHOD BindNullByName(const nsACString & aName) override { return _to BindNullByName(aName); } \
  NS_IMETHOD BindBlobByName(const nsACString & aName, const uint8_t *aValue, uint32_t aValueSize) override { return _to BindBlobByName(aName, aValue, aValueSize); } \
  NS_IMETHOD BindAdoptedBlobByName(const nsACString & aName, uint8_t *aValue, uint32_t aValueSize) override { return _to BindAdoptedBlobByName(aName, aValue, aValueSize); } \
  NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) override { return _to BindByIndex(aIndex, aValue); } \
  NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString & aValue) override { return _to BindUTF8StringByIndex(aIndex, aValue); } \
  NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString & aValue) override { return _to BindStringByIndex(aIndex, aValue); } \
  NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) override { return _to BindDoubleByIndex(aIndex, aValue); } \
  NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) override { return _to BindInt32ByIndex(aIndex, aValue); } \
  NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) override { return _to BindInt64ByIndex(aIndex, aValue); } \
  NS_IMETHOD BindNullByIndex(uint32_t aIndex) override { return _to BindNullByIndex(aIndex); } \
  NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t *aValue, uint32_t aValueSize) override { return _to BindBlobByIndex(aIndex, aValue, aValueSize); } \
  NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t *aValue, uint32_t aValueSize) override { return _to BindAdoptedBlobByIndex(aIndex, aValue, aValueSize); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZISTORAGEBINDINGPARAMS(_to) \
  NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindByName(aName, aValue); } \
  NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringByName(aName, aValue); } \
  NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringByName(aName, aValue); } \
  NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindDoubleByName(aName, aValue); } \
  NS_IMETHOD BindInt32ByName(const nsACString & aName, int32_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt32ByName(aName, aValue); } \
  NS_IMETHOD BindInt64ByName(const nsACString & aName, int64_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt64ByName(aName, aValue); } \
  NS_IMETHOD BindNullByName(const nsACString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindNullByName(aName); } \
  NS_IMETHOD BindBlobByName(const nsACString & aName, const uint8_t *aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobByName(aName, aValue, aValueSize); } \
  NS_IMETHOD BindAdoptedBlobByName(const nsACString & aName, uint8_t *aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindAdoptedBlobByName(aName, aValue, aValueSize); } \
  NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindByIndex(aIndex, aValue); } \
  NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringByIndex(aIndex, aValue); } \
  NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringByIndex(aIndex, aValue); } \
  NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindDoubleByIndex(aIndex, aValue); } \
  NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt32ByIndex(aIndex, aValue); } \
  NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt64ByIndex(aIndex, aValue); } \
  NS_IMETHOD BindNullByIndex(uint32_t aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindNullByIndex(aIndex); } \
  NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t *aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobByIndex(aIndex, aValue, aValueSize); } \
  NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t *aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindAdoptedBlobByIndex(aIndex, aValue, aValueSize); } 

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

/* Header file */
class _MYCLASS_ : public mozIStorageBindingParams
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_MOZISTORAGEBINDINGPARAMS

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozIStorageBindingParams)

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

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

/* void bindByName (in AUTF8String aName, in nsIVariant aValue); */
NS_IMETHODIMP _MYCLASS_::BindByName(const nsACString & aName, nsIVariant *aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindUTF8StringByName (in AUTF8String aName, in AUTF8String aValue); */
NS_IMETHODIMP _MYCLASS_::BindUTF8StringByName(const nsACString & aName, const nsACString & aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindStringByName (in AUTF8String aName, in AString aValue); */
NS_IMETHODIMP _MYCLASS_::BindStringByName(const nsACString & aName, const nsAString & aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindDoubleByName (in AUTF8String aName, in double aValue); */
NS_IMETHODIMP _MYCLASS_::BindDoubleByName(const nsACString & aName, double aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindInt32ByName (in AUTF8String aName, in long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt32ByName(const nsACString & aName, int32_t aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindInt64ByName (in AUTF8String aName, in long long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt64ByName(const nsACString & aName, int64_t aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindNullByName (in AUTF8String aName); */
NS_IMETHODIMP _MYCLASS_::BindNullByName(const nsACString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void bindBlobByName (in AUTF8String aName, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
NS_IMETHODIMP _MYCLASS_::BindBlobByName(const nsACString & aName, const uint8_t *aValue, uint32_t aValueSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindAdoptedBlobByName (in AUTF8String aName, [array, size_is (aValueSize)] in octet aValue, in unsigned long aValueSize); */
NS_IMETHODIMP _MYCLASS_::BindAdoptedBlobByName(const nsACString & aName, uint8_t *aValue, uint32_t aValueSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void bindByIndex (in unsigned long aIndex, in nsIVariant aValue); */
NS_IMETHODIMP _MYCLASS_::BindByIndex(uint32_t aIndex, nsIVariant *aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindUTF8StringByIndex (in unsigned long aIndex, in AUTF8String aValue); */
NS_IMETHODIMP _MYCLASS_::BindUTF8StringByIndex(uint32_t aIndex, const nsACString & aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindStringByIndex (in unsigned long aIndex, in AString aValue); */
NS_IMETHODIMP _MYCLASS_::BindStringByIndex(uint32_t aIndex, const nsAString & aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindDoubleByIndex (in unsigned long aIndex, in double aValue); */
NS_IMETHODIMP _MYCLASS_::BindDoubleByIndex(uint32_t aIndex, double aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindInt32ByIndex (in unsigned long aIndex, in long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt32ByIndex(uint32_t aIndex, int32_t aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindInt64ByIndex (in unsigned long aIndex, in long long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt64ByIndex(uint32_t aIndex, int64_t aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindNullByIndex (in unsigned long aIndex); */
NS_IMETHODIMP _MYCLASS_::BindNullByIndex(uint32_t aIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void bindBlobByIndex (in unsigned long aIndex, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
NS_IMETHODIMP _MYCLASS_::BindBlobByIndex(uint32_t aIndex, const uint8_t *aValue, uint32_t aValueSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void bindAdoptedBlobByIndex (in unsigned long aIndex, [array, size_is (aValueSize)] in octet aValue, in unsigned long aValueSize); */
NS_IMETHODIMP _MYCLASS_::BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t *aValue, uint32_t aValueSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_mozIStorageBindingParams_h__ */
