1 /*****************************************************************************/ 2 // Haiku InputServer 3 // 4 // This is the InputServerFilter implementation 5 // 6 // 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 9 // and are: 10 // 11 // Copyright (c) 2002-2004 Haiku Project 12 // 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: 19 // 20 // The above copyright notice and this permission notice shall be included 21 // in all copies or substantial portions of the Software. 22 // 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 /*****************************************************************************/ 31 32 33 #include <Region.h> 34 #include <InputServerFilter.h> 35 #include "InputServer.h" 36 37 /** 38 * Method: BInputServerFilter::BInputServerFilter() 39 * Descr: 40 */ 41 BInputServerFilter::BInputServerFilter() 42 { 43 CALLED(); 44 } 45 46 47 /** 48 * Method: BInputServerFilter::~BInputServerFilter() 49 * Descr: 50 */ 51 BInputServerFilter::~BInputServerFilter() 52 { 53 CALLED(); 54 } 55 56 57 /** 58 * Method: BInputServerFilter::InitCheck() 59 * Descr: 60 */ 61 status_t 62 BInputServerFilter::InitCheck() 63 { 64 CALLED(); 65 return B_OK; 66 } 67 68 69 /** 70 * Method: BInputServerFilter::Filter() 71 * Descr: 72 */ 73 filter_result 74 BInputServerFilter::Filter(BMessage *message, 75 BList *outList) 76 { 77 CALLED(); 78 return B_DISPATCH_MESSAGE; 79 } 80 81 82 /** 83 * Method: BInputServerFilter::GetScreenRegion() 84 * Descr: 85 */ 86 status_t 87 BInputServerFilter::GetScreenRegion(BRegion *region) const 88 { 89 if (!region) 90 return B_BAD_VALUE; 91 92 *region = BRegion(((InputServer*)be_app)->ScreenFrame()); 93 return B_OK; 94 } 95 96 97 /** 98 * Method: BInputServerFilter::_ReservedInputServerFilter1() 99 * Descr: 100 */ 101 void 102 BInputServerFilter::_ReservedInputServerFilter1() 103 { 104 } 105 106 107 /** 108 * Method: BInputServerFilter::_ReservedInputServerFilter2() 109 * Descr: 110 */ 111 void 112 BInputServerFilter::_ReservedInputServerFilter2() 113 { 114 } 115 116 117 /** 118 * Method: BInputServerFilter::_ReservedInputServerFilter3() 119 * Descr: 120 */ 121 void 122 BInputServerFilter::_ReservedInputServerFilter3() 123 { 124 } 125 126 127 /** 128 * Method: BInputServerFilter::_ReservedInputServerFilter4() 129 * Descr: 130 */ 131 void 132 BInputServerFilter::_ReservedInputServerFilter4() 133 { 134 } 135 136 137