File indexing completed on 2025-01-05 03:53:10
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2012-03-15 0007 * Description : a tool to create panorama by fusion of several images. 0008 * 0009 * SPDX-FileCopyrightText: 2012-2015 by Benjamin Girault <benjamin dot girault at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_CP_CLEAN_TASK_H 0016 #define DIGIKAM_CP_CLEAN_TASK_H 0017 0018 // Local includes 0019 0020 #include "commandtask.h" 0021 0022 namespace DigikamGenericPanoramaPlugin 0023 { 0024 class CpCleanTask : public CommandTask 0025 { 0026 public: 0027 0028 explicit CpCleanTask(const QString& workDirPath, 0029 const QUrl& input, 0030 QUrl& cpCleanPtoUrl, 0031 const QString& cpCleanPath); 0032 ~CpCleanTask() = default; 0033 0034 protected: 0035 0036 void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override; 0037 0038 private: 0039 0040 QUrl& cpCleanPtoUrl; 0041 const QUrl& cpFindPtoUrl; 0042 0043 private: 0044 0045 // Disable 0046 CpCleanTask() = delete; 0047 0048 Q_DISABLE_COPY(CpCleanTask) 0049 }; 0050 0051 } // namespace DigikamGenericPanoramaPlugin 0052 0053 #endif // DIGIKAM_CP_CLEAN_TASK_H