Chat-O-Matic/application/EditingFilter.h

22 lines
443 B
C
Raw Normal View History

/*
* Copyright 2009, Andrea Anzani. All rights reserved.
* Distributed under the terms of the MIT License.
*/
2010-05-20 16:31:55 -05:00
#ifndef _EDITING_FILTER_H
#define _EDITING_FILTER_H
#include <MessageFilter.h>
2010-05-20 16:31:55 -05:00
#include <TextView.h>
class EditingFilter : public BMessageFilter {
public:
2010-05-20 16:31:55 -05:00
EditingFilter(BTextView* view);
2010-05-20 16:31:55 -05:00
virtual filter_result Filter(BMessage* message, BHandler** target);
private:
2010-05-20 16:31:55 -05:00
BTextView* fView;
};
2010-05-20 16:31:55 -05:00
#endif // _EDITING_FILTER_H