2017-06-06 17:05:34 +02:00
|
|
|
#ifndef FORMATS_HPP
|
|
|
|
#define FORMATS_HPP
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace formats {
|
2017-10-05 19:21:52 +02:00
|
|
|
enum class Normal { PNG, JPG, None };
|
|
|
|
QString normalFormatName(Normal format);
|
|
|
|
Normal normalFormatFromName(QString format);
|
|
|
|
QString normalFormatMIME(Normal format);
|
2017-06-06 17:05:34 +02:00
|
|
|
|
2017-10-05 19:21:52 +02:00
|
|
|
enum class Recording { GIF, WebM, MP4, None };
|
|
|
|
QString recordingFormatName(Recording format);
|
|
|
|
Recording recordingFormatFromName(QString format);
|
|
|
|
QString recordingFormatMIME(Recording format);
|
2018-02-18 02:35:29 +01:00
|
|
|
} // namespace formats
|
2017-06-06 17:05:34 +02:00
|
|
|
#endif // FORMATS_HPP
|