author | llornkcor <llornkcor> | 2002-07-20 22:07:31 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-20 22:07:31 (UTC) |
commit | 2342d48be31847e7ead9d1cc682452e8f0122351 (patch) (unidiff) | |
tree | 8329bb94e9d429c905a0ef6b881cf1c0f775bf14 /core/multimedia/opieplayer/modplug/modpluginimpl.h | |
parent | 0f24c1fb86d3bb58d8696358b824c0e01752b10d (diff) | |
download | opie-2342d48be31847e7ead9d1cc682452e8f0122351.zip opie-2342d48be31847e7ead9d1cc682452e8f0122351.tar.gz opie-2342d48be31847e7ead9d1cc682452e8f0122351.tar.bz2 |
initial commit of modplugin
Diffstat (limited to 'core/multimedia/opieplayer/modplug/modpluginimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/modplug/modpluginimpl.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/modplug/modpluginimpl.h b/core/multimedia/opieplayer/modplug/modpluginimpl.h new file mode 100644 index 0000000..c306a71 --- a/dev/null +++ b/core/multimedia/opieplayer/modplug/modpluginimpl.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /* This file is part of the KDE project | ||
2 | Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU General Public | ||
6 | License as published by the Free Software Foundation; either | ||
7 | version 2 of the License, or (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; see the file COPYING. If not, write to | ||
16 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
17 | Boston, MA 02111-1307, USA. | ||
18 | */ | ||
19 | #ifndef MOD_PLUGIN_IMPL_H | ||
20 | #define MOD_PLUGIN_IMPL_H | ||
21 | |||
22 | #include <qpe/mediaplayerplugininterface.h> | ||
23 | |||
24 | class ModPlugin; | ||
25 | |||
26 | class ModPluginImpl : public MediaPlayerPluginInterface | ||
27 | { | ||
28 | public: | ||
29 | ModPluginImpl(); | ||
30 | virtual ~ModPluginImpl(); | ||
31 | #ifndef QT_NO_COMPONENT | ||
32 | |||
33 | QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface ); | ||
34 | Q_REFCOUNT | ||
35 | |||
36 | #endif | ||
37 | |||
38 | virtual MediaPlayerDecoder *decoder(); | ||
39 | virtual MediaPlayerEncoder *encoder(); | ||
40 | |||
41 | private: | ||
42 | ModPlugin *m_plugin; | ||
43 | ulong ref; | ||
44 | }; | ||
45 | |||
46 | #endif | ||