00001 #include <doil/ImplBase.h> 00002 #include <string> 00003 #include <iostream> 00004 #include "IEcho.h" 00005 //------------------------------------------------------------ 00006 // Implementation class 00007 //------------------------------------------------------------ 00008 class EchoImpl 00009 : public IEcho, 00010 public doil::ImplBase 00011 { 00012 public: 00013 EchoImpl(); 00014 virtual ~EchoImpl(); 00015 const char* id(); 00016 const char* name(); 00017 void incRef(); 00018 void decRef(); 00019 void echo(std::string msg); 00020 static int count; 00021 char m_name[16]; 00022 }; 00023