1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date        : 2009-08-08
7  * Description : an option to provide camera information to the parser
8  *
9  * Copyright (C) 2009-2012 by Andi Clemens <andi dot clemens 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)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_CAMERA_NAME_OPTION_H
25 #define DIGIKAM_CAMERA_NAME_OPTION_H
26 
27 // Qt includes
28 
29 #include <QObject>
30 #include <QString>
31 
32 // Local includes
33 
34 #include "option.h"
35 
36 namespace Digikam
37 {
38 
39 class CameraNameOption : public Option
40 {
41     Q_OBJECT
42 
43 public:
44 
45     explicit CameraNameOption();
46     ~CameraNameOption()                             override = default;
47 
48 protected:
49 
50     QString parseOperation(ParseSettings& settings) override;
51 
52 private:
53 
54     // Disable
55     CameraNameOption(QObject*)                           = delete;
56     CameraNameOption(const CameraNameOption&)            = delete;
57     CameraNameOption& operator=(const CameraNameOption&) = delete;
58 };
59 
60 } // namespace Digikam
61 
62 #endif // DIGIKAM_CAMERA_NAME_OPTION_H
63