Chat-O-Matic/application/EditingFilter.h
2010-05-20 21:31:55 +00:00

22 lines
443 B
C++

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