00001 /*----------------------------------------------------------------------------- 00002 * TextMessageListener declaration 00003 * Ionetrics 2006 00004 * John Williams 00005 * TextMessageListener.h 00006 *---------------------------------------------------------------------------*/ 00007 00008 #ifndef TEXTMESSAGELISTENER_H 00009 #define TEXTMESSAGELISTENER_H 00010 00011 //----------------------------------------------------------------------------- 00012 00013 #include "AnnotatorCommApi.h" 00014 #include "AnnotatorComm.h" 00015 00016 //----------------------------------------------------------------------------- 00017 00018 namespace annotatorcomm 00019 { 00020 00021 class AnnotatorComm; 00022 00026 class ANNCOMM_API TextMessageListener 00027 { 00028 public: 00035 virtual void textMessageReceived(AnnotatorComm & annotator, string & message) = 0; 00036 }; 00037 00038 } 00039 00040 //----------------------------------------------------------------------------- 00041 00042 #endif /*TEXTMESSAGELISTENER_H_*/