00001 /****************************************************************************** 00002 * This file is part of the Gluon Development Platform 00003 * Copyright (C) 2008 Sacha Schutz <istdasklar@free.fr> 00004 * Copyright (C) 2010 Kim Jung Nissen <jungnissen@gmail.com> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 #include "inputthreadprivate.h" 00022 00023 using namespace GluonInput; 00024 00025 InputThreadPrivate::InputThreadPrivate() 00026 { 00027 m_error = false; 00028 } 00029 00030 InputThreadPrivate::InputThreadPrivate( InputThreadPrivate& other ) 00031 : QSharedData( other ) 00032 , m_fd( other.m_fd ) 00033 , m_device_info( other.m_device_info ) 00034 , m_currentEvent( other.m_currentEvent ) 00035 , m_devicePath( other.m_devicePath ) 00036 , m_deviceName( other.m_deviceName ) 00037 , m_msgError( other.m_msgError ) 00038 , m_error( other.m_error ) 00039 , m_deviceType( other.m_deviceType ) 00040 , m_buttonCapabilities( other.m_buttonCapabilities ) 00041 , m_relAxisCapabilities( other.m_relAxisCapabilities ) 00042 , m_absAxisCapabilities( other.m_absAxisCapabilities ) 00043 , m_absAxisInfos( other.m_absAxisInfos ) 00044 { 00045 }