/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIWalletPreview.idl
 */

#ifndef __gen_nsIWalletPreview_h__
#define __gen_nsIWalletPreview_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 nsIDOMWindowInternal; /* forward declaration */


/* starting interface:    nsIWalletPreview */
#define NS_IWALLETPREVIEW_IID_STR "8f4cfe41-2152-11d3-abaa-0080c787ad96"

#define NS_IWALLETPREVIEW_IID \
  {0x8f4cfe41, 0x2152, 0x11d3, \
    { 0xab, 0xaa, 0x00, 0x80, 0xc7, 0x87, 0xad, 0x96 }}

class NS_NO_VTABLE nsIWalletPreview : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWALLETPREVIEW_IID)

  /* void SetValue (in wstring aValue, in nsIDOMWindowInternal win); */
  NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) = 0;

  /* wstring GetPrefillValue (); */
  NS_IMETHOD GetPrefillValue(PRUnichar **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIWALLETPREVIEW \
  NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win); \
  NS_IMETHOD GetPrefillValue(PRUnichar **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIWALLETPREVIEW(_to) \
  NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) { return _to SetValue(aValue, win); } \
  NS_IMETHOD GetPrefillValue(PRUnichar **_retval) { return _to GetPrefillValue(_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_NSIWALLETPREVIEW(_to) \
  NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue, win); } \
  NS_IMETHOD GetPrefillValue(PRUnichar **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrefillValue(_retval); } 

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

/* Header file */
class nsWalletPreview : public nsIWalletPreview
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIWALLETPREVIEW

  nsWalletPreview();
  virtual ~nsWalletPreview();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsWalletPreview, nsIWalletPreview)

nsWalletPreview::nsWalletPreview()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* void SetValue (in wstring aValue, in nsIDOMWindowInternal win); */
NS_IMETHODIMP nsWalletPreview::SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wstring GetPrefillValue (); */
NS_IMETHODIMP nsWalletPreview::GetPrefillValue(PRUnichar **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

// {8F4CFE40-2152-11d3-ABAA-0080C787AD96}
#define NS_WALLETPREVIEW_CID \
{ 0x8f4cfe40, 0x2152, 0x11d3, { 0xab, 0xaa, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96 } }

#endif /* __gen_nsIWalletPreview_h__ */
