KShare/formats.hpp
2017-06-13 01:18:18 +02:00

18 lines
463 B
C++

#ifndef FORMATS_HPP
#define FORMATS_HPP
#include <QString>
namespace formats {
enum class Normal { PNG, JPG, None };
QString normalFormatName(Normal format);
Normal normalFormatFromName(QString format);
QString normalFormatMIME(Normal format);
enum class Recording { GIF, WebM, MP4, None };
QString recordingFormatName(Recording format);
Recording recordingFormatFromName(QString format);
QString recordingFormatMIME(Recording format);
}
#endif // FORMATS_HPP