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

#ifndef __gen_nsISecurityManagerComponent_h__
#define __gen_nsISecurityManagerComponent_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

/* starting interface:    nsISecurityManagerComponent */
#define NS_ISECURITYMANAGERCOMPONENT_IID_STR "3ef604be-1dd2-11b2-92cc-faae57e1901a"

#define NS_ISECURITYMANAGERCOMPONENT_IID \
  {0x3ef604be, 0x1dd2, 0x11b2, \
    { 0x92, 0xcc, 0xfa, 0xae, 0x57, 0xe1, 0x90, 0x1a }}

class NS_NO_VTABLE nsISecurityManagerComponent : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISECURITYMANAGERCOMPONENT_IID)

  /**
   *  Display the Security Advisor.
   */
  /* string GetPassword (); */
  NS_IMETHOD GetPassword(char **_retval) = 0;

  /* void displaySecurityAdvisor (); */
  NS_IMETHOD DisplaySecurityAdvisor(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISECURITYMANAGERCOMPONENT \
  NS_IMETHOD GetPassword(char **_retval); \
  NS_IMETHOD DisplaySecurityAdvisor(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISECURITYMANAGERCOMPONENT(_to) \
  NS_IMETHOD GetPassword(char **_retval) { return _to ## GetPassword(_retval); } \
  NS_IMETHOD DisplaySecurityAdvisor(void) { return _to ## DisplaySecurityAdvisor(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISECURITYMANAGERCOMPONENT(_to) \
  NS_IMETHOD GetPassword(char **_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetPassword(_retval); } \
  NS_IMETHOD DisplaySecurityAdvisor(void) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> DisplaySecurityAdvisor(); } 

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

/* Header file */
class nsSecurityManagerComponent : public nsISecurityManagerComponent
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISECURITYMANAGERCOMPONENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsSecurityManagerComponent, nsISecurityManagerComponent)

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

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

/* string GetPassword (); */
NS_IMETHODIMP nsSecurityManagerComponent::GetPassword(char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void displaySecurityAdvisor (); */
NS_IMETHODIMP nsSecurityManagerComponent::DisplaySecurityAdvisor()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

#define PSM_COMPONENT_CONTRACTID "@mozilla.org/psm;1"
#define PSM_COMPONENT_CLASSNAME "Mozilla PSM Component"

#endif /* __gen_nsISecurityManagerComponent_h__ */
