author | zecke <zecke> | 2004-03-14 18:05:28 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 18:05:28 (UTC) |
commit | 9e54b8bd8343af7c301da17d82596d6027e53309 (patch) (unidiff) | |
tree | 693613ff9f1a0f3415e0623e636d47ac4798da2d /core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp | |
parent | 98bbe5561e8e1a862e19a3d0a0d49ed90ef15b54 (diff) | |
download | opie-9e54b8bd8343af7c301da17d82596d6027e53309.zip opie-9e54b8bd8343af7c301da17d82596d6027e53309.tar.gz opie-9e54b8bd8343af7c301da17d82596d6027e53309.tar.bz2 |
OpiePlayer -> ODP
Diffstat (limited to 'core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp index 440747a..0c7b1ea 100644 --- a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp +++ b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp | |||
@@ -36,36 +36,38 @@ LibTremorPluginImpl::~LibTremorPluginImpl() | |||
36 | 36 | ||
37 | 37 | ||
38 | MediaPlayerDecoder *LibTremorPluginImpl::decoder() | 38 | MediaPlayerDecoder *LibTremorPluginImpl::decoder() |
39 | { | 39 | { |
40 | if ( !libtremorplugin ) | 40 | if ( !libtremorplugin ) |
41 | libtremorplugin = new LibTremorPlugin; | 41 | libtremorplugin = new LibTremorPlugin; |
42 | return libtremorplugin; | 42 | return libtremorplugin; |
43 | } | 43 | } |
44 | 44 | ||
45 | 45 | ||
46 | MediaPlayerEncoder *LibTremorPluginImpl::encoder() | 46 | MediaPlayerEncoder *LibTremorPluginImpl::encoder() |
47 | { | 47 | { |
48 | return NULL; | 48 | return NULL; |
49 | } | 49 | } |
50 | 50 | ||
51 | 51 | ||
52 | #ifndef QT_NO_COMPONENT | 52 | #ifndef QT_NO_COMPONENT |
53 | 53 | ||
54 | 54 | ||
55 | QRESULT LibTremorPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 55 | QRESULT LibTremorPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
56 | { | 56 | { |
57 | *iface = 0; | 57 | *iface = 0; |
58 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) | 58 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) |
59 | *iface = this, (*iface)->addRef(); | 59 | *iface = this, (*iface)->addRef(); |
60 | else | ||
61 | return QS_FALSE; | ||
60 | return QS_OK; | 62 | return QS_OK; |
61 | } | 63 | } |
62 | 64 | ||
63 | 65 | ||
64 | Q_EXPORT_INTERFACE() | 66 | Q_EXPORT_INTERFACE() |
65 | { | 67 | { |
66 | Q_CREATE_INSTANCE( LibTremorPluginImpl ) | 68 | Q_CREATE_INSTANCE( LibTremorPluginImpl ) |
67 | } | 69 | } |
68 | 70 | ||
69 | 71 | ||
70 | #endif | 72 | #endif |
71 | 73 | ||