/* Copyright 2005, Francois Revol. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. */ #ifndef _DICTIONARY_INPUT_SERVER_METHOD_H #define _DICTIONARY_INPUT_SERVER_METHOD_H #include #include #include #if DEBUG //#include class BAlert; #endif class BList; class BMessage; class DictionaryInputLooper; class DictionaryInputServerMethod : public BInputServerMethod { public: DictionaryInputServerMethod(); virtual ~DictionaryInputServerMethod(); virtual status_t InitCheck(); virtual filter_result Filter(BMessage *message, BList *outList); virtual status_t MethodActivated(bool active); bool IsEnabled() const { return fEnabled; }; private: bool fEnabled; //BLocker fLocker; BMessenger fLooper; #if DEBUG //BFile fDebugFile; BAlert *fDebugAlert; #endif }; #endif /* _DICTIONARY_INPUT_SERVER_METHOD_H */