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

#ifndef __gen_nsIDOMNavigator_h__
#define __gen_nsIDOMNavigator_h__


#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

/* starting interface:    nsIDOMNavigator */
#define NS_IDOMNAVIGATOR_IID_STR "a6cf906e-15b3-11d2-932e-00805f8add32"

#define NS_IDOMNAVIGATOR_IID \
  {0xa6cf906e, 0x15b3, 0x11d2, \
    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}

class NS_NO_VTABLE nsIDOMNavigator : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNAVIGATOR_IID)

  /* readonly attribute DOMString appCodeName; */
  NS_IMETHOD GetAppCodeName(nsAWritableString & aAppCodeName) = 0;

  /* readonly attribute DOMString appName; */
  NS_IMETHOD GetAppName(nsAWritableString & aAppName) = 0;

  /* readonly attribute DOMString appVersion; */
  NS_IMETHOD GetAppVersion(nsAWritableString & aAppVersion) = 0;

  /* readonly attribute DOMString language; */
  NS_IMETHOD GetLanguage(nsAWritableString & aLanguage) = 0;

  /* readonly attribute nsIDOMMimeTypeArray mimeTypes; */
  NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray * *aMimeTypes) = 0;

  /* readonly attribute DOMString platform; */
  NS_IMETHOD GetPlatform(nsAWritableString & aPlatform) = 0;

  /* readonly attribute DOMString oscpu; */
  NS_IMETHOD GetOscpu(nsAWritableString & aOscpu) = 0;

  /* readonly attribute DOMString vendor; */
  NS_IMETHOD GetVendor(nsAWritableString & aVendor) = 0;

  /* readonly attribute DOMString vendorSub; */
  NS_IMETHOD GetVendorSub(nsAWritableString & aVendorSub) = 0;

  /* readonly attribute DOMString product; */
  NS_IMETHOD GetProduct(nsAWritableString & aProduct) = 0;

  /* readonly attribute DOMString productSub; */
  NS_IMETHOD GetProductSub(nsAWritableString & aProductSub) = 0;

  /* readonly attribute nsIDOMPluginArray plugins; */
  NS_IMETHOD GetPlugins(nsIDOMPluginArray * *aPlugins) = 0;

  /* readonly attribute DOMString securityPolicy; */
  NS_IMETHOD GetSecurityPolicy(nsAWritableString & aSecurityPolicy) = 0;

  /* readonly attribute DOMString userAgent; */
  NS_IMETHOD GetUserAgent(nsAWritableString & aUserAgent) = 0;

  /* readonly attribute boolean cookieEnabled; */
  NS_IMETHOD GetCookieEnabled(PRBool *aCookieEnabled) = 0;

  /* boolean javaEnabled (); */
  NS_IMETHOD JavaEnabled(PRBool *_retval) = 0;

  /* boolean taintEnabled (); */
  NS_IMETHOD TaintEnabled(PRBool *_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMNAVIGATOR \
  NS_IMETHOD GetAppCodeName(nsAWritableString & aAppCodeName); \
  NS_IMETHOD GetAppName(nsAWritableString & aAppName); \
  NS_IMETHOD GetAppVersion(nsAWritableString & aAppVersion); \
  NS_IMETHOD GetLanguage(nsAWritableString & aLanguage); \
  NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray * *aMimeTypes); \
  NS_IMETHOD GetPlatform(nsAWritableString & aPlatform); \
  NS_IMETHOD GetOscpu(nsAWritableString & aOscpu); \
  NS_IMETHOD GetVendor(nsAWritableString & aVendor); \
  NS_IMETHOD GetVendorSub(nsAWritableString & aVendorSub); \
  NS_IMETHOD GetProduct(nsAWritableString & aProduct); \
  NS_IMETHOD GetProductSub(nsAWritableString & aProductSub); \
  NS_IMETHOD GetPlugins(nsIDOMPluginArray * *aPlugins); \
  NS_IMETHOD GetSecurityPolicy(nsAWritableString & aSecurityPolicy); \
  NS_IMETHOD GetUserAgent(nsAWritableString & aUserAgent); \
  NS_IMETHOD GetCookieEnabled(PRBool *aCookieEnabled); \
  NS_IMETHOD JavaEnabled(PRBool *_retval); \
  NS_IMETHOD TaintEnabled(PRBool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMNAVIGATOR(_to) \
  NS_IMETHOD GetAppCodeName(nsAWritableString & aAppCodeName) { return _to ## GetAppCodeName(aAppCodeName); } \
  NS_IMETHOD GetAppName(nsAWritableString & aAppName) { return _to ## GetAppName(aAppName); } \
  NS_IMETHOD GetAppVersion(nsAWritableString & aAppVersion) { return _to ## GetAppVersion(aAppVersion); } \
  NS_IMETHOD GetLanguage(nsAWritableString & aLanguage) { return _to ## GetLanguage(aLanguage); } \
  NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray * *aMimeTypes) { return _to ## GetMimeTypes(aMimeTypes); } \
  NS_IMETHOD GetPlatform(nsAWritableString & aPlatform) { return _to ## GetPlatform(aPlatform); } \
  NS_IMETHOD GetOscpu(nsAWritableString & aOscpu) { return _to ## GetOscpu(aOscpu); } \
  NS_IMETHOD GetVendor(nsAWritableString & aVendor) { return _to ## GetVendor(aVendor); } \
  NS_IMETHOD GetVendorSub(nsAWritableString & aVendorSub) { return _to ## GetVendorSub(aVendorSub); } \
  NS_IMETHOD GetProduct(nsAWritableString & aProduct) { return _to ## GetProduct(aProduct); } \
  NS_IMETHOD GetProductSub(nsAWritableString & aProductSub) { return _to ## GetProductSub(aProductSub); } \
  NS_IMETHOD GetPlugins(nsIDOMPluginArray * *aPlugins) { return _to ## GetPlugins(aPlugins); } \
  NS_IMETHOD GetSecurityPolicy(nsAWritableString & aSecurityPolicy) { return _to ## GetSecurityPolicy(aSecurityPolicy); } \
  NS_IMETHOD GetUserAgent(nsAWritableString & aUserAgent) { return _to ## GetUserAgent(aUserAgent); } \
  NS_IMETHOD GetCookieEnabled(PRBool *aCookieEnabled) { return _to ## GetCookieEnabled(aCookieEnabled); } \
  NS_IMETHOD JavaEnabled(PRBool *_retval) { return _to ## JavaEnabled(_retval); } \
  NS_IMETHOD TaintEnabled(PRBool *_retval) { return _to ## TaintEnabled(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMNAVIGATOR(_to) \
  NS_IMETHOD GetAppCodeName(nsAWritableString & aAppCodeName) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetAppCodeName(aAppCodeName); } \
  NS_IMETHOD GetAppName(nsAWritableString & aAppName) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetAppName(aAppName); } \
  NS_IMETHOD GetAppVersion(nsAWritableString & aAppVersion) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetAppVersion(aAppVersion); } \
  NS_IMETHOD GetLanguage(nsAWritableString & aLanguage) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetLanguage(aLanguage); } \
  NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray * *aMimeTypes) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetMimeTypes(aMimeTypes); } \
  NS_IMETHOD GetPlatform(nsAWritableString & aPlatform) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetPlatform(aPlatform); } \
  NS_IMETHOD GetOscpu(nsAWritableString & aOscpu) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetOscpu(aOscpu); } \
  NS_IMETHOD GetVendor(nsAWritableString & aVendor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetVendor(aVendor); } \
  NS_IMETHOD GetVendorSub(nsAWritableString & aVendorSub) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetVendorSub(aVendorSub); } \
  NS_IMETHOD GetProduct(nsAWritableString & aProduct) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetProduct(aProduct); } \
  NS_IMETHOD GetProductSub(nsAWritableString & aProductSub) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetProductSub(aProductSub); } \
  NS_IMETHOD GetPlugins(nsIDOMPluginArray * *aPlugins) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetPlugins(aPlugins); } \
  NS_IMETHOD GetSecurityPolicy(nsAWritableString & aSecurityPolicy) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetSecurityPolicy(aSecurityPolicy); } \
  NS_IMETHOD GetUserAgent(nsAWritableString & aUserAgent) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetUserAgent(aUserAgent); } \
  NS_IMETHOD GetCookieEnabled(PRBool *aCookieEnabled) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetCookieEnabled(aCookieEnabled); } \
  NS_IMETHOD JavaEnabled(PRBool *_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> JavaEnabled(_retval); } \
  NS_IMETHOD TaintEnabled(PRBool *_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> TaintEnabled(_retval); } 

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

/* Header file */
class nsDOMNavigator : public nsIDOMNavigator
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMNAVIGATOR

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMNavigator, nsIDOMNavigator)

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

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

/* readonly attribute DOMString appCodeName; */
NS_IMETHODIMP nsDOMNavigator::GetAppCodeName(nsAWritableString & aAppCodeName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString appName; */
NS_IMETHODIMP nsDOMNavigator::GetAppName(nsAWritableString & aAppName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString appVersion; */
NS_IMETHODIMP nsDOMNavigator::GetAppVersion(nsAWritableString & aAppVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString language; */
NS_IMETHODIMP nsDOMNavigator::GetLanguage(nsAWritableString & aLanguage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMMimeTypeArray mimeTypes; */
NS_IMETHODIMP nsDOMNavigator::GetMimeTypes(nsIDOMMimeTypeArray * *aMimeTypes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString platform; */
NS_IMETHODIMP nsDOMNavigator::GetPlatform(nsAWritableString & aPlatform)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString oscpu; */
NS_IMETHODIMP nsDOMNavigator::GetOscpu(nsAWritableString & aOscpu)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString vendor; */
NS_IMETHODIMP nsDOMNavigator::GetVendor(nsAWritableString & aVendor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString vendorSub; */
NS_IMETHODIMP nsDOMNavigator::GetVendorSub(nsAWritableString & aVendorSub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString product; */
NS_IMETHODIMP nsDOMNavigator::GetProduct(nsAWritableString & aProduct)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString productSub; */
NS_IMETHODIMP nsDOMNavigator::GetProductSub(nsAWritableString & aProductSub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMPluginArray plugins; */
NS_IMETHODIMP nsDOMNavigator::GetPlugins(nsIDOMPluginArray * *aPlugins)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString securityPolicy; */
NS_IMETHODIMP nsDOMNavigator::GetSecurityPolicy(nsAWritableString & aSecurityPolicy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString userAgent; */
NS_IMETHODIMP nsDOMNavigator::GetUserAgent(nsAWritableString & aUserAgent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean cookieEnabled; */
NS_IMETHODIMP nsDOMNavigator::GetCookieEnabled(PRBool *aCookieEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean javaEnabled (); */
NS_IMETHODIMP nsDOMNavigator::JavaEnabled(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean taintEnabled (); */
NS_IMETHODIMP nsDOMNavigator::TaintEnabled(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIDOMJSNavigator */
#define NS_IDOMJSNAVIGATOR_IID_STR "4b4f8316-1dd2-11b2-b265-9a857376d159"

#define NS_IDOMJSNAVIGATOR_IID \
  {0x4b4f8316, 0x1dd2, 0x11b2, \
    { 0xb2, 0x65, 0x9a, 0x85, 0x73, 0x76, 0xd1, 0x59 }}

class NS_NO_VTABLE nsIDOMJSNavigator : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMJSNAVIGATOR_IID)

  /* void preference (); */
  NS_IMETHOD Preference(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMJSNAVIGATOR \
  NS_IMETHOD Preference(void); 

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

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

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

/* Header file */
class nsDOMJSNavigator : public nsIDOMJSNavigator
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMJSNAVIGATOR

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMJSNavigator, nsIDOMJSNavigator)

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

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

/* void preference (); */
NS_IMETHODIMP nsDOMJSNavigator::Preference()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMNavigator_h__ */
