Diffstat (limited to 'core/multimedia/opieplayer/vorbis/libtremorpluginimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/vorbis/libtremorpluginimpl.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.h b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.h new file mode 100644 index 0000000..9878a6b --- a/dev/null +++ b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /**************************************************************************** | ||
2 | * libtremorpluginimpl.h | ||
3 | * | ||
4 | * Copyright (C) 2002 Latchesar Ionkov <lucho@ionkov.net> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | ****************************************************************************/ | ||
20 | |||
21 | #ifndef LIBTREMOR_PLUGIN_IMPL_H | ||
22 | #define LIBTREMOR_PLUGIN_IMPL_H | ||
23 | |||
24 | |||
25 | #include <qpe/mediaplayerplugininterface.h> | ||
26 | |||
27 | |||
28 | class LibTremorPlugin; | ||
29 | |||
30 | |||
31 | class LibTremorPluginImpl : public MediaPlayerPluginInterface | ||
32 | { | ||
33 | public: | ||
34 | LibTremorPluginImpl(); | ||
35 | virtual ~LibTremorPluginImpl(); | ||
36 | |||
37 | #ifndef QT_NO_COMPONENT | ||
38 | |||
39 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
40 | Q_REFCOUNT | ||
41 | |||
42 | #endif | ||
43 | |||
44 | virtual MediaPlayerDecoder *decoder(); | ||
45 | virtual MediaPlayerEncoder *encoder(); | ||
46 | |||
47 | private: | ||
48 | LibTremorPlugin *libtremorplugin; | ||
49 | ulong ref; | ||
50 | }; | ||
51 | |||
52 | |||
53 | #endif | ||
54 | |||