digiKam
compilemksteptask.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_COMPILE_MK_STEP_TASK_H
24 #define DIGIKAM_COMPILE_MK_STEP_TASK_H
25 
26 // Local includes
27 
28 #include "commandtask.h"
29 
31 {
32 
34 {
35 public:
36 
37  explicit CompileMKStepTask(const QString& workDirPath,
38  int id,
39  const QUrl& mkUrl,
40  const QString& nonaPath,
41  const QString& enblendPath,
42  const QString& makePath,
43  bool preview);
44  ~CompileMKStepTask() = default;
45 
46 public:
47 
48  const int id;
49 
50 protected:
51 
52  void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override;
53 
54 private:
55 
56  const QUrl& mkUrl;
57  const QString nonaPath;
58  const QString enblendPath;
59 
60 private:
61 
62  // Disable
63  CompileMKStepTask() = delete;
64 
65  Q_DISABLE_COPY(CompileMKStepTask)
66 };
67 
68 } // namespace DigikamGenericPanoramaPlugin
69 
70 #endif // DIGIKAM_COMPILE_MK_STEP_TASK_H
Definition: commandtask.h:38
Definition: compilemksteptask.h:34
void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread) override
Definition: compilemksteptask.cpp:48
const int id
Definition: compilemksteptask.h:48
Definition: panoactions.h:36