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