diff options
Diffstat (limited to 'src/utouch.h')
| -rw-r--r-- | src/utouch.h | 44 |
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 | |||
| 25 | class UtouchScreen | ||
| 26 | : public ScreenInterface | ||
| 27 | , public PluginClassHandler<UtouchScreen, CompScreen> | ||
| 28 | { | ||
| 29 | public: | ||
| 30 | UtouchScreen(CompScreen* s); | ||
| 31 | |||
| 32 | virtual ~UtouchScreen(); | ||
| 33 | |||
| 34 | private: | ||
| 35 | CompScreen* screen; | ||
| 36 | }; | ||
| 37 | |||
| 38 | |||
| 39 | class UtouchVTable | ||
| 40 | : public CompPlugin::VTableForScreen<UtouchScreen> | ||
| 41 | { | ||
| 42 | bool init(); | ||
| 43 | }; | ||
| 44 | |||
