2 Copyright 2005, Francois Revol. All Rights Reserved.
3 This file may be used under the terms of the Be Sample Code License.
5 #ifndef _PEN_INPUT_SERVER_METHOD_H
6 #define _PEN_INPUT_SERVER_METHOD_H
10 #include <add-ons/input_server/InputServerMethod.h>
21 extern "C" _EXPORT BInputServerMethod
* instantiate_input_method();
23 class PenInputServerMethod
: public BInputServerMethod
26 PenInputServerMethod();
27 virtual ~PenInputServerMethod();
28 virtual status_t
InitCheck();
29 virtual filter_result
Filter(BMessage
*message
, BList
*outList
);
30 virtual status_t
MethodActivated(bool active
);
32 bool IsEnabled() const { return fEnabled
; };
35 friend PenInputLooper
;//DEBUG
45 #endif /* _PEN_INPUT_SERVER_METHOD_H */