00001 00012 /* 00013 00014 Copyright (c) 2007, Tim Burrell 00015 Licensed under the Apache License, Version 2.0 (the "License"); 00016 you may not use this file except in compliance with the License. 00017 You may obtain a copy of the License at 00018 00019 http://www.apache.org/licenses/LICENSE-2.0 00020 00021 Unless required by applicable law or agreed to in writing, software 00022 distributed under the License is distributed on an "AS IS" BASIS, 00023 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00024 See the License for the specific language governing permissions and 00025 limitations under the License. 00026 00027 */ 00028 00029 #include "GizmoEventWindowFocus.hpp" 00030 #include "GizmoLinuxInputDevice.hpp" 00031 #include "../libH/Debug.hpp" 00032 #include "../libH/Exception.hpp" 00033 #include "../libH/Util.hpp" 00034 #include <boost/shared_ptr.hpp> 00035 #include <boost/bind.hpp> 00036 00037 using namespace std; 00038 using namespace boost; 00039 using namespace H; 00040 using namespace Gizmod; 00041 00043 // Type Defs 00045 00047 // Construction 00049 00053 GizmoEventWindowFocus::GizmoEventWindowFocus(X11FocusEvent const & Event, bool IsRemote) : X11FocusEvent(Event), GizmoEvent(GIZMO_EVENTCLASS_WINDOWFOCUS, false) { 00054 } 00055 00059 GizmoEventWindowFocus::GizmoEventWindowFocus() { 00060 } 00061 00065 GizmoEventWindowFocus::~GizmoEventWindowFocus() { 00066 } 00067 00069 // Class Body