Clean up some case spaghetti
[openal-soft.git] / alc / backends / sdl2.h
blob3bd8df8633e3439f88f5739935e4a39235a63d54
1 #ifndef BACKENDS_SDL2_H
2 #define BACKENDS_SDL2_H
4 #include "base.h"
6 struct SDL2BackendFactory final : public BackendFactory {
7 public:
8 bool init() override;
10 bool querySupport(BackendType type) override;
12 std::string probe(BackendType type) override;
14 BackendPtr createBackend(DeviceBase *device, BackendType type) override;
16 static BackendFactory &getFactory();
19 #endif /* BACKENDS_SDL2_H */