author | zecke <zecke> | 2004-08-02 18:37:26 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-02 18:37:26 (UTC) |
commit | 4d0a9fc4a21e7a7242e466f8eec1dc61d173800d (patch) (side-by-side diff) | |
tree | f66b7c11f1325363fb4d426cc133802f9b8e59ab /noncore/styles/phase/plugin.h | |
parent | db991191fa216293191a0a8b0a2db18866b94dca (diff) | |
download | opie-4d0a9fc4a21e7a7242e466f8eec1dc61d173800d.zip opie-4d0a9fc4a21e7a7242e466f8eec1dc61d173800d.tar.gz opie-4d0a9fc4a21e7a7242e466f8eec1dc61d173800d.tar.bz2 |
Initial revision
-rw-r--r-- | noncore/styles/phase/plugin.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/noncore/styles/phase/plugin.h b/noncore/styles/phase/plugin.h new file mode 100644 index 0000000..9340737 --- a/dev/null +++ b/noncore/styles/phase/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 PhaseStyle; + +/** + * Factory to create PhaseStyle + */ +class PhaseStyleImpl : public StyleInterface { +public: + PhaseStyleImpl(); + virtual ~PhaseStyleImpl(); + + QRESULT queryInterface( const QUuid&, QUnknownInterface** ); + Q_REFCOUNT + + virtual QStyle *style(); + virtual QString name()const; +private: + PhaseStyle* m_style; +}; + +#endif |