Prison

types.h
1/*
2 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: MIT
4*/
5
6#include <Prison/Format>
7#include <Prison/ScanResult>
8#include <Prison/VideoScanner>
9
10#include <QQmlEngine>
11#include <QQmlExtensionPlugin>
12
13struct VideoScannerForeign {
14 Q_GADGET
15 QML_NAMED_ELEMENT(VideoScanner)
16 QML_FOREIGN(Prison::VideoScanner)
17};
18
19namespace FormatForeign
20{
21Q_NAMESPACE
22QML_NAMED_ELEMENT(Format)
23QML_FOREIGN_NAMESPACE(Prison::Format)
24};
25
26struct ScanResultForeign {
27 Q_GADGET
28 QML_VALUE_TYPE(scanResult)
29 QML_FOREIGN(Prison::ScanResult)
30};
Result of a barcode scan attempt.
Definition scanresult.h:31
Scans a live video feed for barcodes.
Barcode formats detectable by Prison::VideoScanner.
Definition format.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.