~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to core/libs/dmetadata/infocontainer.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-11-26 18:24:20 UTC
  • mfrom: (1.9.1) (3.1.23 experimental)
  • Revision ID: package-import@ubuntu.com-20121126182420-qoy6z0nx4ai0wzcl
Tags: 4:3.0.0~beta3-0ubuntu1
* New upstream release
  - Add build-deps :  libhupnp-dev, libqtgstreamer-dev, libmagickcore-dev
* Merge from debian, remaining changes:
  - Make sure libqt4-opengl-dev, libgl1-mesa-dev and libglu1-mesa-dev only
    install on i386,amd64 and powerpc
  - Depend on libtiff-dev instead of libtiff4-dev
  - Drop digikam breaks/replaces kipi-plugins-common since we're past the
    LTS release now
  - digikam to recommend mplayerthumbs | ffmpegthumbs. We currently only
    have latter in the archives, even though former is also supposed to
    be part of kdemultimedia. (LP: #890059)
  - kipi-plugins to recommend www-browser rather than konqueror directly
    since 2.8 no direct usage of konqueror is present in the flickr
    plugin anymore (LP: #1011211)
  - Keep kubuntu_mysqld_executable_name.diff
  - Don't install libkipi translations
  - Keep deps on libcv-dev, libcvaux-dev
  - Keep split packaging of libraries
  - Replace icons from KDE 3 time in debian/xpm.d/*.xpm with the new
    versions (LP: #658047)
* Update debian/not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of digiKam project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2006-04-21
 
7
 * Description : main photograph information container
 
8
 *
 
9
 * Copyright (C) 2006-2012 by Gilles Caulier <caulier dot gilles 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 PHOTOINFOCONTAINER_H
 
25
#define PHOTOINFOCONTAINER_H
 
26
 
 
27
// Qt includes
 
28
 
 
29
#include <QtCore/QString>
 
30
#include <QtCore/QDateTime>
 
31
 
 
32
// Local includes
 
33
 
 
34
#include "digikam_export.h"
 
35
 
 
36
namespace Digikam
 
37
{
 
38
 
 
39
class DIGIKAM_EXPORT PhotoInfoContainer
 
40
{
 
41
 
 
42
public:
 
43
 
 
44
    PhotoInfoContainer();
 
45
    ~PhotoInfoContainer();
 
46
 
 
47
    bool isEmpty() const;
 
48
    bool isNull() const;
 
49
 
 
50
    bool operator==(const PhotoInfoContainer& t) const;
 
51
 
 
52
public:
 
53
 
 
54
    QString   make;
 
55
    QString   model;
 
56
    QString   lens;
 
57
    QString   exposureTime;
 
58
    QString   exposureMode;
 
59
    QString   exposureProgram;
 
60
    QString   aperture;
 
61
    QString   focalLength;
 
62
    QString   focalLength35mm;
 
63
    QString   sensitivity;
 
64
    QString   flash;
 
65
    QString   whiteBalance;
 
66
 
 
67
    QDateTime dateTime;
 
68
};
 
69
 
 
70
DIGIKAM_EXPORT QDataStream& operator<<(QDataStream& ds, const PhotoInfoContainer& info);
 
71
DIGIKAM_EXPORT QDataStream& operator>>(QDataStream& ds, PhotoInfoContainer& info);
 
72
 
 
73
// --------------------------------------------------------------------------------------------------
 
74
 
 
75
class DIGIKAM_EXPORT VideoInfoContainer
 
76
{
 
77
 
 
78
public:
 
79
 
 
80
    VideoInfoContainer();
 
81
    ~VideoInfoContainer();
 
82
 
 
83
    bool isEmpty() const;
 
84
    bool isNull() const;
 
85
 
 
86
    bool operator==(const VideoInfoContainer& t) const;
 
87
 
 
88
public:
 
89
 
 
90
    QString aspectRatio;
 
91
    QString duration;
 
92
    QString frameRate;
 
93
    QString videoCodec;
 
94
    QString audioBitRate;
 
95
    QString audioChannelType;
 
96
    QString audioCompressor;
 
97
};
 
98
 
 
99
DIGIKAM_EXPORT QDataStream& operator<<(QDataStream& ds, const VideoInfoContainer& info);
 
100
DIGIKAM_EXPORT QDataStream& operator>>(QDataStream& ds, VideoInfoContainer& info);
 
101
 
 
102
} // namespace Digikam
 
103
 
 
104
#endif /* PHOTOINFOCONTAINER_H */