#ifndef PARENTREPORTER_H #define PARENTREPORTER_H #include "defaulthandler.h" #include "handler.h" #include namespace W { class ParentReporter : public DefaultHandler { public: ParentReporter(); ~ParentReporter(); bool call(const W::Event& ev) const; void registerParent(const W::Address& address, W::Handler* handler); private: typedef std::map Hmap; Hmap handlers; }; } #endif // PARENTREPORTER_H