SDL2
};
+ virtual ~DeviceProber() = default;
+
virtual void closeAllDevices() = 0;
virtual DeviceList listDevices() = 0;
virtual std::shared_ptr<FFBDevice> openDevice(const QString& id) = 0;
class FFBDevice {
public:
+ virtual ~FFBDevice() = default;
+
const std::vector<ConditionSubtypes>& availableConditionSubtypesList() const;
const std::vector<FFBEffectTypes>& availableEffectsList() const;
const std::vector<PeriodicWaveforms>& availableWaveformsList() const;
enum class FFBEffectStatus { PLAYING, UPLOADED, NOT_LOADED };
explicit FFBEffect(FFBEffectTypes type);
+ virtual ~FFBEffect() = default;
virtual const std::shared_ptr<FFBEffectParameters> parameters() const = 0;
virtual bool setParameters(const std::shared_ptr<FFBEffectParameters> params) = 0;
inline void setStatus(FFBEffectStatus status) { m_status = status; }
};
-#endif // FFBDEVICE_H
+#endif // LINUXFFBDEVICE_H