summaryrefslogtreecommitdiff
path: root/tvision/include/tv/linux/mouse.h
blob: cf5664a11b8fa26dd9538206177dd45f32d71cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Linux keyboard handler routines header.
   Copyright by Salvador E. Tropea (SET) (2001-2002)
   Covered by the GPL license. */

#include <tv/unix/mouse.h>

#if defined(TVOSf_Linux) && !defined(LINUXMOUSE_INCLUDED)
#define LINUXMOUSE_INCLUDED

#ifdef HAVE_GPM
class THWMouseGPM : public THWMouseUNIX
{
protected:
 THWMouseGPM() {};
 virtual ~THWMouseGPM();

 static void Suspend();
 static void Resume();
 static void GetEvent(MouseEventType &me);

 static void Init();

 friend class TScreenLinux;
 friend class TScreenUNIX;
};
#endif

#endif // LINUXMOUSE_INCLUDED