1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : main photograph information container
9
* Copyright (C) 2006-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
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
#ifndef PHOTOINFOCONTAINER_H
25
#define PHOTOINFOCONTAINER_H
29
#include <QtCore/QString>
30
#include <QtCore/QDateTime>
34
#include "digikam_export.h"
39
class DIGIKAM_EXPORT PhotoInfoContainer
45
~PhotoInfoContainer();
50
bool operator==(const PhotoInfoContainer& t) const;
59
QString exposureProgram;
62
QString focalLength35mm;
70
DIGIKAM_EXPORT QDataStream& operator<<(QDataStream& ds, const PhotoInfoContainer& info);
71
DIGIKAM_EXPORT QDataStream& operator>>(QDataStream& ds, PhotoInfoContainer& info);
73
// --------------------------------------------------------------------------------------------------
75
class DIGIKAM_EXPORT VideoInfoContainer
81
~VideoInfoContainer();
86
bool operator==(const VideoInfoContainer& t) const;
95
QString audioChannelType;
96
QString audioCompressor;
99
DIGIKAM_EXPORT QDataStream& operator<<(QDataStream& ds, const VideoInfoContainer& info);
100
DIGIKAM_EXPORT QDataStream& operator>>(QDataStream& ds, VideoInfoContainer& info);
102
} // namespace Digikam
104
#endif /* PHOTOINFOCONTAINER_H */