initial commit

This commit is contained in:
Blue 2018-08-05 00:46:25 +03:00 committed by Юрий Губич
commit 4b60ece582
327 changed files with 28286 additions and 0 deletions

View file

@ -0,0 +1,25 @@
#ifndef PARENTREPORTER_H
#define PARENTREPORTER_H
#include "defaulthandler.h"
#include "handler.h"
#include <map>
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<W::Address, W::Handler*> Hmap;
Hmap handlers;
};
}
#endif // PARENTREPORTER_H