haiku/src/servers/registrar/MessageHandler.h
Ingo Weinhold 9f7559815d An interface for classes being able to handle messages. More lightweight than BHandler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:30:14 +00:00

20 lines
475 B
C++

//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
#ifndef MESSAGE_HANDLER_H
#define MESSAGE_HANDLER_H
class BMessage;
class MessageHandler {
public:
MessageHandler();
virtual ~MessageHandler();
virtual void HandleMessage(BMessage *message);
};
#endif // MESSAGE_HANDLER_H