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

types-body.hpp

    00001 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt copy, version 0.17.7 */
    00002
    00003 #define IN_TP_QT_HEADER
    00004 #include "TelepathyQt/types.h"
    00005
    00006 namespace Tp
    00007 {
    00008 TP_QT_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2)
    00009 {
    00010     return ((v1.type == v2.type)
    00011             && (v1.detail.variant() == v2.detail.variant())
    00012             );
    00013 }
    00014
    00015 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val)
    00016 {
    00017     arg.beginStructure();
    00018     arg << val.type << val.detail;
    00019     arg.endStructure();
    00020     return arg;
    00021 }
    00022
    00023 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val)
    00024 {
    00025     arg.beginStructure();
    00026     arg >> val.type >> val.detail;
    00027     arg.endStructure();
    00028     return arg;
    00029 }
    00030
    00031 TP_QT_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2)
    00032 {
    00033     return ((v1.handle == v2.handle)
    00034             && (v1.alias == v2.alias)
    00035             );
    00036 }
    00037
    00038 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val)
    00039 {
    00040     arg.beginStructure();
    00041     arg << val.handle << val.alias;
    00042     arg.endStructure();
    00043     return arg;
    00044 }
    00045
    00046 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val)
    00047 {
    00048     arg.beginStructure();
    00049     arg >> val.handle >> val.alias;
    00050     arg.endStructure();
    00051     return arg;
    00052 }
    00053
    00054 TP_QT_EXPORT bool operator==(const Avatar& v1, const Avatar& v2)
    00055 {
    00056     return ((v1.avatarData == v2.avatarData)
    00057             && (v1.MIMEType == v2.MIMEType)
    00058             );
    00059 }
    00060
    00061 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val)
    00062 {
    00063     arg.beginStructure();
    00064     arg << val.avatarData << val.MIMEType;
    00065     arg.endStructure();
    00066     return arg;
    00067 }
    00068
    00069 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val)
    00070 {
    00071     arg.beginStructure();
    00072     arg >> val.avatarData >> val.MIMEType;
    00073     arg.endStructure();
    00074     return arg;
    00075 }
    00076
    00077 TP_QT_EXPORT bool operator==(const CallStateReason& v1, const CallStateReason& v2)
    00078 {
    00079     return ((v1.actor == v2.actor)
    00080             && (v1.reason == v2.reason)
    00081             && (v1.DBusReason == v2.DBusReason)
    00082             && (v1.message == v2.message)
    00083             );
    00084 }
    00085
    00086 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CallStateReason& val)
    00087 {
    00088     arg.beginStructure();
    00089     arg << val.actor << val.reason << val.DBusReason << val.message;
    00090     arg.endStructure();
    00091     return arg;
    00092 }
    00093
    00094 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CallStateReason& val)
    00095 {
    00096     arg.beginStructure();
    00097     arg >> val.actor >> val.reason >> val.DBusReason >> val.message;
    00098     arg.endStructure();
    00099     return arg;
    00100 }
    00101
    00102 TP_QT_EXPORT bool operator==(const Candidate& v1, const Candidate& v2)
    00103 {
    00104     return ((v1.component == v2.component)
    00105             && (v1.IP == v2.IP)
    00106             && (v1.port == v2.port)
    00107             && (v1.info == v2.info)
    00108             );
    00109 }
    00110
    00111 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Candidate& val)
    00112 {
    00113     arg.beginStructure();
    00114     arg << val.component << val.IP << val.port << val.info;
    00115     arg.endStructure();
    00116     return arg;
    00117 }
    00118
    00119 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Candidate& val)
    00120 {
    00121     arg.beginStructure();
    00122     arg >> val.component >> val.IP >> val.port >> val.info;
    00123     arg.endStructure();
    00124     return arg;
    00125 }
    00126
    00127 TP_QT_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2)
    00128 {
    00129     return ((v1.handle == v2.handle)
    00130             && (v1.channelType == v2.channelType)
    00131             && (v1.oldGenericFlags == v2.oldGenericFlags)
    00132             && (v1.newGenericFlags == v2.newGenericFlags)
    00133             && (v1.oldTypeSpecificFlags == v2.oldTypeSpecificFlags)
    00134             && (v1.newTypeSpecificFlags == v2.newTypeSpecificFlags)
    00135             );
    00136 }
    00137
    00138 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val)
    00139 {
    00140     arg.beginStructure();
    00141     arg << val.handle << val.channelType << val.oldGenericFlags << val.newGenericFlags << val.oldTypeSpecificFlags << val.newTypeSpecificFlags;
    00142     arg.endStructure();
    00143     return arg;
    00144 }
    00145
    00146 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val)
    00147 {
    00148     arg.beginStructure();
    00149     arg >> val.handle >> val.channelType >> val.oldGenericFlags >> val.newGenericFlags >> val.oldTypeSpecificFlags >> val.newTypeSpecificFlags;
    00150     arg.endStructure();
    00151     return arg;
    00152 }
    00153
    00154 TP_QT_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2)
    00155 {
    00156     return ((v1.channelType == v2.channelType)
    00157             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
    00158             );
    00159 }
    00160
    00161 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val)
    00162 {
    00163     arg.beginStructure();
    00164     arg << val.channelType << val.typeSpecificFlags;
    00165     arg.endStructure();
    00166     return arg;
    00167 }
    00168
    00169 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val)
    00170 {
    00171     arg.beginStructure();
    00172     arg >> val.channelType >> val.typeSpecificFlags;
    00173     arg.endStructure();
    00174     return arg;
    00175 }
    00176
    00177 TP_QT_EXPORT bool operator==(const CaptchaInfo& v1, const CaptchaInfo& v2)
    00178 {
    00179     return ((v1.ID == v2.ID)
    00180             && (v1.type == v2.type)
    00181             && (v1.label == v2.label)
    00182             && (v1.flags == v2.flags)
    00183             && (v1.availableMIMETypes == v2.availableMIMETypes)
    00184             );
    00185 }
    00186
    00187 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CaptchaInfo& val)
    00188 {
    00189     arg.beginStructure();
    00190     arg << val.ID << val.type << val.label << val.flags << val.availableMIMETypes;
    00191     arg.endStructure();
    00192     return arg;
    00193 }
    00194
    00195 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CaptchaInfo& val)
    00196 {
    00197     arg.beginStructure();
    00198     arg >> val.ID >> val.type >> val.label >> val.flags >> val.availableMIMETypes;
    00199     arg.endStructure();
    00200     return arg;
    00201 }
    00202
    00203 TP_QT_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2)
    00204 {
    00205     return ((v1.channel == v2.channel)
    00206             && (v1.properties == v2.properties)
    00207             );
    00208 }
    00209
    00210 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val)
    00211 {
    00212     arg.beginStructure();
    00213     arg << val.channel << val.properties;
    00214     arg.endStructure();
    00215     return arg;
    00216 }
    00217
    00218 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val)
    00219 {
    00220     arg.beginStructure();
    00221     arg >> val.channel >> val.properties;
    00222     arg.endStructure();
    00223     return arg;
    00224 }
    00225
    00226 TP_QT_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2)
    00227 {
    00228     return ((v1.channel == v2.channel)
    00229             && (v1.channelType == v2.channelType)
    00230             && (v1.handleType == v2.handleType)
    00231             && (v1.handle == v2.handle)
    00232             );
    00233 }
    00234
    00235 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val)
    00236 {
    00237     arg.beginStructure();
    00238     arg << val.channel << val.channelType << val.handleType << val.handle;
    00239     arg.endStructure();
    00240     return arg;
    00241 }
    00242
    00243 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val)
    00244 {
    00245     arg.beginStructure();
    00246     arg >> val.channel >> val.channelType >> val.handleType >> val.handle;
    00247     arg.endStructure();
    00248     return arg;
    00249 }
    00250
    00251 TP_QT_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2)
    00252 {
    00253     return ((v1.handle == v2.handle)
    00254             && (v1.channelType == v2.channelType)
    00255             && (v1.genericFlags == v2.genericFlags)
    00256             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
    00257             );
    00258 }
    00259
    00260 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val)
    00261 {
    00262     arg.beginStructure();
    00263     arg << val.handle << val.channelType << val.genericFlags << val.typeSpecificFlags;
    00264     arg.endStructure();
    00265     return arg;
    00266 }
    00267
    00268 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val)
    00269 {
    00270     arg.beginStructure();
    00271     arg >> val.handle >> val.channelType >> val.genericFlags >> val.typeSpecificFlags;
    00272     arg.endStructure();
    00273     return arg;
    00274 }
    00275
    00276 TP_QT_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2)
    00277 {
    00278     return ((v1.fieldName == v2.fieldName)
    00279             && (v1.parameters == v2.parameters)
    00280             && (v1.fieldValue == v2.fieldValue)
    00281             );
    00282 }
    00283
    00284 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val)
    00285 {
    00286     arg.beginStructure();
    00287     arg << val.fieldName << val.parameters << val.fieldValue;
    00288     arg.endStructure();
    00289     return arg;
    00290 }
    00291
    00292 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val)
    00293 {
    00294     arg.beginStructure();
    00295     arg >> val.fieldName >> val.parameters >> val.fieldValue;
    00296     arg.endStructure();
    00297     return arg;
    00298 }
    00299
    00300 TP_QT_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
    00301 {
    00302     return ((v1.subscribe == v2.subscribe)
    00303             && (v1.publish == v2.publish)
    00304             && (v1.publishRequest == v2.publishRequest)
    00305             );
    00306 }
    00307
    00308 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val)
    00309 {
    00310     arg.beginStructure();
    00311     arg << val.subscribe << val.publish << val.publishRequest;
    00312     arg.endStructure();
    00313     return arg;
    00314 }
    00315
    00316 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val)
    00317 {
    00318     arg.beginStructure();
    00319     arg >> val.subscribe >> val.publish >> val.publishRequest;
    00320     arg.endStructure();
    00321     return arg;
    00322 }
    00323
    00324 TP_QT_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2)
    00325 {
    00326     return ((v1.amount == v2.amount)
    00327             && (v1.scale == v2.scale)
    00328             && (v1.currency == v2.currency)
    00329             );
    00330 }
    00331
    00332 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val)
    00333 {
    00334     arg.beginStructure();
    00335     arg << val.amount << val.scale << val.currency;
    00336     arg.endStructure();
    00337     return arg;
    00338 }
    00339
    00340 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val)
    00341 {
    00342     arg.beginStructure();
    00343     arg >> val.amount >> val.scale >> val.currency;
    00344     arg.endStructure();
    00345     return arg;
    00346 }
    00347
    00348 TP_QT_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2)
    00349 {
    00350     return ((v1.handle == v2.handle)
    00351             && (v1.uniqueName == v2.uniqueName)
    00352             );
    00353 }
    00354
    00355 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val)
    00356 {
    00357     arg.beginStructure();
    00358     arg << val.handle << val.uniqueName;
    00359     arg.endStructure();
    00360     return arg;
    00361 }
    00362
    00363 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val)
    00364 {
    00365     arg.beginStructure();
    00366     arg >> val.handle >> val.uniqueName;
    00367     arg.endStructure();
    00368     return arg;
    00369 }
    00370
    00371 TP_QT_EXPORT bool operator==(const DebugMessage& v1, const DebugMessage& v2)
    00372 {
    00373     return ((v1.timestamp == v2.timestamp)
    00374             && (v1.domain == v2.domain)
    00375             && (v1.level == v2.level)
    00376             && (v1.message == v2.message)
    00377             );
    00378 }
    00379
    00380 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DebugMessage& val)
    00381 {
    00382     arg.beginStructure();
    00383     arg << val.timestamp << val.domain << val.level << val.message;
    00384     arg.endStructure();
    00385     return arg;
    00386 }
    00387
    00388 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DebugMessage& val)
    00389 {
    00390     arg.beginStructure();
    00391     arg >> val.timestamp >> val.domain >> val.level >> val.message;
    00392     arg.endStructure();
    00393     return arg;
    00394 }
    00395
    00396 TP_QT_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2)
    00397 {
    00398     return ((v1.name == v2.name)
    00399             && (v1.parameters == v2.parameters)
    00400             && (v1.flags == v2.flags)
    00401             && (v1.max == v2.max)
    00402             );
    00403 }
    00404
    00405 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val)
    00406 {
    00407     arg.beginStructure();
    00408     arg << val.name << val.parameters << val.flags << val.max;
    00409     arg.endStructure();
    00410     return arg;
    00411 }
    00412
    00413 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val)
    00414 {
    00415     arg.beginStructure();
    00416     arg >> val.name >> val.parameters >> val.flags >> val.max;
    00417     arg.endStructure();
    00418     return arg;
    00419 }
    00420
    00421 TP_QT_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2)
    00422 {
    00423     return ((v1.key == v2.key)
    00424             && (v1.value == v2.value)
    00425             );
    00426 }
    00427
    00428 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val)
    00429 {
    00430     arg.beginStructure();
    00431     arg << val.key << val.value;
    00432     arg.endStructure();
    00433     return arg;
    00434 }
    00435
    00436 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val)
    00437 {
    00438     arg.beginStructure();
    00439     arg >> val.key >> val.value;
    00440     arg.endStructure();
    00441     return arg;
    00442 }
    00443
    00444 TP_QT_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
    00445 {
    00446     return ((v1.toBeAdded == v2.toBeAdded)
    00447             && (v1.actor == v2.actor)
    00448             && (v1.reason == v2.reason)
    00449             && (v1.message == v2.message)
    00450             );
    00451 }
    00452
    00453 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val)
    00454 {
    00455     arg.beginStructure();
    00456     arg << val.toBeAdded << val.actor << val.reason << val.message;
    00457     arg.endStructure();
    00458     return arg;
    00459 }
    00460
    00461 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val)
    00462 {
    00463     arg.beginStructure();
    00464     arg >> val.toBeAdded >> val.actor >> val.reason >> val.message;
    00465     arg.endStructure();
    00466     return arg;
    00467 }
    00468
    00469 TP_QT_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2)
    00470 {
    00471     return ((v1.name == v2.name)
    00472             && (v1.address == v2.address)
    00473             );
    00474 }
    00475
    00476 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val)
    00477 {
    00478     arg.beginStructure();
    00479     arg << val.name << val.address;
    00480     arg.endStructure();
    00481     return arg;
    00482 }
    00483
    00484 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val)
    00485 {
    00486     arg.beginStructure();
    00487     arg >> val.name >> val.address;
    00488     arg.endStructure();
    00489     return arg;
    00490 }
    00491
    00492 TP_QT_EXPORT bool operator==(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2)
    00493 {
    00494     return ((v1.mediaDescription == v2.mediaDescription)
    00495             && (v1.properties == v2.properties)
    00496             );
    00497 }
    00498
    00499 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaDescriptionOffer& val)
    00500 {
    00501     arg.beginStructure();
    00502     arg << val.mediaDescription << val.properties;
    00503     arg.endStructure();
    00504     return arg;
    00505 }
    00506
    00507 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaDescriptionOffer& val)
    00508 {
    00509     arg.beginStructure();
    00510     arg >> val.mediaDescription >> val.properties;
    00511     arg.endStructure();
    00512     return arg;
    00513 }
    00514
    00515 TP_QT_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
    00516 {
    00517     return ((v1.sessionHandler == v2.sessionHandler)
    00518             && (v1.mediaSessionType == v2.mediaSessionType)
    00519             );
    00520 }
    00521
    00522 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val)
    00523 {
    00524     arg.beginStructure();
    00525     arg << val.sessionHandler << val.mediaSessionType;
    00526     arg.endStructure();
    00527     return arg;
    00528 }
    00529
    00530 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val)
    00531 {
    00532     arg.beginStructure();
    00533     arg >> val.sessionHandler >> val.mediaSessionType;
    00534     arg.endStructure();
    00535     return arg;
    00536 }
    00537
    00538 TP_QT_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
    00539 {
    00540     return ((v1.componentNumber == v2.componentNumber)
    00541             && (v1.IPAddress == v2.IPAddress)
    00542             && (v1.port == v2.port)
    00543             && (v1.protocol == v2.protocol)
    00544             && (v1.subtype == v2.subtype)
    00545             && (v1.profile == v2.profile)
    00546             && (v1.preferenceValue == v2.preferenceValue)
    00547             && (v1.transportType == v2.transportType)
    00548             && (v1.username == v2.username)
    00549             && (v1.password == v2.password)
    00550             );
    00551 }
    00552
    00553 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val)
    00554 {
    00555     arg.beginStructure();
    00556     arg << val.componentNumber << val.IPAddress << val.port << val.protocol << val.subtype << val.profile << val.preferenceValue << val.transportType << val.username << val.password;
    00557     arg.endStructure();
    00558     return arg;
    00559 }
    00560
    00561 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val)
    00562 {
    00563     arg.beginStructure();
    00564     arg >> val.componentNumber >> val.IPAddress >> val.port >> val.protocol >> val.subtype >> val.profile >> val.preferenceValue >> val.transportType >> val.username >> val.password;
    00565     arg.endStructure();
    00566     return arg;
    00567 }
    00568
    00569 TP_QT_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
    00570 {
    00571     return ((v1.identifier == v2.identifier)
    00572             && (v1.contact == v2.contact)
    00573             && (v1.type == v2.type)
    00574             && (v1.state == v2.state)
    00575             && (v1.direction == v2.direction)
    00576             && (v1.pendingSendFlags == v2.pendingSendFlags)
    00577             );
    00578 }
    00579
    00580 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val)
    00581 {
    00582     arg.beginStructure();
    00583     arg << val.identifier << val.contact << val.type << val.state << val.direction << val.pendingSendFlags;
    00584     arg.endStructure();
    00585     return arg;
    00586 }
    00587
    00588 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val)
    00589 {
    00590     arg.beginStructure();
    00591     arg >> val.identifier >> val.contact >> val.type >> val.state >> val.direction >> val.pendingSendFlags;
    00592     arg.endStructure();
    00593     return arg;
    00594 }
    00595
    00596 TP_QT_EXPORT bool operator==(const NotDelegatedError& v1, const NotDelegatedError& v2)
    00597 {
    00598     return ((v1.errorName == v2.errorName)
    00599             && (v1.errorMessage == v2.errorMessage)
    00600             );
    00601 }
    00602
    00603 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const NotDelegatedError& val)
    00604 {
    00605     arg.beginStructure();
    00606     arg << val.errorName << val.errorMessage;
    00607     arg.endStructure();
    00608     return arg;
    00609 }
    00610
    00611 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, NotDelegatedError& val)
    00612 {
    00613     arg.beginStructure();
    00614     arg >> val.errorName >> val.errorMessage;
    00615     arg.endStructure();
    00616     return arg;
    00617 }
    00618
    00619 TP_QT_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2)
    00620 {
    00621     return ((v1.name == v2.name)
    00622             && (v1.flags == v2.flags)
    00623             && (v1.signature == v2.signature)
    00624             && (v1.defaultValue.variant() == v2.defaultValue.variant())
    00625             );
    00626 }
    00627
    00628 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val)
    00629 {
    00630     arg.beginStructure();
    00631     arg << val.name << val.flags << val.signature << val.defaultValue;
    00632     arg.endStructure();
    00633     return arg;
    00634 }
    00635
    00636 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val)
    00637 {
    00638     arg.beginStructure();
    00639     arg >> val.name >> val.flags >> val.signature >> val.defaultValue;
    00640     arg.endStructure();
    00641     return arg;
    00642 }
    00643
    00644 TP_QT_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2)
    00645 {
    00646     return ((v1.identifier == v2.identifier)
    00647             && (v1.unixTimestamp == v2.unixTimestamp)
    00648             && (v1.sender == v2.sender)
    00649             && (v1.messageType == v2.messageType)
    00650             && (v1.flags == v2.flags)
    00651             && (v1.text == v2.text)
    00652             );
    00653 }
    00654
    00655 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val)
    00656 {
    00657     arg.beginStructure();
    00658     arg << val.identifier << val.unixTimestamp << val.sender << val.messageType << val.flags << val.text;
    00659     arg.endStructure();
    00660     return arg;
    00661 }
    00662
    00663 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val)
    00664 {
    00665     arg.beginStructure();
    00666     arg >> val.identifier >> val.unixTimestamp >> val.sender >> val.messageType >> val.flags >> val.text;
    00667     arg.endStructure();
    00668     return arg;
    00669 }
    00670
    00671 TP_QT_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
    00672 {
    00673     return ((v1.propertyID == v2.propertyID)
    00674             && (v1.newFlags == v2.newFlags)
    00675             );
    00676 }
    00677
    00678 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val)
    00679 {
    00680     arg.beginStructure();
    00681     arg << val.propertyID << val.newFlags;
    00682     arg.endStructure();
    00683     return arg;
    00684 }
    00685
    00686 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val)
    00687 {
    00688     arg.beginStructure();
    00689     arg >> val.propertyID >> val.newFlags;
    00690     arg.endStructure();
    00691     return arg;
    00692 }
    00693
    00694 TP_QT_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2)
    00695 {
    00696     return ((v1.propertyID == v2.propertyID)
    00697             && (v1.name == v2.name)
    00698             && (v1.signature == v2.signature)
    00699             && (v1.flags == v2.flags)
    00700             );
    00701 }
    00702
    00703 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val)
    00704 {
    00705     arg.beginStructure();
    00706     arg << val.propertyID << val.name << val.signature << val.flags;
    00707     arg.endStructure();
    00708     return arg;
    00709 }
    00710
    00711 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val)
    00712 {
    00713     arg.beginStructure();
    00714     arg >> val.propertyID >> val.name >> val.signature >> val.flags;
    00715     arg.endStructure();
    00716     return arg;
    00717 }
    00718
    00719 TP_QT_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2)
    00720 {
    00721     return ((v1.identifier == v2.identifier)
    00722             && (v1.value.variant() == v2.value.variant())
    00723             );
    00724 }
    00725
    00726 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val)
    00727 {
    00728     arg.beginStructure();
    00729     arg << val.identifier << val.value;
    00730     arg.endStructure();
    00731     return arg;
    00732 }
    00733
    00734 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val)
    00735 {
    00736     arg.beginStructure();
    00737     arg >> val.identifier >> val.value;
    00738     arg.endStructure();
    00739     return arg;
    00740 }
    00741
    00742 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2)
    00743 {
    00744     return ((v1.type == v2.type)
    00745             && (v1.subtype == v2.subtype)
    00746             && (v1.parameters == v2.parameters)
    00747             );
    00748 }
    00749
    00750 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessage& val)
    00751 {
    00752     arg.beginStructure();
    00753     arg << val.type << val.subtype << val.parameters;
    00754     arg.endStructure();
    00755     return arg;
    00756 }
    00757
    00758 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessage& val)
    00759 {
    00760     arg.beginStructure();
    00761     arg >> val.type >> val.subtype >> val.parameters;
    00762     arg.endStructure();
    00763     return arg;
    00764 }
    00765
    00766 TP_QT_EXPORT bool operator==(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2)
    00767 {
    00768     return ((v1.ID == v2.ID)
    00769             && (v1.direction == v2.direction)
    00770             && (v1.URI == v2.URI)
    00771             && (v1.parameters == v2.parameters)
    00772             );
    00773 }
    00774
    00775 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTPHeaderExtension& val)
    00776 {
    00777     arg.beginStructure();
    00778     arg << val.ID << val.direction << val.URI << val.parameters;
    00779     arg.endStructure();
    00780     return arg;
    00781 }
    00782
    00783 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTPHeaderExtension& val)
    00784 {
    00785     arg.beginStructure();
    00786     arg >> val.ID >> val.direction >> val.URI >> val.parameters;
    00787     arg.endStructure();
    00788     return arg;
    00789 }
    00790
    00791 TP_QT_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
    00792 {
    00793     return ((v1.fixedProperties == v2.fixedProperties)
    00794             && (v1.allowedProperties == v2.allowedProperties)
    00795             );
    00796 }
    00797
    00798 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val)
    00799 {
    00800     arg.beginStructure();
    00801     arg << val.fixedProperties << val.allowedProperties;
    00802     arg.endStructure();
    00803     return arg;
    00804 }
    00805
    00806 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val)
    00807 {
    00808     arg.beginStructure();
    00809     arg >> val.fixedProperties >> val.allowedProperties;
    00810     arg.endStructure();
    00811     return arg;
    00812 }
    00813
    00814 TP_QT_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
    00815 {
    00816     return ((v1.type == v2.type)
    00817             && (v1.detail.variant() == v2.detail.variant())
    00818             );
    00819 }
    00820
    00821 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val)
    00822 {
    00823     arg.beginStructure();
    00824     arg << val.type << val.detail;
    00825     arg.endStructure();
    00826     return arg;
    00827 }
    00828
    00829 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val)
    00830 {
    00831     arg.beginStructure();
    00832     arg >> val.type >> val.detail;
    00833     arg.endStructure();
    00834     return arg;
    00835 }
    00836
    00837 TP_QT_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2)
    00838 {
    00839     return ((v1.handle == v2.handle)
    00840             && (v1.channelType == v2.channelType)
    00841             && (v1.info == v2.info)
    00842             );
    00843 }
    00844
    00845 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val)
    00846 {
    00847     arg.beginStructure();
    00848     arg << val.handle << val.channelType << val.info;
    00849     arg.endStructure();
    00850     return arg;
    00851 }
    00852
    00853 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val)
    00854 {
    00855     arg.beginStructure();
    00856     arg >> val.handle >> val.channelType >> val.info;
    00857     arg.endStructure();
    00858     return arg;
    00859 }
    00860
    00861 TP_QT_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2)
    00862 {
    00863     return ((v1.servicePointType == v2.servicePointType)
    00864             && (v1.service == v2.service)
    00865             );
    00866 }
    00867
    00868 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val)
    00869 {
    00870     arg.beginStructure();
    00871     arg << val.servicePointType << val.service;
    00872     arg.endStructure();
    00873     return arg;
    00874 }
    00875
    00876 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val)
    00877 {
    00878     arg.beginStructure();
    00879     arg >> val.servicePointType >> val.service;
    00880     arg.endStructure();
    00881     return arg;
    00882 }
    00883
    00884 TP_QT_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2)
    00885 {
    00886     return ((v1.type == v2.type)
    00887             && (v1.status == v2.status)
    00888             && (v1.statusMessage == v2.statusMessage)
    00889             );
    00890 }
    00891
    00892 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val)
    00893 {
    00894     arg.beginStructure();
    00895     arg << val.type << val.status << val.statusMessage;
    00896     arg.endStructure();
    00897     return arg;
    00898 }
    00899
    00900 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val)
    00901 {
    00902     arg.beginStructure();
    00903     arg >> val.type >> val.status >> val.statusMessage;
    00904     arg.endStructure();
    00905     return arg;
    00906 }
    00907
    00908 TP_QT_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
    00909 {
    00910     return ((v1.type == v2.type)
    00911             && (v1.maySetOnSelf == v2.maySetOnSelf)
    00912             && (v1.canHaveMessage == v2.canHaveMessage)
    00913             );
    00914 }
    00915
    00916 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val)
    00917 {
    00918     arg.beginStructure();
    00919     arg << val.type << val.maySetOnSelf << val.canHaveMessage;
    00920     arg.endStructure();
    00921     return arg;
    00922 }
    00923
    00924 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val)
    00925 {
    00926     arg.beginStructure();
    00927     arg >> val.type >> val.maySetOnSelf >> val.canHaveMessage;
    00928     arg.endStructure();
    00929     return arg;
    00930 }
    00931
    00932 TP_QT_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2)
    00933 {
    00934     return ((v1.address == v2.address)
    00935             && (v1.port == v2.port)
    00936             );
    00937 }
    00938
    00939 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val)
    00940 {
    00941     arg.beginStructure();
    00942     arg << val.address << val.port;
    00943     arg.endStructure();
    00944     return arg;
    00945 }
    00946
    00947 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val)
    00948 {
    00949     arg.beginStructure();
    00950     arg >> val.address >> val.port;
    00951     arg.endStructure();
    00952     return arg;
    00953 }
    00954
    00955 TP_QT_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
    00956 {
    00957     return ((v1.address == v2.address)
    00958             && (v1.port == v2.port)
    00959             );
    00960 }
    00961
    00962 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val)
    00963 {
    00964     arg.beginStructure();
    00965     arg << val.address << val.port;
    00966     arg.endStructure();
    00967     return arg;
    00968 }
    00969
    00970 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val)
    00971 {
    00972     arg.beginStructure();
    00973     arg >> val.address >> val.port;
    00974     arg.endStructure();
    00975     return arg;
    00976 }
    00977
    00978 TP_QT_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
    00979 {
    00980     return ((v1.address == v2.address)
    00981             && (v1.port == v2.port)
    00982             );
    00983 }
    00984
    00985 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val)
    00986 {
    00987     arg.beginStructure();
    00988     arg << val.address << val.port;
    00989     arg.endStructure();
    00990     return arg;
    00991 }
    00992
    00993 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val)
    00994 {
    00995     arg.beginStructure();
    00996     arg >> val.address >> val.port;
    00997     arg.endStructure();
    00998     return arg;
    00999 }
    01000
    01001 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
    01002 {
    01003     return ((v1.address == v2.address)
    01004             && (v1.prefixLength == v2.prefixLength)
    01005             );
    01006 }
    01007
    01008 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val)
    01009 {
    01010     arg.beginStructure();
    01011     arg << val.address << val.prefixLength;
    01012     arg.endStructure();
    01013     return arg;
    01014 }
    01015
    01016 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val)
    01017 {
    01018     arg.beginStructure();
    01019     arg >> val.address >> val.prefixLength;
    01020     arg.endStructure();
    01021     return arg;
    01022 }
    01023
    01024 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
    01025 {
    01026     return ((v1.address == v2.address)
    01027             && (v1.prefixLength == v2.prefixLength)
    01028             );
    01029 }
    01030
    01031 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val)
    01032 {
    01033     arg.beginStructure();
    01034     arg << val.address << val.prefixLength;
    01035     arg.endStructure();
    01036     return arg;
    01037 }
    01038
    01039 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val)
    01040 {
    01041     arg.beginStructure();
    01042     arg >> val.address >> val.prefixLength;
    01043     arg.endStructure();
    01044     return arg;
    01045 }
    01046
    01047 TP_QT_EXPORT bool operator==(const StreamCredentials& v1, const StreamCredentials& v2)
    01048 {
    01049     return ((v1.username == v2.username)
    01050             && (v1.password == v2.password)
    01051             );
    01052 }
    01053
    01054 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StreamCredentials& val)
    01055 {
    01056     arg.beginStructure();
    01057     arg << val.username << val.password;
    01058     arg.endStructure();
    01059     return arg;
    01060 }
    01061
    01062 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StreamCredentials& val)
    01063 {
    01064     arg.beginStructure();
    01065     arg >> val.username >> val.password;
    01066     arg.endStructure();
    01067     return arg;
    01068 }
    01069
    01070 TP_QT_EXPORT bool operator==(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2)
    01071 {
    01072     return ((v1.reason == v2.reason)
    01073             && (v1.error == v2.error)
    01074             && (v1.details == v2.details)
    01075             );
    01076 }
    01077
    01078 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TLSCertificateRejection& val)
    01079 {
    01080     arg.beginStructure();
    01081     arg << val.reason << val.error << val.details;
    01082     arg.endStructure();
    01083     return arg;
    01084 }
    01085
    01086 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TLSCertificateRejection& val)
    01087 {
    01088     arg.beginStructure();
    01089     arg >> val.reason >> val.error >> val.details;
    01090     arg.endStructure();
    01091     return arg;
    01092 }
    01093
    01094 TP_QT_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2)
    01095 {
    01096     return ((v1.identifier == v2.identifier)
    01097             && (v1.initiator == v2.initiator)
    01098             && (v1.type == v2.type)
    01099             && (v1.service == v2.service)
    01100             && (v1.parameters == v2.parameters)
    01101             && (v1.state == v2.state)
    01102             );
    01103 }
    01104
    01105 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val)
    01106 {
    01107     arg.beginStructure();
    01108     arg << val.identifier << val.initiator << val.type << val.service << val.parameters << val.state;
    01109     arg.endStructure();
    01110     return arg;
    01111 }
    01112
    01113 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val)
    01114 {
    01115     arg.beginStructure();
    01116     arg >> val.identifier >> val.initiator >> val.type >> val.service >> val.parameters >> val.state;
    01117     arg.endStructure();
    01118     return arg;
    01119 }
    01120
    01121 TP_QT_EXPORT bool operator==(const VideoResolution& v1, const VideoResolution& v2)
    01122 {
    01123     return ((v1.width == v2.width)
    01124             && (v1.height == v2.height)
    01125             );
    01126 }
    01127
    01128 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const VideoResolution& val)
    01129 {
    01130     arg.beginStructure();
    01131     arg << val.width << val.height;
    01132     arg.endStructure();
    01133     return arg;
    01134 }
    01135
    01136 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, VideoResolution& val)
    01137 {
    01138     arg.beginStructure();
    01139     arg >> val.width >> val.height;
    01140     arg.endStructure();
    01141     return arg;
    01142 }
    01143
    01144 TP_QT_EXPORT bool operator==(const CandidatePair& v1, const CandidatePair& v2)
    01145 {
    01146     return ((v1.local == v2.local)
    01147             && (v1.remote == v2.remote)
    01148             );
    01149 }
    01150
    01151 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CandidatePair& val)
    01152 {
    01153     arg.beginStructure();
    01154     arg << val.local << val.remote;
    01155     arg.endStructure();
    01156     return arg;
    01157 }
    01158
    01159 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CandidatePair& val)
    01160 {
    01161     arg.beginStructure();
    01162     arg >> val.local >> val.remote;
    01163     arg.endStructure();
    01164     return arg;
    01165 }
    01166
    01167 TP_QT_EXPORT bool operator==(const Codec& v1, const Codec& v2)
    01168 {
    01169     return ((v1.identifier == v2.identifier)
    01170             && (v1.name == v2.name)
    01171             && (v1.clockrate == v2.clockrate)
    01172             && (v1.channels == v2.channels)
    01173             && (v1.updated == v2.updated)
    01174             && (v1.parameters == v2.parameters)
    01175             );
    01176 }
    01177
    01178 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Codec& val)
    01179 {
    01180     arg.beginStructure();
    01181     arg << val.identifier << val.name << val.clockrate << val.channels << val.updated << val.parameters;
    01182     arg.endStructure();
    01183     return arg;
    01184 }
    01185
    01186 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Codec& val)
    01187 {
    01188     arg.beginStructure();
    01189     arg >> val.identifier >> val.name >> val.clockrate >> val.channels >> val.updated >> val.parameters;
    01190     arg.endStructure();
    01191     return arg;
    01192 }
    01193
    01194 TP_QT_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
    01195 {
    01196     return ((v1.wellKnownName == v2.wellKnownName)
    01197             && (v1.channelClasses == v2.channelClasses)
    01198             && (v1.capabilities == v2.capabilities)
    01199             );
    01200 }
    01201
    01202 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val)
    01203 {
    01204     arg.beginStructure();
    01205     arg << val.wellKnownName << val.channelClasses << val.capabilities;
    01206     arg.endStructure();
    01207     return arg;
    01208 }
    01209
    01210 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val)
    01211 {
    01212     arg.beginStructure();
    01213     arg >> val.wellKnownName >> val.channelClasses >> val.capabilities;
    01214     arg.endStructure();
    01215     return arg;
    01216 }
    01217
    01218 TP_QT_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
    01219 {
    01220     return ((v1.lastActivity == v2.lastActivity)
    01221             && (v1.statuses == v2.statuses)
    01222             );
    01223 }
    01224
    01225 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val)
    01226 {
    01227     arg.beginStructure();
    01228     arg << val.lastActivity << val.statuses;
    01229     arg.endStructure();
    01230     return arg;
    01231 }
    01232
    01233 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val)
    01234 {
    01235     arg.beginStructure();
    01236     arg >> val.lastActivity >> val.statuses;
    01237     arg.endStructure();
    01238     return arg;
    01239 }
    01240
    01241 TP_QT_EXPORT bool operator==(const MailURL& v1, const MailURL& v2)
    01242 {
    01243     return ((v1.URL == v2.URL)
    01244             && (v1.method == v2.method)
    01245             && (v1.postData == v2.postData)
    01246             );
    01247 }
    01248
    01249 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val)
    01250 {
    01251     arg.beginStructure();
    01252     arg << val.URL << val.method << val.postData;
    01253     arg.endStructure();
    01254     return arg;
    01255 }
    01256
    01257 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val)
    01258 {
    01259     arg.beginStructure();
    01260     arg >> val.URL >> val.method >> val.postData;
    01261     arg.endStructure();
    01262     return arg;
    01263 }
    01264
    01265 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
    01266 {
    01267     return ((v1.name == v2.name)
    01268             && (v1.transports == v2.transports)
    01269             );
    01270 }
    01271
    01272 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val)
    01273 {
    01274     arg.beginStructure();
    01275     arg << val.name << val.transports;
    01276     arg.endStructure();
    01277     return arg;
    01278 }
    01279
    01280 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val)
    01281 {
    01282     arg.beginStructure();
    01283     arg >> val.name >> val.transports;
    01284     arg.endStructure();
    01285     return arg;
    01286 }
    01287
    01288 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
    01289 {
    01290     return ((v1.codecID == v2.codecID)
    01291             && (v1.name == v2.name)
    01292             && (v1.mediaType == v2.mediaType)
    01293             && (v1.clockRate == v2.clockRate)
    01294             && (v1.numberOfChannels == v2.numberOfChannels)
    01295             && (v1.parameters == v2.parameters)
    01296             );
    01297 }
    01298
    01299 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val)
    01300 {
    01301     arg.beginStructure();
    01302     arg << val.codecID << val.name << val.mediaType << val.clockRate << val.numberOfChannels << val.parameters;
    01303     arg.endStructure();
    01304     return arg;
    01305 }
    01306
    01307 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val)
    01308 {
    01309     arg.beginStructure();
    01310     arg >> val.codecID >> val.name >> val.mediaType >> val.clockRate >> val.numberOfChannels >> val.parameters;
    01311     arg.endStructure();
    01312     return arg;
    01313 }
    01314
    01315 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessageProperties& v1, const RTCPFeedbackMessageProperties& v2)
    01316 {
    01317     return ((v1.RTCPMinimumInterval == v2.RTCPMinimumInterval)
    01318             && (v1.messages == v2.messages)
    01319             );
    01320 }
    01321
    01322 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessageProperties& val)
    01323 {
    01324     arg.beginStructure();
    01325     arg << val.RTCPMinimumInterval << val.messages;
    01326     arg.endStructure();
    01327     return arg;
    01328 }
    01329
    01330 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessageProperties& val)
    01331 {
    01332     arg.beginStructure();
    01333     arg >> val.RTCPMinimumInterval >> val.messages;
    01334     arg.endStructure();
    01335     return arg;
    01336 }
    01337
    01338 TP_QT_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2)
    01339 {
    01340     return ((v1.servicePoint == v2.servicePoint)
    01341             && (v1.serviceIDs == v2.serviceIDs)
    01342             );
    01343 }
    01344
    01345 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val)
    01346 {
    01347     arg.beginStructure();
    01348     arg << val.servicePoint << val.serviceIDs;
    01349     arg.endStructure();
    01350     return arg;
    01351 }
    01352
    01353 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val)
    01354 {
    01355     arg.beginStructure();
    01356     arg >> val.servicePoint >> val.serviceIDs;
    01357     arg.endStructure();
    01358     return arg;
    01359 }
    01360
    01361 TP_QT_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2)
    01362 {
    01363     return ((v1.type == v2.type)
    01364             && (v1.maySetOnSelf == v2.maySetOnSelf)
    01365             && (v1.exclusive == v2.exclusive)
    01366             && (v1.parameterTypes == v2.parameterTypes)
    01367             );
    01368 }
    01369
    01370 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val)
    01371 {
    01372     arg.beginStructure();
    01373     arg << val.type << val.maySetOnSelf << val.exclusive << val.parameterTypes;
    01374     arg.endStructure();
    01375     return arg;
    01376 }
    01377
    01378 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val)
    01379 {
    01380     arg.beginStructure();
    01381     arg >> val.type >> val.maySetOnSelf >> val.exclusive >> val.parameterTypes;
    01382     arg.endStructure();
    01383     return arg;
    01384 }
    01385
    01386 TP_QT_NO_EXPORT void _registerTypes()
    01387 {
    01388     static bool registered = false;
    01389     if (registered)
    01390         return;
    01391     registered = true;
    01392
    01393     qDBusRegisterMetaType<Tp::AccessControl>();
    01394     qDBusRegisterMetaType<Tp::AddressingNormalizationMap>();
    01395     qDBusRegisterMetaType<Tp::AliasMap>();
    01396     qDBusRegisterMetaType<Tp::AliasPair>();
    01397     qDBusRegisterMetaType<Tp::AliasPairList>();
    01398     qDBusRegisterMetaType<Tp::Avatar>();
    01399     qDBusRegisterMetaType<Tp::AvatarTokenMap>();
    01400     qDBusRegisterMetaType<Tp::ByteArrayList>();
    01401     qDBusRegisterMetaType<Tp::CallMemberMap>();
    01402     qDBusRegisterMetaType<Tp::CallMemberMapList>();
    01403     qDBusRegisterMetaType<Tp::CallStateReason>();
    01404     qDBusRegisterMetaType<Tp::Candidate>();
    01405     qDBusRegisterMetaType<Tp::CandidateInfo>();
    01406     qDBusRegisterMetaType<Tp::CandidateList>();
    01407     qDBusRegisterMetaType<Tp::CandidatePair>();
    01408     qDBusRegisterMetaType<Tp::CandidatePairList>();
    01409     qDBusRegisterMetaType<Tp::CapabilityChange>();
    01410     qDBusRegisterMetaType<Tp::CapabilityChangeList>();
    01411     qDBusRegisterMetaType<Tp::CapabilityPair>();
    01412     qDBusRegisterMetaType<Tp::CapabilityPairList>();
    01413     qDBusRegisterMetaType<Tp::CaptchaAnswers>();
    01414     qDBusRegisterMetaType<Tp::CaptchaInfo>();
    01415     qDBusRegisterMetaType<Tp::CaptchaInfoList>();
    01416     qDBusRegisterMetaType<Tp::ChannelCallStateMap>();
    01417     qDBusRegisterMetaType<Tp::ChannelClass>();
    01418     qDBusRegisterMetaType<Tp::ChannelClassList>();
    01419     qDBusRegisterMetaType<Tp::ChannelDetails>();
    01420     qDBusRegisterMetaType<Tp::ChannelDetailsList>();
    01421     qDBusRegisterMetaType<Tp::ChannelInfo>();
    01422     qDBusRegisterMetaType<Tp::ChannelInfoList>();
    01423     qDBusRegisterMetaType<Tp::ChannelOriginatorMap>();
    01424     qDBusRegisterMetaType<Tp::ChatStateMap>();
    01425     qDBusRegisterMetaType<Tp::Codec>();
    01426     qDBusRegisterMetaType<Tp::CodecList>();
    01427     qDBusRegisterMetaType<Tp::ComponentStateMap>();
    01428     qDBusRegisterMetaType<Tp::ContactAttributesMap>();
    01429     qDBusRegisterMetaType<Tp::ContactCapabilitiesMap>();
    01430     qDBusRegisterMetaType<Tp::ContactCapabilitiesMapList>();
    01431     qDBusRegisterMetaType<Tp::ContactCapability>();
    01432     qDBusRegisterMetaType<Tp::ContactCapabilityList>();
    01433     qDBusRegisterMetaType<Tp::ContactClientTypes>();
    01434     qDBusRegisterMetaType<Tp::ContactCodecMap>();
    01435     qDBusRegisterMetaType<Tp::ContactInfoField>();
    01436     qDBusRegisterMetaType<Tp::ContactInfoFieldList>();
    01437     qDBusRegisterMetaType<Tp::ContactInfoMap>();
    01438     qDBusRegisterMetaType<Tp::ContactLocations>();
    01439     qDBusRegisterMetaType<Tp::ContactMediaDescriptionPropertiesMap>();
    01440     qDBusRegisterMetaType<Tp::ContactPresences>();
    01441     qDBusRegisterMetaType<Tp::ContactSSRCsMap>();
    01442     qDBusRegisterMetaType<Tp::ContactSearchMap>();
    01443     qDBusRegisterMetaType<Tp::ContactSearchResultMap>();
    01444     qDBusRegisterMetaType<Tp::ContactSendingStateMap>();
    01445     qDBusRegisterMetaType<Tp::ContactSubscriptionMap>();
    01446     qDBusRegisterMetaType<Tp::ContactSubscriptions>();
    01447     qDBusRegisterMetaType<Tp::CurrencyAmount>();
    01448     qDBusRegisterMetaType<Tp::DBusTubeMember>();
    01449     qDBusRegisterMetaType<Tp::DBusTubeMemberList>();
    01450     qDBusRegisterMetaType<Tp::DBusTubeParticipants>();
    01451     qDBusRegisterMetaType<Tp::DebugMessage>();
    01452     qDBusRegisterMetaType<Tp::DebugMessageList>();
    01453     qDBusRegisterMetaType<Tp::FieldSpec>();
    01454     qDBusRegisterMetaType<Tp::FieldSpecs>();
    01455     qDBusRegisterMetaType<Tp::HTTPPostData>();
    01456     qDBusRegisterMetaType<Tp::HTTPPostDataList>();
    01457     qDBusRegisterMetaType<Tp::HandleIdentifierMap>();
    01458     qDBusRegisterMetaType<Tp::HandleOwnerMap>();
    01459     qDBusRegisterMetaType<Tp::HandlerCapabilities>();
    01460     qDBusRegisterMetaType<Tp::HandlerCapabilitiesList>();
    01461     qDBusRegisterMetaType<Tp::LastActivityAndStatuses>();
    01462     qDBusRegisterMetaType<Tp::LocalPendingInfo>();
    01463     qDBusRegisterMetaType<Tp::LocalPendingInfoList>();
    01464     qDBusRegisterMetaType<Tp::Location>();
    01465     qDBusRegisterMetaType<Tp::Mail>();
    01466     qDBusRegisterMetaType<Tp::MailAddress>();
    01467     qDBusRegisterMetaType<Tp::MailAddressList>();
    01468     qDBusRegisterMetaType<Tp::MailList>();
    01469     qDBusRegisterMetaType<Tp::MailURL>();
    01470     qDBusRegisterMetaType<Tp::MediaDescriptionOffer>();
    01471     qDBusRegisterMetaType<Tp::MediaDescriptionProperties>();
    01472     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfo>();
    01473     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfoList>();
    01474     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidate>();
    01475     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidateList>();
    01476     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodec>();
    01477     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodecList>();
    01478     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransport>();
    01479     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransportList>();
    01480     qDBusRegisterMetaType<Tp::MediaStreamInfo>();
    01481     qDBusRegisterMetaType<Tp::MediaStreamInfoList>();
    01482     qDBusRegisterMetaType<Tp::MessagePart>();
    01483     qDBusRegisterMetaType<Tp::MessagePartContentMap>();
    01484     qDBusRegisterMetaType<Tp::MessagePartList>();
    01485     qDBusRegisterMetaType<Tp::MessagePartListList>();
    01486     qDBusRegisterMetaType<Tp::Metadata>();
    01487     qDBusRegisterMetaType<Tp::MultipleStatusMap>();
    01488     qDBusRegisterMetaType<Tp::NotDelegatedError>();
    01489     qDBusRegisterMetaType<Tp::NotDelegatedMap>();
    01490     qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMap>();
    01491     qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMapList>();
    01492     qDBusRegisterMetaType<Tp::ObjectPathList>();
    01493     qDBusRegisterMetaType<Tp::ParamSpec>();
    01494     qDBusRegisterMetaType<Tp::ParamSpecList>();
    01495     qDBusRegisterMetaType<Tp::PendingTextMessage>();
    01496     qDBusRegisterMetaType<Tp::PendingTextMessageList>();
    01497     qDBusRegisterMetaType<Tp::PropertyFlagsChange>();
    01498     qDBusRegisterMetaType<Tp::PropertyFlagsChangeList>();
    01499     qDBusRegisterMetaType<Tp::PropertySpec>();
    01500     qDBusRegisterMetaType<Tp::PropertySpecList>();
    01501     qDBusRegisterMetaType<Tp::PropertyValue>();
    01502     qDBusRegisterMetaType<Tp::PropertyValueList>();
    01503     qDBusRegisterMetaType<Tp::ProtocolPropertiesMap>();
    01504     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMap>();
    01505     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMapList>();
    01506     qDBusRegisterMetaType<Tp::RTCPFeedbackMessage>();
    01507     qDBusRegisterMetaType<Tp::RTCPFeedbackMessageList>();
    01508     qDBusRegisterMetaType<Tp::RTCPFeedbackMessageMap>();
    01509     qDBusRegisterMetaType<Tp::RTCPFeedbackMessageProperties>();
    01510     qDBusRegisterMetaType<Tp::RTPHeaderExtension>();
    01511     qDBusRegisterMetaType<Tp::RTPHeaderExtensionsList>();
    01512     qDBusRegisterMetaType<Tp::RequestableChannelClass>();
    01513     qDBusRegisterMetaType<Tp::RequestableChannelClassList>();
    01514     qDBusRegisterMetaType<Tp::RichPresenceAccessControl>();
    01515     qDBusRegisterMetaType<Tp::RoomInfo>();
    01516     qDBusRegisterMetaType<Tp::RoomInfoList>();
    01517     qDBusRegisterMetaType<Tp::ServicePoint>();
    01518     qDBusRegisterMetaType<Tp::ServicePointInfo>();
    01519     qDBusRegisterMetaType<Tp::ServicePointInfoList>();
    01520     qDBusRegisterMetaType<Tp::SimpleContactPresences>();
    01521     qDBusRegisterMetaType<Tp::SimplePresence>();
    01522     qDBusRegisterMetaType<Tp::SimpleStatusSpec>();
    01523     qDBusRegisterMetaType<Tp::SimpleStatusSpecMap>();
    01524     qDBusRegisterMetaType<Tp::SingleContactAttributesMap>();
    01525     qDBusRegisterMetaType<Tp::SocketAddressIP>();
    01526     qDBusRegisterMetaType<Tp::SocketAddressIPList>();
    01527     qDBusRegisterMetaType<Tp::SocketAddressIPv4>();
    01528     qDBusRegisterMetaType<Tp::SocketAddressIPv6>();
    01529     qDBusRegisterMetaType<Tp::SocketNetmaskIPv4>();
    01530     qDBusRegisterMetaType<Tp::SocketNetmaskIPv6>();
    01531     qDBusRegisterMetaType<Tp::StatusSpec>();
    01532     qDBusRegisterMetaType<Tp::StatusSpecMap>();
    01533     qDBusRegisterMetaType<Tp::StreamCredentials>();
    01534     qDBusRegisterMetaType<Tp::StringStringMap>();
    01535     qDBusRegisterMetaType<Tp::StringStringMapList>();
    01536     qDBusRegisterMetaType<Tp::StringVariantMap>();
    01537     qDBusRegisterMetaType<Tp::StringVariantMapList>();
    01538     qDBusRegisterMetaType<Tp::SupportedSocketMap>();
    01539     qDBusRegisterMetaType<Tp::TLSCertificateRejection>();
    01540     qDBusRegisterMetaType<Tp::TLSCertificateRejectionList>();
    01541     qDBusRegisterMetaType<Tp::TubeInfo>();
    01542     qDBusRegisterMetaType<Tp::TubeInfoList>();
    01543     qDBusRegisterMetaType<Tp::UIntList>();
    01544     qDBusRegisterMetaType<Tp::VCardFieldAddressMap>();
    01545     qDBusRegisterMetaType<Tp::VideoResolution>();
    01546     qDBusRegisterMetaType<Tp::VideoResolutionStruct>();
    01547 }
    01548
    01549 } // namespace Tp