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

   Black Sun Interactive

   Project:    Community Services
   Subsystem:  Hubbot API

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

   Description:
               cltcontext.h contains the TestClientContext class which is derived from the 
               hbAPI class.

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

               The logic is implemented in function SaidHi();

   Module:     cltcontext.h
   Author:     Robert Schoeller

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




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

#ifndef __CLTCONTEXT_H_
#define __CLTCONTEXT_H_


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


#include "hbapi.h"

 


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

class TestClientContext : public hbAPI
{

   public:

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

           char * SaidHi ( const char * input ); 

           //
           // redefined hbAPI methods 
           //

           TestClientContext( CSHandle_t sessionHdl );

           virtual ~TestClientContext();

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

#endif

