File indexing completed on 2024-05-12 04:01:32

0001 /*
0002     SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0003     SPDX-License-Identifier: MIT
0004 */
0005 
0006 #ifndef PRISON_SCANRESULT_P_H
0007 #define PRISON_SCANRESULT_P_H
0008 
0009 #include "scanresult.h"
0010 
0011 #include <QSharedData>
0012 
0013 namespace Prison
0014 {
0015 
0016 class ScanResultPrivate : public QSharedData
0017 {
0018 public:
0019     static inline ScanResultPrivate *get(const ScanResult &q)
0020     {
0021         return q.d.data();
0022     }
0023 
0024     QVariant content;
0025     QRect boundingRect;
0026     Format::BarcodeFormat format = Format::NoFormat;
0027 };
0028 
0029 }
0030 #endif // PRISON_SCANRESULT_P_H