Remove constexpr from Vector3::getLength and getDistance
[alure.git] / src / devicemanager.h
bloba9e947abd29f00943d117f63c2cb7aa4d9f05022
1 #ifndef DEVICEMANAGER_H
2 #define DEVICEMANAGER_H
4 #include "main.h"
6 namespace alure {
8 class ALDevice;
10 class ALDeviceManager : public DeviceManager {
11 Vector<UniquePtr<ALDevice>> mDevices;
13 ALDeviceManager();
14 virtual ~ALDeviceManager();
16 public:
17 static ALCboolean (ALC_APIENTRY*SetThreadContext)(ALCcontext*);
19 static ALDeviceManager &get();
21 void removeDevice(ALDevice *dev);
23 bool queryExtension(const String &name) const override final;
25 Vector<String> enumerate(DeviceEnumeration type) const override final;
26 String defaultDeviceName(DefaultDeviceType type) const override final;
28 Device *openPlayback(const String &name) override final;
31 } // namespace alure
33 #endif /* DEVICEMANAGER_H */