29 lines
496 B
C++
29 lines
496 B
C++
/*
|
|
* \brief Input-driver interface
|
|
* \author Norman Feske
|
|
* \date 2007-10-08
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2007-2013 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _INPUT_DRIVER_H_
|
|
#define _INPUT_DRIVER_H_
|
|
|
|
class Input_driver
|
|
{
|
|
public:
|
|
|
|
virtual void handle_event() = 0;
|
|
|
|
virtual bool event_pending() = 0;
|
|
|
|
virtual ~Input_driver() { }
|
|
};
|
|
|
|
#endif /* _INPUT_DRIVER_H_ */
|