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

« back to all changes in this revision

Viewing changes to extra/kipi-plugins/dlnaexport/extra/hupnp_av/src/cds_model/hforeignmetadata.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-09-27 21:41:30 UTC
  • mfrom: (1.2.43)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: package-import@ubuntu.com-20120927214130-i8v3ufr21nesp29i
Tags: 4:3.0.0~beta1a-1
* New upstream release

* Fix "wrongly conflicts phonon-backend-vlc" dropped (Closes: #688142)
* debian/watch include download.kde.org

* digikam 3.0.0 uses features from unreleased kdegraphics >=4.10 & ships 
a private version of the kdegraphics libs - this is not the Debian way :-(
* Unsatisfactory Conflicts: libkipi8, libkexiv2-10, libkdcraw20, libksane0
* Suspend digikam-dbg >130Mb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 2011 Tuomo Penttinen, all rights reserved.
 
3
 *
 
4
 *  Author: Tuomo Penttinen <tp@herqq.org>
 
5
 *
 
6
 *  This file is part of Herqq UPnP Av (HUPnPAv) library.
 
7
 *
 
8
 *  Herqq UPnP Av is free software: you can redistribute it and/or modify
 
9
 *  it under the terms of the GNU General Public License as published by
 
10
 *  the Free Software Foundation, either version 3 of the License, or
 
11
 *  (at your option) any later version.
 
12
 *
 
13
 *  Herqq UPnP Av is distributed in the hope that it will be useful,
 
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
16
 *  GNU General Public License for more details.
 
17
 *
 
18
 *  You should have received a copy of the GNU General Public License
 
19
 *  along with Herqq UPnP Av. If not, see <http://www.gnu.org/licenses/>.
 
20
 */
 
21
 
 
22
#ifndef HFOREIGNMETADATA_H_
 
23
#define HFOREIGNMETADATA_H_
 
24
 
 
25
#include <HUpnpAv/HUpnpAv>
 
26
 
 
27
#include <QtCore/QMetaType>
 
28
 
 
29
namespace Herqq
 
30
{
 
31
 
 
32
namespace Upnp
 
33
{
 
34
 
 
35
namespace Av
 
36
{
 
37
 
 
38
/*!
 
39
 * \headerfile hforeignmetadata.h HForeignMetadata
 
40
 *
 
41
 * \ingroup hupnp_av_cds_common
 
42
 *
 
43
 * \remarks This class is not thread-safe.
 
44
 */
 
45
class H_UPNP_AV_EXPORT HForeignMetadata
 
46
{
 
47
public:
 
48
 
 
49
    /*!
 
50
     * Creates a new, invalid instance.
 
51
     *
 
52
     * \sa isValid()
 
53
     */
 
54
    HForeignMetadata();
 
55
 
 
56
    /*!
 
57
     * \brief Destroys the instance.
 
58
     */
 
59
    ~HForeignMetadata();
 
60
 
 
61
    /*!
 
62
     * Indicates if the object is valid.
 
63
     *
 
64
     * \return \e true if the object is valid.
 
65
     */
 
66
    bool isValid() const;
 
67
};
 
68
 
 
69
/*!
 
70
 * Compares the two objects for equality.
 
71
 *
 
72
 * \return \e true in case the objects are logically equivalent.
 
73
 *
 
74
 * \relates HForeignMetadata
 
75
 */
 
76
H_UPNP_AV_EXPORT bool operator==(const HForeignMetadata&, const HForeignMetadata&);
 
77
 
 
78
/*!
 
79
 * Compares the two objects for inequality.
 
80
 *
 
81
 * \return \e true in case the objects are not logically equivalent.
 
82
 *
 
83
 * \relates HForeignMetadata
 
84
 */
 
85
inline bool operator!=(const HForeignMetadata& obj1, const HForeignMetadata& obj2)
 
86
{
 
87
    return !(obj1 == obj2);
 
88
}
 
89
 
 
90
}
 
91
}
 
92
}
 
93
 
 
94
Q_DECLARE_METATYPE(Herqq::Upnp::Av::HForeignMetadata)
 
95
 
 
96
#endif /* HFOREIGNMETADATA_H_ */