00001 #ifndef _SERVICE_LISTENER_ 00002 #define _SERVICE_LISTENER_ 00003 00004 #include "service_event.h" 00005 00006 namespace IT_Bus 00007 { 00008 00009 class IT_BUS_API ServiceListener 00010 { 00011 public: 00012 ServiceListener() {} 00013 virtual ~ServiceListener(); 00014 00015 virtual void 00016 fire_event(ServiceEvent&) = 0; 00017 00018 private: 00019 // private and unimplemented to prevent copying 00020 ServiceListener(const ServiceListener&); 00021 void operator=(const ServiceListener&); 00022 }; 00023 } 00024 00025 #endif /* _SERVICE_LISTENER_ */ 00026