File indexing completed on 2024-11-03 12:48:43
0001 /* 0002 SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef KODASKANNA_ABSTRACTEXPORTTOOL_HPP 0008 #define KODASKANNA_ABSTRACTEXPORTTOOL_HPP 0009 0010 // Qt 0011 #include <QObject> 0012 0013 class QDialogButtonBox; 0014 0015 namespace Kodaskanna 0016 { 0017 class ScanResult; 0018 0019 class AbstractExportTool : public QObject 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit AbstractExportTool(QObject *parent = nullptr); 0025 0026 ~AbstractExportTool() override; 0027 0028 public: // API to implement 0029 virtual void setupButtonBox(QDialogButtonBox *buttonBox) = 0; 0030 virtual void setScanResult(const ScanResult &scanResult) = 0; 0031 0032 private: 0033 }; 0034 0035 } 0036 0037 #endif