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

#ifndef __gen_nsIAccessProxy_h__
#define __gen_nsIAccessProxy_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
  #include "nsIDOMEvent.h"
  #define NS_ACCESSPROXY_CID \
  { 0x7cb5b7a0, 0x7d7, 0x11d3, { 0xbd, 0xe2, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
  #define NS_ACCESSPROXY_CONTRACTID NS_IAPPSHELLCOMPONENT_CONTRACTID "/accessproxy;1"
class nsIDOMEvent; /* forward declaration */


/* starting interface:    nsIAccessProxy */
#define NS_IACCESSPROXY_IID_STR "57e45180-7b41-4815-beec-6cac25dfac57"

#define NS_IACCESSPROXY_IID \
  {0x57e45180, 0x7b41, 0x4815, \
    { 0xbe, 0xec, 0x6c, 0xac, 0x25, 0xdf, 0xac, 0x57 }}

class NS_NO_VTABLE nsIAccessProxy : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IACCESSPROXY_IID)

  /* void handleEvent (in nsIDOMEvent event); */
  NS_IMETHOD HandleEvent(nsIDOMEvent *event) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSPROXY \
  NS_IMETHOD HandleEvent(nsIDOMEvent *event); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSPROXY(_to) \
  NS_IMETHOD HandleEvent(nsIDOMEvent *event) { return _to ## HandleEvent(event); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIACCESSPROXY(_to) \
  NS_IMETHOD HandleEvent(nsIDOMEvent *event) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> HandleEvent(event); } 

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

/* Header file */
class nsAccessProxy : public nsIAccessProxy
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIACCESSPROXY

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAccessProxy, nsIAccessProxy)

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

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

/* void handleEvent (in nsIDOMEvent event); */
NS_IMETHODIMP nsAccessProxy::HandleEvent(nsIDOMEvent *event)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIAccessProxy_h__ */
