From e78a0f55d2e3bcfd6f4a01d9e77be0708f4aa40e Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 9 Feb 2011 13:13:08 +0100 Subject: initial load --- src/utouch.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/utouch.h (limited to 'src/utouch.h') 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 @@ +/** + * @file utouch.h + * @brief Public interface for the uTouch compiz plugin. + * + * Copyright 2011 Canonical Ltd. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ +#include +#include + + +class UtouchScreen +: public ScreenInterface +, public PluginClassHandler +{ +public: + UtouchScreen(CompScreen* s); + + virtual ~UtouchScreen(); + +private: + CompScreen* screen; +}; + + +class UtouchVTable +: public CompPlugin::VTableForScreen +{ + bool init(); +}; + -- cgit v1.2.3