Home · All Classes · All Namespaces · Modules · Functions · Files

types.h

00001 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt4Yell copy */
00002 
00003 #ifndef IN_TELEPATHY_QT4_YELL_HEADER
00004 #error IN_TELEPATHY_QT4_YELL_HEADER
00005 #endif
00006 #include <TelepathyQt4Yell/Global>
00007 
00008 #include <QtGlobal>
00009 
00010 #include <QByteArray>
00011 #include <QString>
00012 #include <QStringList>
00013 #include <QVariantList>
00014 #include <QVariantMap>
00015 
00016 #include <QDBusArgument>
00017 #include <QDBusMetaType>
00018 #include <QDBusObjectPath>
00019 #include <QDBusSignature>
00020 #include <QDBusVariant>
00021 
00022 #include <TelepathyQt4/Global>
00023 
00052 namespace Tpy
00053 {
00062 struct TELEPATHY_QT4_YELL_EXPORT ObjectPathList : public QList<QDBusObjectPath>
00063 {
00064     inline ObjectPathList() : QList<QDBusObjectPath>() {}
00065     inline ObjectPathList(const QList<QDBusObjectPath>& a) : QList<QDBusObjectPath>(a) {}
00066 
00067     inline ObjectPathList& operator=(const QList<QDBusObjectPath>& a)
00068     {
00069         *(static_cast<QList<QDBusObjectPath>*>(this)) = a;
00070         return *this;
00071     }
00072 };
00073 
00082 struct TELEPATHY_QT4_YELL_EXPORT UIntList : public QList<uint>
00083 {
00084     inline UIntList() : QList<uint>() {}
00085     inline UIntList(const QList<uint>& a) : QList<uint>(a) {}
00086 
00087     inline UIntList& operator=(const QList<uint>& a)
00088     {
00089         *(static_cast<QList<uint>*>(this)) = a;
00090         return *this;
00091     }
00092 };
00093 
00104 struct TELEPATHY_QT4_YELL_EXPORT CallMemberMap : public QMap<uint, uint>
00105 {
00106     inline CallMemberMap() : QMap<uint, uint>() {}
00107     inline CallMemberMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
00108 
00109     inline CallMemberMap& operator=(const QMap<uint, uint>& a)
00110     {
00111         *(static_cast<QMap<uint, uint>*>(this)) = a;
00112         return *this;
00113     }
00114 };
00115 
00122 typedef QList<CallMemberMap> CallMemberMapList;
00123 
00135 struct TELEPATHY_QT4_YELL_EXPORT CallStateReason
00136 {
00141     uint actor;
00148     uint reason;
00167     QString DBusReason;
00168 };
00169 
00170 TELEPATHY_QT4_YELL_EXPORT bool operator==(const CallStateReason& v1, const CallStateReason& v2);
00171 inline bool operator!=(const CallStateReason& v1, const CallStateReason& v2)
00172 {
00173     return !operator==(v1, v2);
00174 }
00175 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CallStateReason& val);
00176 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CallStateReason& val);
00177 
00187 struct TELEPATHY_QT4_YELL_EXPORT Candidate
00188 {
00192     uint component;
00196     QString IP;
00200     ushort port;
00204     QVariantMap info;
00205 };
00206 
00207 TELEPATHY_QT4_YELL_EXPORT bool operator==(const Candidate& v1, const Candidate& v2);
00208 inline bool operator!=(const Candidate& v1, const Candidate& v2)
00209 {
00210     return !operator==(v1, v2);
00211 }
00212 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Candidate& val);
00213 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Candidate& val);
00214 
00221 typedef QList<Candidate> CandidateList;
00222 
00264 struct TELEPATHY_QT4_YELL_EXPORT CandidateInfo : public QMap<QString, QDBusVariant>
00265 {
00266     inline CandidateInfo() : QMap<QString, QDBusVariant>() {}
00267     inline CandidateInfo(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
00268 
00269     inline CandidateInfo& operator=(const QMap<QString, QDBusVariant>& a)
00270     {
00271         *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
00272         return *this;
00273     }
00274 };
00275 
00286 struct TELEPATHY_QT4_YELL_EXPORT ContactSendingStateMap : public QMap<uint, uint>
00287 {
00288     inline ContactSendingStateMap() : QMap<uint, uint>() {}
00289     inline ContactSendingStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
00290 
00291     inline ContactSendingStateMap& operator=(const QMap<uint, uint>& a)
00292     {
00293         *(static_cast<QMap<uint, uint>*>(this)) = a;
00294         return *this;
00295     }
00296 };
00297 
00308 struct TELEPATHY_QT4_YELL_EXPORT ObjectImmutablePropertiesMap : public QMap<QDBusObjectPath, QVariantMap>
00309 {
00310     inline ObjectImmutablePropertiesMap() : QMap<QDBusObjectPath, QVariantMap>() {}
00311     inline ObjectImmutablePropertiesMap(const QMap<QDBusObjectPath, QVariantMap>& a) : QMap<QDBusObjectPath, QVariantMap>(a) {}
00312 
00313     inline ObjectImmutablePropertiesMap& operator=(const QMap<QDBusObjectPath, QVariantMap>& a)
00314     {
00315         *(static_cast<QMap<QDBusObjectPath, QVariantMap>*>(this)) = a;
00316         return *this;
00317     }
00318 };
00319 
00326 typedef QList<ObjectImmutablePropertiesMap> ObjectImmutablePropertiesMapList;
00327 
00339 struct TELEPATHY_QT4_YELL_EXPORT QualifiedPropertyValueMap : public QMap<QString, QDBusVariant>
00340 {
00341     inline QualifiedPropertyValueMap() : QMap<QString, QDBusVariant>() {}
00342     inline QualifiedPropertyValueMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
00343 
00344     inline QualifiedPropertyValueMap& operator=(const QMap<QString, QDBusVariant>& a)
00345     {
00346         *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
00347         return *this;
00348     }
00349 };
00350 
00357 typedef QList<QualifiedPropertyValueMap> QualifiedPropertyValueMapList;
00358 
00368 struct TELEPATHY_QT4_YELL_EXPORT SocketAddressIP
00369 {
00374     QString address;
00378     ushort port;
00379 };
00380 
00381 TELEPATHY_QT4_YELL_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2);
00382 inline bool operator!=(const SocketAddressIP& v1, const SocketAddressIP& v2)
00383 {
00384     return !operator==(v1, v2);
00385 }
00386 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val);
00387 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val);
00388 
00395 typedef QList<SocketAddressIP> SocketAddressIPList;
00396 
00406 struct TELEPATHY_QT4_YELL_EXPORT SocketAddressIPv4
00407 {
00412     QString address;
00416     ushort port;
00417 };
00418 
00419 TELEPATHY_QT4_YELL_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2);
00420 inline bool operator!=(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
00421 {
00422     return !operator==(v1, v2);
00423 }
00424 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val);
00425 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val);
00426 
00436 struct TELEPATHY_QT4_YELL_EXPORT SocketAddressIPv6
00437 {
00442     QString address;
00446     ushort port;
00447 };
00448 
00449 TELEPATHY_QT4_YELL_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2);
00450 inline bool operator!=(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
00451 {
00452     return !operator==(v1, v2);
00453 }
00454 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val);
00455 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val);
00456 
00466 struct TELEPATHY_QT4_YELL_EXPORT SocketNetmaskIPv4
00467 {
00472     QString address;
00477     uchar prefixLength;
00478 };
00479 
00480 TELEPATHY_QT4_YELL_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2);
00481 inline bool operator!=(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
00482 {
00483     return !operator==(v1, v2);
00484 }
00485 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val);
00486 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val);
00487 
00497 struct TELEPATHY_QT4_YELL_EXPORT SocketNetmaskIPv6
00498 {
00503     QString address;
00508     uchar prefixLength;
00509 };
00510 
00511 TELEPATHY_QT4_YELL_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2);
00512 inline bool operator!=(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
00513 {
00514     return !operator==(v1, v2);
00515 }
00516 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val);
00517 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val);
00518 
00528 struct TELEPATHY_QT4_YELL_EXPORT StreamCredentials
00529 {
00533     QString username;
00537     QString password;
00538 };
00539 
00540 TELEPATHY_QT4_YELL_EXPORT bool operator==(const StreamCredentials& v1, const StreamCredentials& v2);
00541 inline bool operator!=(const StreamCredentials& v1, const StreamCredentials& v2)
00542 {
00543     return !operator==(v1, v2);
00544 }
00545 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StreamCredentials& val);
00546 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StreamCredentials& val);
00547 
00558 struct TELEPATHY_QT4_YELL_EXPORT StringStringMap : public QMap<QString, QString>
00559 {
00560     inline StringStringMap() : QMap<QString, QString>() {}
00561     inline StringStringMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
00562 
00563     inline StringStringMap& operator=(const QMap<QString, QString>& a)
00564     {
00565         *(static_cast<QMap<QString, QString>*>(this)) = a;
00566         return *this;
00567     }
00568 };
00569 
00576 typedef QList<StringStringMap> StringStringMapList;
00577 
00588 struct TELEPATHY_QT4_YELL_EXPORT StringVariantMap : public QMap<QString, QDBusVariant>
00589 {
00590     inline StringVariantMap() : QMap<QString, QDBusVariant>() {}
00591     inline StringVariantMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
00592 
00593     inline StringVariantMap& operator=(const QMap<QString, QDBusVariant>& a)
00594     {
00595         *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
00596         return *this;
00597     }
00598 };
00599 
00606 typedef QList<StringVariantMap> StringVariantMapList;
00607 
00617 struct TELEPATHY_QT4_YELL_EXPORT Codec
00618 {
00623     uint identifier;
00627     QString name;
00631     uint clockrate;
00635     uint channels;
00639     StringStringMap parameters;
00640 };
00641 
00642 TELEPATHY_QT4_YELL_EXPORT bool operator==(const Codec& v1, const Codec& v2);
00643 inline bool operator!=(const Codec& v1, const Codec& v2)
00644 {
00645     return !operator==(v1, v2);
00646 }
00647 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Codec& val);
00648 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Codec& val);
00649 
00656 typedef QList<Codec> CodecList;
00657 
00667 struct TELEPATHY_QT4_YELL_EXPORT CodecOffering
00668 {
00672     QDBusObjectPath codecOffer;
00676     uint remoteContact;
00681     CodecList remoteContactCodecs;
00682 };
00683 
00684 TELEPATHY_QT4_YELL_EXPORT bool operator==(const CodecOffering& v1, const CodecOffering& v2);
00685 inline bool operator!=(const CodecOffering& v1, const CodecOffering& v2)
00686 {
00687     return !operator==(v1, v2);
00688 }
00689 TELEPATHY_QT4_YELL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CodecOffering& val);
00690 TELEPATHY_QT4_YELL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CodecOffering& val);
00691 
00702 struct TELEPATHY_QT4_YELL_EXPORT ContactCodecMap : public QMap<uint, CodecList>
00703 {
00704     inline ContactCodecMap() : QMap<uint, CodecList>() {}
00705     inline ContactCodecMap(const QMap<uint, CodecList>& a) : QMap<uint, CodecList>(a) {}
00706 
00707     inline ContactCodecMap& operator=(const QMap<uint, CodecList>& a)
00708     {
00709         *(static_cast<QMap<uint, CodecList>*>(this)) = a;
00710         return *this;
00711     }
00712 };
00713 
00714 
00715 } // namespace Tpy
00716 
00717 Q_DECLARE_METATYPE(Tpy::CallMemberMap)
00718 Q_DECLARE_METATYPE(Tpy::CallMemberMapList)
00719 Q_DECLARE_METATYPE(Tpy::CallStateReason)
00720 Q_DECLARE_METATYPE(Tpy::Candidate)
00721 Q_DECLARE_METATYPE(Tpy::CandidateInfo)
00722 Q_DECLARE_METATYPE(Tpy::CandidateList)
00723 Q_DECLARE_METATYPE(Tpy::Codec)
00724 Q_DECLARE_METATYPE(Tpy::CodecList)
00725 Q_DECLARE_METATYPE(Tpy::CodecOffering)
00726 Q_DECLARE_METATYPE(Tpy::ContactCodecMap)
00727 Q_DECLARE_METATYPE(Tpy::ContactSendingStateMap)
00728 Q_DECLARE_METATYPE(Tpy::ObjectImmutablePropertiesMap)
00729 Q_DECLARE_METATYPE(Tpy::ObjectImmutablePropertiesMapList)
00730 Q_DECLARE_METATYPE(Tpy::ObjectPathList)
00731 Q_DECLARE_METATYPE(Tpy::QualifiedPropertyValueMap)
00732 Q_DECLARE_METATYPE(Tpy::QualifiedPropertyValueMapList)
00733 Q_DECLARE_METATYPE(Tpy::SocketAddressIP)
00734 Q_DECLARE_METATYPE(Tpy::SocketAddressIPList)
00735 Q_DECLARE_METATYPE(Tpy::SocketAddressIPv4)
00736 Q_DECLARE_METATYPE(Tpy::SocketAddressIPv6)
00737 Q_DECLARE_METATYPE(Tpy::SocketNetmaskIPv4)
00738 Q_DECLARE_METATYPE(Tpy::SocketNetmaskIPv6)
00739 Q_DECLARE_METATYPE(Tpy::StreamCredentials)
00740 Q_DECLARE_METATYPE(Tpy::StringStringMap)
00741 Q_DECLARE_METATYPE(Tpy::StringStringMapList)
00742 Q_DECLARE_METATYPE(Tpy::StringVariantMap)
00743 Q_DECLARE_METATYPE(Tpy::StringVariantMapList)
00744 Q_DECLARE_METATYPE(Tpy::UIntList)


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4-Yell 0.1.6