-rw-r--r-- | noncore/styles/plugin.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/noncore/styles/plugin.h b/noncore/styles/plugin.h new file mode 100644 index 0000000..3205541 --- a/dev/null +++ b/noncore/styles/plugin.h @@ -0,0 +1,54 @@ +/* + =. This file is part of the OPIE Project + .=l. Copyright (c) 2004 Holger Hans Peter Freyther <zecke@handhelds.org> + .>+-= + _;:, .> :=|. This program is free software; you can +.> <`_, > . <= redistribute it and/or modify it under +:`=1 )Y*s>-.-- : the terms of the GNU General Public +.="- .-=="i, .._ License as published by the Free Software + - . .-<_> .<> Foundation; either version 2 of the License, + ._= =} : or (at your option) any later version. + .%`+i> _;_. + .i_,=:_. -<s. 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 +..}^=.= = ; Library General Public License for more +++= -. .` .: details. + : = ...= . :.=- + -. .:....=;==+<; You should have received a copy of the GNU + -_. . . )=. = General Public License along with + -- :-=` this library; see the file COPYING + If not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + +*/ + +#ifndef PHASESTYLE_PLUGIN_H +#define PHASESTYLE_PLUGIN_H + +#include <qtopia/styleinterface.h> + + +class WebStyle; + +/** + * Factory to create WebStyle + */ +class WebStyleImpl : public StyleInterface { +public: + WebStyleImpl(); + virtual ~WebStyleImpl(); + + QRESULT queryInterface( const QUuid&, QUnknownInterface** ); + Q_REFCOUNT + + virtual QStyle *style(); + virtual QString name()const; +private: + WebStyle* m_style; +}; + +#endif |