00001 #ifndef __IThreadListener__
00002 #define __IThreadListener__
00003
00004 #include "../Basics/CCountedObject.hpp"
00005 using Exponent::Basics::CCountedObject;
00006
00007
00008
00009 namespace Exponent
00010 {
00011 namespace Threading
00012 {
00014 interface IThread;
00034 interface IThreadListener
00035 {
00036
00037
00038
00039 public:
00040
00041
00042
00046 IThreadListener() { }
00047
00051 virtual ~IThreadListener() { }
00052
00053
00054
00059 virtual void threadHasCompleted(IThread *thread) = 0;
00060
00065 virtual void threadHasAborted(IThread *thread) = 0;
00066 };
00067 }
00068 }
00069 #endif // End of IThreadListener.hpp