From 2342d48be31847e7ead9d1cc682452e8f0122351 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 20 Jul 2002 22:07:31 +0000 Subject: initial commit of modplugin --- (limited to 'core/multimedia/opieplayer/modplug/modpluginimpl.h') 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 @@ +/* This file is part of the KDE project + Copyright (C) 2002 Simon Hausmann + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + 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 + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ +#ifndef MOD_PLUGIN_IMPL_H +#define MOD_PLUGIN_IMPL_H + +#include + +class ModPlugin; + +class ModPluginImpl : public MediaPlayerPluginInterface +{ +public: + ModPluginImpl(); + virtual ~ModPluginImpl(); +#ifndef QT_NO_COMPONENT + + QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface ); + Q_REFCOUNT + +#endif + + virtual MediaPlayerDecoder *decoder(); + virtual MediaPlayerEncoder *encoder(); + +private: + ModPlugin *m_plugin; + ulong ref; +}; + +#endif -- cgit v0.9.0.2