Chat-O-Matic/application/EditingFilter.h

22 lines
448 B
C
Raw Normal View History

/*
2011-12-03 16:38:03 -06:00
* Copyright 2009-2011, 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