/******************************************************************************
*                                                                             *
*  File: SimpleEvent.h                                                        *
*                                                                             *
*  Description: An concrete class for representing simple events.             *
*                                                                             *
*  Project: 2K - Automatic Configuration                                      *
*  Author: Fabio Kon (f-kon@cs.uiuc.edu)                                      *
*                                                                             *
*******************************************************************************

   Revision Control Information

   $Revision: $

   $Log: $
******************************************************************************/

#include "ComponentEvent.h"

class SimpleEvent : public ComponentEvent {
  private:   
    /* A message that describes the event in more detail. */
    char *description_;
    /* The event type. */
    int type_;
    
  public:
    SimpleEvent (int type, const char *description = 0);
    ~SimpleEvent ();
    
    /* Converts the event into a String.
     * @return a string describing the event.
     */
    const char *toString() const;
};
