3
* Compiz mouse position polling plugin
5
* Copyright : (C) 2008 by Dennis Kasprzyk
6
* E-mail : onestone@opencompositing.org
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* as published by the Free Software Foundation; either version 2
12
* of the License, or (at your option) any later version.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
21
#ifndef _COMPIZ_MOUSEPOLL_H
22
#define _COMPIZ_MOUSEPOLL_H
24
#define COMPIZ_MOUSEPOLL_ABI 1
30
typedef boost::function<void (const CompPoint &)> CallBack;
36
setCallback (CallBack callback);
51
getCurrentPosition ();
59
friend class MousepollScreen;