digiKam
cpfindtask.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_FIND_TASK_H
24 #define DIGIKAM_CP_FIND_TASK_H
25 
26 // Local includes
27 
28 #include "commandtask.h"
29 
31 {
32 
33 class CpFindTask : public CommandTask
34 {
35 public:
36 
37  explicit CpFindTask(const QString& workDirPath,
38  const QUrl& input,
39  QUrl& cpFindUrl,
40  bool celeste,
41  const QString& cpFindPath);
42  ~CpFindTask() override = default;
43 
44 protected:
45 
46  void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override;
47 
48 private:
49 
50  QUrl& cpFindPtoUrl;
51  const bool celeste;
52  const QUrl& ptoUrl;
53 
54 private:
55 
56  // Disable
57  CpFindTask() = delete;
58 
59  Q_DISABLE_COPY(CpFindTask)
60 };
61 
62 } // namespace DigikamGenericPanoramaPlugin
63 
64 #endif // DIGIKAM_CP_FIND_TASK_H
Definition: commandtask.h:38
Definition: cpfindtask.h:34
void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread) override
Definition: cpfindtask.cpp:44
Definition: panoactions.h:36