1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : the default parser for manual rename, includes all subparsers
9
* Copyright (C) 2009 by Andi Clemens <andi dot clemens at gmx dot net>
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)
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.
22
* ============================================================ */
24
#include "defaultrenameparser.h"
28
#include <libkexiv2/version.h>
32
#include "cameranameparser.h"
33
#include "dateparser.h"
34
#include "directorynameparser.h"
35
#include "filepropertiesparser.h"
36
#include "metadataparser.h"
37
#include "sequencenumberparser.h"
42
DefaultRenameParser::DefaultRenameParser()
45
registerSubParser(new FilePropertiesParser());
46
registerSubParser(new DirectoryNameParser());
47
registerSubParser(new CameraNameParser());
48
registerSubParser(new SequenceNumberParser());
49
registerSubParser(new DateParser());
51
#if KEXIV2_VERSION >= 0x010000
52
registerSubParser(new MetadataParser());
56
} // namespace Digikam