btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / servers / net / SimpleMessageFilter.h
blob5980652f238af4d5537741223911998ae789945d
1 /*
2 * Copyright 2004, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
4 */
6 #ifndef _SIMPLE_MESSAGE_FILTER__H
7 #define _SIMPLE_MESSAGE_FILTER__H
9 #include <MessageFilter.h>
12 class SimpleMessageFilter : public BMessageFilter {
13 public:
14 SimpleMessageFilter(const uint32 *what, BHandler *target);
15 virtual ~SimpleMessageFilter();
17 virtual filter_result Filter(BMessage *message, BHandler **target);
19 private:
20 uint32 *fWhatArray;
21 BHandler *fTarget;
25 #endif