/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/builds/moz2_slave/m-cen-w32-xr/build/dom/interfaces/html/nsIDOMMozBrowserFrameElement.idl
 */

#ifndef __gen_nsIDOMMozBrowserFrameElement_h__
#define __gen_nsIDOMMozBrowserFrameElement_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:    nsIDOMMozGetContentStateCallback */
#define NS_IDOMMOZGETCONTENTSTATECALLBACK_IID_STR "37687881-1801-489f-ad03-7af651a93448"

#define NS_IDOMMOZGETCONTENTSTATECALLBACK_IID \
  {0x37687881, 0x1801, 0x489f, \
    { 0xad, 0x03, 0x7a, 0xf6, 0x51, 0xa9, 0x34, 0x48 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozGetContentStateCallback : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZGETCONTENTSTATECALLBACK_IID)

  /* void callback (in DOMString value); */
  NS_SCRIPTABLE NS_IMETHOD Callback(const nsAString & value) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozGetContentStateCallback, NS_IDOMMOZGETCONTENTSTATECALLBACK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMMOZGETCONTENTSTATECALLBACK \
  NS_SCRIPTABLE NS_IMETHOD Callback(const nsAString & value); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMMOZGETCONTENTSTATECALLBACK(_to) \
  NS_SCRIPTABLE NS_IMETHOD Callback(const nsAString & value) { return _to Callback(value); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMMOZGETCONTENTSTATECALLBACK(_to) \
  NS_SCRIPTABLE NS_IMETHOD Callback(const nsAString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->Callback(value); } 

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

/* Header file */
class nsDOMMozGetContentStateCallback : public nsIDOMMozGetContentStateCallback
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMMOZGETCONTENTSTATECALLBACK

  nsDOMMozGetContentStateCallback();

private:
  ~nsDOMMozGetContentStateCallback();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMMozGetContentStateCallback, nsIDOMMozGetContentStateCallback)

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

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

/* void callback (in DOMString value); */
NS_IMETHODIMP nsDOMMozGetContentStateCallback::Callback(const nsAString & value)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIDOMMozBrowserFrameElement */
#define NS_IDOMMOZBROWSERFRAMEELEMENT_IID_STR "2ff0f421-64e4-4186-b0dd-619629f46048"

#define NS_IDOMMOZBROWSERFRAMEELEMENT_IID \
  {0x2ff0f421, 0x64e4, 0x4186, \
    { 0xb0, 0xdd, 0x61, 0x96, 0x29, 0xf4, 0x60, 0x48 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozBrowserFrameElement : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZBROWSERFRAMEELEMENT_IID)

  /* attribute boolean mozBrowser; */
  NS_SCRIPTABLE NS_IMETHOD GetMozBrowser(bool *aMozBrowser) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetMozBrowser(bool aMozBrowser) = 0;

  /* void mozGetContentState (in DOMString property, in nsIDOMMozGetContentStateCallback callback); */
  NS_SCRIPTABLE NS_IMETHOD MozGetContentState(const nsAString & property, nsIDOMMozGetContentStateCallback *callback) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozBrowserFrameElement, NS_IDOMMOZBROWSERFRAMEELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMMOZBROWSERFRAMEELEMENT \
  NS_SCRIPTABLE NS_IMETHOD GetMozBrowser(bool *aMozBrowser); \
  NS_SCRIPTABLE NS_IMETHOD SetMozBrowser(bool aMozBrowser); \
  NS_SCRIPTABLE NS_IMETHOD MozGetContentState(const nsAString & property, nsIDOMMozGetContentStateCallback *callback); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMMOZBROWSERFRAMEELEMENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetMozBrowser(bool *aMozBrowser) { return _to GetMozBrowser(aMozBrowser); } \
  NS_SCRIPTABLE NS_IMETHOD SetMozBrowser(bool aMozBrowser) { return _to SetMozBrowser(aMozBrowser); } \
  NS_SCRIPTABLE NS_IMETHOD MozGetContentState(const nsAString & property, nsIDOMMozGetContentStateCallback *callback) { return _to MozGetContentState(property, callback); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMMOZBROWSERFRAMEELEMENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetMozBrowser(bool *aMozBrowser) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozBrowser(aMozBrowser); } \
  NS_SCRIPTABLE NS_IMETHOD SetMozBrowser(bool aMozBrowser) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMozBrowser(aMozBrowser); } \
  NS_SCRIPTABLE NS_IMETHOD MozGetContentState(const nsAString & property, nsIDOMMozGetContentStateCallback *callback) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozGetContentState(property, callback); } 

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

/* Header file */
class nsDOMMozBrowserFrameElement : public nsIDOMMozBrowserFrameElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMMOZBROWSERFRAMEELEMENT

  nsDOMMozBrowserFrameElement();

private:
  ~nsDOMMozBrowserFrameElement();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMMozBrowserFrameElement, nsIDOMMozBrowserFrameElement)

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

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

/* attribute boolean mozBrowser; */
NS_IMETHODIMP nsDOMMozBrowserFrameElement::GetMozBrowser(bool *aMozBrowser)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMMozBrowserFrameElement::SetMozBrowser(bool aMozBrowser)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void mozGetContentState (in DOMString property, in nsIDOMMozGetContentStateCallback callback); */
NS_IMETHODIMP nsDOMMozBrowserFrameElement::MozGetContentState(const nsAString & property, nsIDOMMozGetContentStateCallback *callback)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMMozBrowserFrameElement_h__ */
