#include "plop.h"
#include <nspr.h>

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

nsPlop::nsPlop()
{
  /* member initializers and constructor code */
  PR_fprintf(PR_STDOUT, " ----- Composant C++: Construction\n");
}

nsPlop::~nsPlop()
{
  /* destructor code */
  PR_fprintf(PR_STDOUT, " ----- Composant C++: Destruction\n");
}

/* void display (in string message); */
NS_IMETHODIMP nsPlop::Display(const char *message)
{
    PR_fprintf(PR_STDOUT, " ----- Composant C++: Appel de 'display' ---> '%s'\n", message);
    return NS_OK;
}

/* End of implementation class template. */

