20 lines
436 B
C
Raw Normal View History

2018-11-15 22:15:10 -08:00
#ifndef BACKENDS_SDL2_H
#define BACKENDS_SDL2_H
#include "backends/base.h"
struct SDL2BackendFactory final : public BackendFactory {
public:
bool init() override;
2018-12-29 01:38:26 -08:00
bool querySupport(BackendType type) override;
2018-11-15 22:15:10 -08:00
void probe(DevProbe type, std::string *outnames) override;
2018-11-15 22:15:10 -08:00
2018-12-29 02:16:16 -08:00
BackendPtr createBackend(ALCdevice *device, BackendType type) override;
2018-11-15 22:15:10 -08:00
static BackendFactory &getFactory();
};
#endif /* BACKENDS_SDL2_H */