2
* Copyright (C) 2011 Tuomo Penttinen, all rights reserved.
4
* Author: Tuomo Penttinen <tp@herqq.org>
6
* This file is part of Herqq UPnP Av (HUPnPAv) library.
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.
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.
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/>.
22
#ifndef HFOREIGNMETADATA_H_
23
#define HFOREIGNMETADATA_H_
25
#include <HUpnpAv/HUpnpAv>
27
#include <QtCore/QMetaType>
39
* \headerfile hforeignmetadata.h HForeignMetadata
41
* \ingroup hupnp_av_cds_common
43
* \remarks This class is not thread-safe.
45
class H_UPNP_AV_EXPORT HForeignMetadata
50
* Creates a new, invalid instance.
57
* \brief Destroys the instance.
62
* Indicates if the object is valid.
64
* \return \e true if the object is valid.
70
* Compares the two objects for equality.
72
* \return \e true in case the objects are logically equivalent.
74
* \relates HForeignMetadata
76
H_UPNP_AV_EXPORT bool operator==(const HForeignMetadata&, const HForeignMetadata&);
79
* Compares the two objects for inequality.
81
* \return \e true in case the objects are not logically equivalent.
83
* \relates HForeignMetadata
85
inline bool operator!=(const HForeignMetadata& obj1, const HForeignMetadata& obj2)
87
return !(obj1 == obj2);
94
Q_DECLARE_METATYPE(Herqq::Upnp::Av::HForeignMetadata)
96
#endif /* HFOREIGNMETADATA_H_ */