summaryrefslogtreecommitdiff
path: root/src/utouch.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2011-02-09 13:13:08 +0100
committerHenrik Rydberg <rydberg@bitmath.org>2011-02-09 13:13:08 +0100
commite78a0f55d2e3bcfd6f4a01d9e77be0708f4aa40e (patch)
tree7a8aa5242efbf319623bd5087235797af9a5b4f9 /src/utouch.h
initial load
Diffstat (limited to 'src/utouch.h')
-rw-r--r--src/utouch.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/utouch.h b/src/utouch.h
new file mode 100644
index 0000000..c9f3a6d
--- /dev/null
+++ b/src/utouch.h
@@ -0,0 +1,44 @@
1/**
2 * @file utouch.h
3 * @brief Public interface for the uTouch compiz plugin.
4 *
5 * Copyright 2011 Canonical Ltd.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21#include <core/core.h>
22#include <core/pluginclasshandler.h>
23
24
25class UtouchScreen
26: public ScreenInterface
27, public PluginClassHandler<UtouchScreen, CompScreen>
28{
29public:
30 UtouchScreen(CompScreen* s);
31
32 virtual ~UtouchScreen();
33
34private:
35 CompScreen* screen;
36};
37
38
39class UtouchVTable
40: public CompPlugin::VTableForScreen<UtouchScreen>
41{
42 bool init();
43};
44