git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
32 lines
516 B
C++
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
|