PrisonScanner
5.109.0
prison-9999_git1688827743
src
scanner
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
14
namespace
Prison
15
{
16
23
namespace
Format
24
{
25
Q_NAMESPACE_EXPORT(PRISONSCANNER_EXPORT)
27
enum
BarcodeFormat
{
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
};
46
Q_ENUM_NS(
BarcodeFormat
)
47
48
Q_DECLARE_FLAGS(BarcodeFormats,
BarcodeFormat
)
49
Q_FLAG_NS(BarcodeFormats)
50
Q_DECLARE_OPERATORS_FOR_FLAGS(BarcodeFormats)
51
}
52
53
}
54
55
#endif
// PRISON_FORMAT_H
Prison::Format::BarcodeFormat
BarcodeFormat
Barcode formats.
Definition
format.h:27
Generated by
1.9.7