1 /* 2 * Copyright 2009, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _INPUTSERVERFILTER_H 6 #define _INPUTSERVERFILTER_H 7 8 9 #include <MessageFilter.h> 10 11 12 class BRegion; 13 14 15 class BInputServerFilter { 16 public: 17 BInputServerFilter(); 18 virtual ~BInputServerFilter(); 19 20 virtual status_t InitCheck(); 21 22 virtual filter_result Filter(BMessage* message, BList* _list); 23 24 status_t GetScreenRegion(BRegion* region) const; 25 26 private: 27 // FBC Padding 28 virtual void _ReservedInputServerFilter1(); 29 virtual void _ReservedInputServerFilter2(); 30 virtual void _ReservedInputServerFilter3(); 31 virtual void _ReservedInputServerFilter4(); 32 33 uint32 _reserved[4]; 34 }; 35 36 #endif // _INPUTSERVERFILTER_H 37