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

#ifndef __gen_nsPIXPIProxy_h__
#define __gen_nsPIXPIProxy_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:    nsPIXPIProxy */
#define NS_PIXPIPROXY_IID_STR "6f9d2890-167d-11d5-8daf-000064657374"

#define NS_PIXPIPROXY_IID \
  {0x6f9d2890, 0x167d, 0x11d5, \
    { 0x8d, 0xaf, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}

/**
 * nsPIXPIProxy
 *
 * Used to handle miscellaneous things that XPInstall needs to perform
 * over on the main UI thread.
 */
class NS_NO_VTABLE nsPIXPIProxy : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_PIXPIPROXY_IID)

  /* void refreshPlugins (in nsISupports aWindow); */
  NS_IMETHOD RefreshPlugins(nsISupports *aWindow) = 0;

  /* void notifyRestartNeeded (); */
  NS_IMETHOD NotifyRestartNeeded(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSPIXPIPROXY \
  NS_IMETHOD RefreshPlugins(nsISupports *aWindow); \
  NS_IMETHOD NotifyRestartNeeded(void); 

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

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

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

/* Header file */
class _MYCLASS_ : public nsPIXPIProxy
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSPIXPIPROXY

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, nsPIXPIProxy)

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

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

/* void refreshPlugins (in nsISupports aWindow); */
NS_IMETHODIMP _MYCLASS_::RefreshPlugins(nsISupports *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void notifyRestartNeeded (); */
NS_IMETHODIMP _MYCLASS_::NotifyRestartNeeded()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsPIXPIProxy_h__ */
