Newer
Older
Import / projects / LGN-IP3870 / qtpyui / plugins / kbddrivers / brcm1103kbdhandler.h
/****************************************************************************
**
** Copyright (C) 2000-$THISYEAR$ $TROLLTECH$. All rights reserved.
**
** This file is part of the $MODULE$ of the Qtopia Toolkit.
**
** $TROLLTECH_DUAL_LICENSE$
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/

#ifndef BRCM1103KBDHANDLER_H
#define BRCM1103KBDHANDLER_H


#include <QObject>
#include <QWSKeyboardHandler>

#include <linux/kd.h>

class QSocketNotifier;

class Brcm1103KbdHandler : public QObject, public QWSKeyboardHandler
{
    Q_OBJECT
public:
    Brcm1103KbdHandler();
    virtual ~Brcm1103KbdHandler();

private:
    QSocketNotifier *m_notify;
    int  kbdFD;

private Q_SLOTS:
    void readKbdData();
};


#endif // BRCM1103KBDHANDLER_H