1/*
2 * Copyright 2003, Marcus Overhagen. All rights reserved.
3 * Distributed under the terms of the MIT license.
4 */
5#ifndef _MEDIA_PLUGIN_H
6#define _MEDIA_PLUGIN_H
7
8#include <SupportDefs.h>
9
10namespace BPrivate { namespace media {
11
12class MediaPlugin {
13public:
14								MediaPlugin();
15	virtual						~MediaPlugin();
16
17private:
18	// needed for plug-in reference count management
19	friend class PluginManager;
20
21			int32				fRefCount;
22};
23
24class Decoder;
25class Reader;
26
27} } // namespace BPrivate::media
28
29using namespace BPrivate::media;
30
31extern "C" MediaPlugin* instantiate_plugin();
32
33#endif // _MEDIA_PLUGIN_H
34