//----------------------------------------------------------------------- // This software is part of the OpenBeOS distribution and is covered // by the OpenBeOS license. // // Copyright (c) 2004 Waldemar Kornewald, Waldemar.Kornewald@web.de //----------------------------------------------------------------------- #ifndef _SIMPLE_MESSAGE_FILTER__H #define _SIMPLE_MESSAGE_FILTER__H #include class SimpleMessageFilter : public BMessageFilter { public: SimpleMessageFilter(const uint32 *what, BHandler *target); virtual ~SimpleMessageFilter(); virtual filter_result Filter(BMessage *message, BHandler **target); private: uint32 *fWhatArray; BHandler *fTarget; }; #endif