aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/solaris.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 22:23:29 -0800
committerChris Robinson <[email protected]>2018-11-15 22:23:29 -0800
commit271cfcf8e31d06dca259a436251b70f5ffa882be (patch)
tree5439ff1f85aad9786bbbe63a953cbabc13486de3 /Alc/backends/solaris.h
parentd73d01548d992f6f683f6685ff8f4767e8843ad9 (diff)
Convert the Solaris backend factory
Diffstat (limited to 'Alc/backends/solaris.h')
-rw-r--r--Alc/backends/solaris.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Alc/backends/solaris.h b/Alc/backends/solaris.h
new file mode 100644
index 00000000..dcb34570
--- /dev/null
+++ b/Alc/backends/solaris.h
@@ -0,0 +1,20 @@
+#ifndef BACKENDS_SOLARIS_H
+#define BACKENDS_SOLARIS_H
+
+#include "backends/base.h"
+
+struct SolarisBackendFactory final : public BackendFactory {
+public:
+ bool init() override;
+ /*void deinit() override;*/
+
+ bool querySupport(ALCbackend_Type type) override;
+
+ void probe(enum DevProbe type, std::string *outnames) override;
+
+ ALCbackend *createBackend(ALCdevice *device, ALCbackend_Type type) override;
+
+ static BackendFactory &getFactory();
+};
+
+#endif /* BACKENDS_SOLARIS_H */