File indexing completed on 2024-06-16 04:16:17
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Dmitrii Utkin <loentar@gmail.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-only 0005 */ 0006 0007 #ifndef RECORDER_FORMAT_H 0008 #define RECORDER_FORMAT_H 0009 0010 #include <QLatin1String> 0011 0012 enum class RecorderFormat 0013 { 0014 JPEG, 0015 PNG 0016 }; 0017 0018 namespace RecorderFormatInfo 0019 { 0020 0021 QLatin1String fileExtension(RecorderFormat format); 0022 0023 QLatin1String fileFormat(RecorderFormat format); 0024 0025 } 0026 0027 #endif // RECORDER_FORMAT_H