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

#ifndef __gen_nsIPasswordManager_h__
#define __gen_nsIPasswordManager_h__

#include "nsISupports.h"


/* starting interface:    nsIPasswordManager */
#define NS_IPASSWORDMANAGER_IID_STR "110c808c-1dd2-11b2-8de5-814d4485c444"

#define NS_IPASSWORDMANAGER_IID \
  {0x110c808c, 0x1dd2, 0x11b2, \
    { 0x8d, 0xe5, 0x81, 0x4d, 0x44, 0x85, 0xc4, 0x44 }}

class NS_NO_VTABLE nsIPasswordManager : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPASSWORDMANAGER_IID)

  /* void removeUser (in string key, in wstring user); */
  NS_IMETHOD RemoveUser(const char *key, const PRUnichar *user) = 0;

  /* void storePassword (in string key, in wstring user, in wstring pass); */
  NS_IMETHOD StorePassword(const char *key, const PRUnichar *user, const PRUnichar *pass) = 0;

  /* [noscript] void getSignonListForViewer (in nsAutoStringRef aSignonList); */
  NS_IMETHOD GetSignonListForViewer(nsAutoString & aSignonList) = 0;

  /* [noscript] void getRejectListForViewer (in nsAutoStringRef aRejectList); */
  NS_IMETHOD GetRejectListForViewer(nsAutoString & aRejectList) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPASSWORDMANAGER \
  NS_IMETHOD RemoveUser(const char *key, const PRUnichar *user); \
  NS_IMETHOD StorePassword(const char *key, const PRUnichar *user, const PRUnichar *pass); \
  NS_IMETHOD GetSignonListForViewer(nsAutoString & aSignonList); \
  NS_IMETHOD GetRejectListForViewer(nsAutoString & aRejectList); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPASSWORDMANAGER(_to) \
  NS_IMETHOD RemoveUser(const char *key, const PRUnichar *user) { return _to ## RemoveUser(key, user); } \
  NS_IMETHOD StorePassword(const char *key, const PRUnichar *user, const PRUnichar *pass) { return _to ## StorePassword(key, user, pass); } \
  NS_IMETHOD GetSignonListForViewer(nsAutoString & aSignonList) { return _to ## GetSignonListForViewer(aSignonList); } \
  NS_IMETHOD GetRejectListForViewer(nsAutoString & aRejectList) { return _to ## GetRejectListForViewer(aRejectList); } 

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

/* Header file */
class nsPasswordManager : public nsIPasswordManager
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPASSWORDMANAGER

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsPasswordManager, nsIPasswordManager)

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

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

/* void removeUser (in string key, in wstring user); */
NS_IMETHODIMP nsPasswordManager::RemoveUser(const char *key, const PRUnichar *user)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void storePassword (in string key, in wstring user, in wstring pass); */
NS_IMETHODIMP nsPasswordManager::StorePassword(const char *key, const PRUnichar *user, const PRUnichar *pass)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void getSignonListForViewer (in nsAutoStringRef aSignonList); */
NS_IMETHODIMP nsPasswordManager::GetSignonListForViewer(nsAutoString & aSignonList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void getRejectListForViewer (in nsAutoStringRef aRejectList); */
NS_IMETHODIMP nsPasswordManager::GetRejectListForViewer(nsAutoString & aRejectList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIPasswordManager_h__ */
