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

#ifndef __gen_plop_h__
#define __gen_plop_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:    nsIPlop */
#define NS_IPLOP_IID_STR "a6a5b8e4-a392-42e1-b517-e44bc508449d"

#define NS_IPLOP_IID \
  {0xa6a5b8e4, 0xa392, 0x42e1, \
    { 0xb5, 0x17, 0xe4, 0x4b, 0xc5, 0x08, 0x44, 0x9d }}

class NS_NO_VTABLE nsIPlop : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLOP_IID)

  /* void display (in string message); */
  NS_IMETHOD Display(const char *message) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPLOP \
  NS_IMETHOD Display(const char *message); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPLOP(_to) \
  NS_IMETHOD Display(const char *message) { return _to Display(message); } 

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

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

/* Header file */
class nsPlop : public nsIPlop
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPLOP

  nsPlop();

private:
  ~nsPlop();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsPlop, nsIPlop)

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

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

/* void display (in string message); */
NS_IMETHODIMP nsPlop::Display(const char *message)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_plop_h__ */
