1 /*****************************************************************************/
4 // This is the InputServerFilter implementation
7 // This application and all source files used in its construction, except
8 // where noted, are licensed under the MIT License, and have been written
11 // Copyright (c) 2002-2004 Haiku Project
13 // Permission is hereby granted, free of charge, to any person obtaining a
14 // copy of this software and associated documentation files (the "Software"),
15 // to deal in the Software without restriction, including without limitation
16 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
17 // and/or sell copies of the Software, and to permit persons to whom the
18 // Software is furnished to do so, subject to the following conditions:
20 // The above copyright notice and this permission notice shall be included
21 // in all copies or substantial portions of the Software.
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29 // DEALINGS IN THE SOFTWARE.
30 /*****************************************************************************/
34 #include <InputServerFilter.h>
35 #include "InputServer.h"
38 * Method: BInputServerFilter::BInputServerFilter()
41 BInputServerFilter::BInputServerFilter()
48 * Method: BInputServerFilter::~BInputServerFilter()
51 BInputServerFilter::~BInputServerFilter()
58 * Method: BInputServerFilter::InitCheck()
62 BInputServerFilter::InitCheck()
70 * Method: BInputServerFilter::Filter()
74 BInputServerFilter::Filter(BMessage
*message
,
78 return B_DISPATCH_MESSAGE
;
83 * Method: BInputServerFilter::GetScreenRegion()
87 BInputServerFilter::GetScreenRegion(BRegion
*region
) const
92 *region
= BRegion(((InputServer
*)be_app
)->ScreenFrame());
98 * Method: BInputServerFilter::_ReservedInputServerFilter1()
102 BInputServerFilter::_ReservedInputServerFilter1()
108 * Method: BInputServerFilter::_ReservedInputServerFilter2()
112 BInputServerFilter::_ReservedInputServerFilter2()
118 * Method: BInputServerFilter::_ReservedInputServerFilter3()
122 BInputServerFilter::_ReservedInputServerFilter3()
128 * Method: BInputServerFilter::_ReservedInputServerFilter4()
132 BInputServerFilter::_ReservedInputServerFilter4()