218a8c03cb
All of Barrett's individual reverts have been squashed into this one commit, save a few actual bugfixes. Change-Id: Ib0a7d0a841d3ac40b1fca7372c58b7f9229bd1f0
34 lines
601 B
C++
34 lines
601 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 {
|
|
|
|
class MediaPlugin {
|
|
public:
|
|
MediaPlugin();
|
|
virtual ~MediaPlugin();
|
|
|
|
private:
|
|
// needed for plug-in reference count management
|
|
friend class PluginManager;
|
|
|
|
int32 fRefCount;
|
|
};
|
|
|
|
class Decoder;
|
|
class Reader;
|
|
|
|
} } // namespace BPrivate::media
|
|
|
|
using namespace BPrivate::media;
|
|
|
|
extern "C" MediaPlugin* instantiate_plugin();
|
|
|
|
#endif // _MEDIA_PLUGIN_H
|