Files
haiku-beta6/src/servers/media/FormatManager.h
T
shatty fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00

32 lines
516 B
C++

#ifndef _FORMAT_MANAGER_H
#define _FORMAT_MANAGER_H
#include <ObjectList.h>
#include <Locker.h>
#include "MetaFormat.h"
class FormatManager {
public:
FormatManager();
~FormatManager();
void LoadState();
void SaveState();
void GetFormats(BMessage &message);
void MakeFormatFor(BMessage &message);
private:
typedef BPrivate::media::meta_format meta_format;
BObjectList<meta_format> fList;
BLocker fLock;
bigtime_t fLastUpdate;
int32 fNextCodecID;
};
#endif // _FORMAT_MANAGER_H