summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oinputsystem.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/oinputsystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oinputsystem.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiecore/oinputsystem.h b/libopie2/opiecore/oinputsystem.h
index 4d913a1..3746023 100644
--- a/libopie2/opiecore/oinputsystem.h
+++ b/libopie2/opiecore/oinputsystem.h
@@ -8,55 +8,54 @@
:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
.="- .-=="i,     .._ License as published by the Free Software
 - .   .-<_>     .<> Foundation; either version 2 of the License,
     ._= =}       : or (at your option) any later version.
    .%`+i>       _;_.
    .i_,=:_.      -<s. This program is distributed in the hope that
     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
    : ..    .:,     . . . without even the implied warranty of
    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
..}^=.=       =       ; Library General Public License for more
++=   -.     .`     .: details.
 :     =  ...= . :.=-
 -.   .:....=;==+<; You should have received a copy of the GNU
  -_. . .   )=.  = Library General Public License along with
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef OINPUTSYSTEM_H
#define OINPUTSYSTEM_H
+#include "linux_input.h"
+
/* QT */
#include <qobject.h>
#include <qdict.h>
-/* STD */
-#include <linux/input.h>
-
namespace Opie {
namespace Core {
class OInputDevice;
/**
* @brief A container class for all input devices
*
* This class provides access to all available input system devices of your computer.
*
* @author Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>
*/
class OInputSystem : public QObject
{
public:
typedef QDict<OInputDevice> DeviceMap;
typedef QDictIterator<OInputDevice> DeviceIterator;
/**
* @returns the number of available input devices
*/
int count() const;
/**
* @returns a pointer to the (one and only) @ref OInputSystem instance.