PrisonScanner 5.109.0
format.h
1/*
2 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: MIT
4*/
5
6#ifndef PRISON_FORMAT_H
7#define PRISON_FORMAT_H
8
9#include "prisonscanner_export.h"
10
11#include <QFlag>
12#include <QMetaType>
13
14namespace Prison
15{
16
23namespace Format
24{
25Q_NAMESPACE_EXPORT(PRISONSCANNER_EXPORT)
28 NoFormat = 0,
29 Aztec = 1,
30 Codabar = 2,
31 Code39 = 4,
32 Code93 = 8,
33 Code128 = 16,
34 DataBar = 32,
35 DataBarExpanded = 64,
36 DataMatrix = 128,
37 EAN8 = 256,
38 EAN13 = 512,
39 ITF = 1024,
40 MaxiCode = 2048,
41 PDF417 = 4096,
42 QRCode = 8192,
43 UPCA = 16384,
44 UPCE = 32768,
45};
46Q_ENUM_NS(BarcodeFormat)
47
48Q_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat)
49Q_FLAG_NS(BarcodeFormats)
50Q_DECLARE_OPERATORS_FOR_FLAGS(BarcodeFormats)
51}
52
53}
54
55#endif // PRISON_FORMAT_H
BarcodeFormat
Barcode formats.
Definition format.h:27