/* ----   file information  -------------------------------------------------

   Black Sun Interactive

   Project:    Community Services
   Subsystem:  Hubbot API

   Purpose:    Call functions from Hubbot Script. Implementation of hbAPI derived
               class.

   Description:
               evtcontext.h contains the TestEventContext class which is derived from the 
               hbAPI class.

               We only redefine the Constructor/Destructor, the className() method.
               The Constructor of TestEventContext registers the function we want to call
               from the Hubbot scripts. 

               The logic is implemented in function SaidHi();

   Module:     evtcontext.h
   Author:     Robert Schoeller

   Date:       1999/06/07
   $Log: evtcontext.h,v $
   Revision 1.1  2001/03/12 15:04:57  robert
   Initial revision




   ----   file information  --------------------------------------------------*/

#ifndef __EVTCONTEXT_H_
#define __EVTCONTEXT_H_


//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
// include files and macros
//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


#include "hbapi.h"

 


//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
// The application TestEventContext Class Definition
// For further details please see hbapi.h include file.
//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

class TestEventContext : public hbAPI
{

   public:

           //
           // The interface function, which implements the
           // game logic. This function is called whenever
           // in an agent  script "*Call* RetrieveData" clause occur
           //

           char * RetrieveData ( const char * input ); 

           //
           // redefined hbAPI methods 
           //

           TestEventContext( CSHandle_t sessionHdl );

           virtual ~TestEventContext();

           //
           // returns the name of this class, this is for logging purposes.
           //
           const char * className() const ;
};

#endif

