haiku/headers/os/codec/MediaPlugin.h
Barrett17 f5a452910a Codec Kit: Add some TODO for the future
* Little beauty fixes included.
2018-11-22 09:48:04 +01:00

44 lines
885 B
C++

/*
* Copyright 2003, Marcus Overhagen. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _MEDIA_PLUGIN_H
#define _MEDIA_PLUGIN_H
#include <SupportDefs.h>
namespace BPrivate { namespace media {
// TODO: Shouldn't this be a BReferenceable?
// TODO: This will replace BMediaAddOn in media2,
// see if we need some more accessor method and
// add the needed padding.
class MediaPlugin {
public:
MediaPlugin();
virtual ~MediaPlugin();
private:
int32 fRefCount;
// needed for plug-in reference count management
friend class PluginManager;
virtual void _ReservedMediaPlugin1();
virtual void _ReservedMediaPlugin2();
uint32 fReserved[5];
};
class Decoder;
class Reader;
} } // namespace BPrivate::media
using namespace BPrivate::media;
extern "C" MediaPlugin* instantiate_plugin();
#endif // _MEDIA_PLUGIN_H