mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-11-23 15:48:03 -05:00
31 lines
578 B
C++
31 lines
578 B
C++
#ifndef INTERLEAF_H
|
|
#define INTERLEAF_H
|
|
|
|
#include "chunk.h"
|
|
#include "core.h"
|
|
#include "object.h"
|
|
|
|
namespace si {
|
|
|
|
class Interleaf : public Core
|
|
{
|
|
public:
|
|
LIBWEAVER_EXPORT Interleaf();
|
|
|
|
LIBWEAVER_EXPORT bool Parse(Chunk *riff);
|
|
LIBWEAVER_EXPORT Chunk *Export() const;
|
|
|
|
private:
|
|
bool ParseStream(Chunk *chunk);
|
|
Chunk *ExportStream(Object *obj) const;
|
|
Chunk *ExportMxCh(uint16_t flags, uint32_t object_id, uint32_t time, const bytearray &data = bytearray()) const;
|
|
|
|
uint32_t version_;
|
|
uint32_t buffer_size_;
|
|
uint32_t buffer_count_;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // INTERLEAF_H
|