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

#ifndef __gen_nsIAccessibleWin32Object_h__
#define __gen_nsIAccessibleWin32Object_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:    nsIAccessibleWin32Object */
#define NS_IACCESSIBLEWIN32OBJECT_IID_STR "ca7a3a93-822f-4cdf-8cb4-c52d16b9afc7"

#define NS_IACCESSIBLEWIN32OBJECT_IID \
  {0xca7a3a93, 0x822f, 0x4cdf, \
    { 0x8c, 0xb4, 0xc5, 0x2d, 0x16, 0xb9, 0xaf, 0xc7 }}

class NS_NO_VTABLE nsIAccessibleWin32Object : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEWIN32OBJECT_IID)

  /** handle to the external window implementing IAccessible */
  /* readonly attribute long hwnd; */
  NS_IMETHOD GetHwnd(PRInt32 *aHwnd) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLEWIN32OBJECT \
  NS_IMETHOD GetHwnd(PRInt32 *aHwnd); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLEWIN32OBJECT(_to) \
  NS_IMETHOD GetHwnd(PRInt32 *aHwnd) { return _to GetHwnd(aHwnd); } 

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

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

/* Header file */
class nsAccessibleWin32Object : public nsIAccessibleWin32Object
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIACCESSIBLEWIN32OBJECT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAccessibleWin32Object, nsIAccessibleWin32Object)

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

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

/* readonly attribute long hwnd; */
NS_IMETHODIMP nsAccessibleWin32Object::GetHwnd(PRInt32 *aHwnd)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIAccessibleWin32Object_h__ */
