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

#ifndef __gen_nsIObserver_h__
#define __gen_nsIObserver_h__

#include "nsISupports.h"


/* starting interface:    nsIObserver */
#define NS_IOBSERVER_IID_STR "db242e01-e4d9-11d2-9dde-000064657374"

#define NS_IOBSERVER_IID \
  {0xdb242e01, 0xe4d9, 0x11d2, \
    { 0x9d, 0xde, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}

class NS_NO_VTABLE nsIObserver : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IOBSERVER_IID)

  /* void Observe (in nsISupports aSubject, in wstring aTopic, in wstring someData); */
  NS_IMETHOD Observe(nsISupports *aSubject, const PRUnichar *aTopic, const PRUnichar *someData) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIOBSERVER \
  NS_IMETHOD Observe(nsISupports *aSubject, const PRUnichar *aTopic, const PRUnichar *someData); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIOBSERVER(_to) \
  NS_IMETHOD Observe(nsISupports *aSubject, const PRUnichar *aTopic, const PRUnichar *someData) { return _to ## Observe(aSubject, aTopic, someData); } 

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

/* Header file */
class nsObserver : public nsIObserver
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIOBSERVER

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsObserver, nsIObserver)

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

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

/* void Observe (in nsISupports aSubject, in wstring aTopic, in wstring someData); */
NS_IMETHODIMP nsObserver::Observe(nsISupports *aSubject, const PRUnichar *aTopic, const PRUnichar *someData)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

#define NS_OBSERVER_CONTRACTID "@mozilla.org/xpcom/observer;1"
#define NS_OBSERVER_CLASSNAME "Observer"

#endif /* __gen_nsIObserver_h__ */
