mirror of
https://github.com/zeldaret/ss
synced 2026-05-26 23:47:22 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
26 lines
530 B
C++
26 lines
530 B
C++
#ifndef EGG_BINARY_H
|
|
#define EGG_BINARY_H
|
|
|
|
#include "common.h"
|
|
|
|
template <class T>
|
|
class IBinary {
|
|
public:
|
|
class Bin {};
|
|
virtual void SetBinaryInner(Bin &) = 0;
|
|
virtual void GetBinaryInner(Bin *) const = 0;
|
|
virtual size_t GetBinarySize() = 0;
|
|
virtual void SetBinaryInner(const Bin &, const Bin &, f32) = 0;
|
|
|
|
static const char *GetBinaryType();
|
|
int GetVersion();
|
|
|
|
void GetBinary(void *) const;
|
|
|
|
void SetBinary(const void *);
|
|
|
|
void SetBinaryBlend(const void *, const void *, f32);
|
|
};
|
|
|
|
#endif
|