digiKam
cpcleantask.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2012-03-15
7  * Description : a tool to create panorama by fusion of several images.
8  *
9  * Copyright (C) 2012-2015 by Benjamin Girault <benjamin dot girault at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_CP_CLEAN_TASK_H
24 #define DIGIKAM_CP_CLEAN_TASK_H
25 
26 // Local includes
27 
28 #include "commandtask.h"
29 
31 {
32 class CpCleanTask : public CommandTask
33 {
34 public:
35 
36  explicit CpCleanTask(const QString& workDirPath,
37  const QUrl& input,
38  QUrl& cpCleanPtoUrl,
39  const QString& cpCleanPath);
40  ~CpCleanTask() = default;
41 
42 protected:
43 
44  void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override;
45 
46 private:
47 
48  QUrl& cpCleanPtoUrl;
49  const QUrl& cpFindPtoUrl;
50 
51 private:
52 
53  // Disable
54  CpCleanTask() = delete;
55 
56  Q_DISABLE_COPY(CpCleanTask)
57 };
58 
59 } // namespace DigikamGenericPanoramaPlugin
60 
61 #endif // DIGIKAM_CP_CLEAN_TASK_H
Definition: commandtask.h:38
Definition: cpcleantask.h:33
void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread) override
Definition: cpcleantask.cpp:40
Definition: panoactions.h:36