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

types-body.hpp

00001 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt4 copy, version 0.17.7 */
00002 
00003 #define IN_TELEPATHY_QT4_HEADER
00004 #include "TelepathyQt4/types.h"
00005 
00006 namespace Tp
00007 {
00008 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_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 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2)
00078 {
00079     return ((v1.handle == v2.handle)
00080             && (v1.channelType == v2.channelType)
00081             && (v1.oldGenericFlags == v2.oldGenericFlags)
00082             && (v1.newGenericFlags == v2.newGenericFlags)
00083             && (v1.oldTypeSpecificFlags == v2.oldTypeSpecificFlags)
00084             && (v1.newTypeSpecificFlags == v2.newTypeSpecificFlags)
00085             );
00086 }
00087 
00088 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val)
00089 {
00090     arg.beginStructure();
00091     arg << val.handle << val.channelType << val.oldGenericFlags << val.newGenericFlags << val.oldTypeSpecificFlags << val.newTypeSpecificFlags;
00092     arg.endStructure();
00093     return arg;
00094 }
00095 
00096 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val)
00097 {
00098     arg.beginStructure();
00099     arg >> val.handle >> val.channelType >> val.oldGenericFlags >> val.newGenericFlags >> val.oldTypeSpecificFlags >> val.newTypeSpecificFlags;
00100     arg.endStructure();
00101     return arg;
00102 }
00103 
00104 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2)
00105 {
00106     return ((v1.channelType == v2.channelType)
00107             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
00108             );
00109 }
00110 
00111 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val)
00112 {
00113     arg.beginStructure();
00114     arg << val.channelType << val.typeSpecificFlags;
00115     arg.endStructure();
00116     return arg;
00117 }
00118 
00119 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val)
00120 {
00121     arg.beginStructure();
00122     arg >> val.channelType >> val.typeSpecificFlags;
00123     arg.endStructure();
00124     return arg;
00125 }
00126 
00127 TELEPATHY_QT4_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2)
00128 {
00129     return ((v1.channel == v2.channel)
00130             && (v1.properties == v2.properties)
00131             );
00132 }
00133 
00134 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val)
00135 {
00136     arg.beginStructure();
00137     arg << val.channel << val.properties;
00138     arg.endStructure();
00139     return arg;
00140 }
00141 
00142 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val)
00143 {
00144     arg.beginStructure();
00145     arg >> val.channel >> val.properties;
00146     arg.endStructure();
00147     return arg;
00148 }
00149 
00150 TELEPATHY_QT4_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2)
00151 {
00152     return ((v1.channel == v2.channel)
00153             && (v1.channelType == v2.channelType)
00154             && (v1.handleType == v2.handleType)
00155             && (v1.handle == v2.handle)
00156             );
00157 }
00158 
00159 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val)
00160 {
00161     arg.beginStructure();
00162     arg << val.channel << val.channelType << val.handleType << val.handle;
00163     arg.endStructure();
00164     return arg;
00165 }
00166 
00167 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val)
00168 {
00169     arg.beginStructure();
00170     arg >> val.channel >> val.channelType >> val.handleType >> val.handle;
00171     arg.endStructure();
00172     return arg;
00173 }
00174 
00175 TELEPATHY_QT4_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2)
00176 {
00177     return ((v1.handle == v2.handle)
00178             && (v1.channelType == v2.channelType)
00179             && (v1.genericFlags == v2.genericFlags)
00180             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
00181             );
00182 }
00183 
00184 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val)
00185 {
00186     arg.beginStructure();
00187     arg << val.handle << val.channelType << val.genericFlags << val.typeSpecificFlags;
00188     arg.endStructure();
00189     return arg;
00190 }
00191 
00192 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val)
00193 {
00194     arg.beginStructure();
00195     arg >> val.handle >> val.channelType >> val.genericFlags >> val.typeSpecificFlags;
00196     arg.endStructure();
00197     return arg;
00198 }
00199 
00200 TELEPATHY_QT4_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2)
00201 {
00202     return ((v1.fieldName == v2.fieldName)
00203             && (v1.parameters == v2.parameters)
00204             && (v1.fieldValue == v2.fieldValue)
00205             );
00206 }
00207 
00208 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val)
00209 {
00210     arg.beginStructure();
00211     arg << val.fieldName << val.parameters << val.fieldValue;
00212     arg.endStructure();
00213     return arg;
00214 }
00215 
00216 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val)
00217 {
00218     arg.beginStructure();
00219     arg >> val.fieldName >> val.parameters >> val.fieldValue;
00220     arg.endStructure();
00221     return arg;
00222 }
00223 
00224 TELEPATHY_QT4_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
00225 {
00226     return ((v1.subscribe == v2.subscribe)
00227             && (v1.publish == v2.publish)
00228             && (v1.publishRequest == v2.publishRequest)
00229             );
00230 }
00231 
00232 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val)
00233 {
00234     arg.beginStructure();
00235     arg << val.subscribe << val.publish << val.publishRequest;
00236     arg.endStructure();
00237     return arg;
00238 }
00239 
00240 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val)
00241 {
00242     arg.beginStructure();
00243     arg >> val.subscribe >> val.publish >> val.publishRequest;
00244     arg.endStructure();
00245     return arg;
00246 }
00247 
00248 TELEPATHY_QT4_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2)
00249 {
00250     return ((v1.amount == v2.amount)
00251             && (v1.scale == v2.scale)
00252             && (v1.currency == v2.currency)
00253             );
00254 }
00255 
00256 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val)
00257 {
00258     arg.beginStructure();
00259     arg << val.amount << val.scale << val.currency;
00260     arg.endStructure();
00261     return arg;
00262 }
00263 
00264 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val)
00265 {
00266     arg.beginStructure();
00267     arg >> val.amount >> val.scale >> val.currency;
00268     arg.endStructure();
00269     return arg;
00270 }
00271 
00272 TELEPATHY_QT4_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2)
00273 {
00274     return ((v1.handle == v2.handle)
00275             && (v1.uniqueName == v2.uniqueName)
00276             );
00277 }
00278 
00279 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val)
00280 {
00281     arg.beginStructure();
00282     arg << val.handle << val.uniqueName;
00283     arg.endStructure();
00284     return arg;
00285 }
00286 
00287 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val)
00288 {
00289     arg.beginStructure();
00290     arg >> val.handle >> val.uniqueName;
00291     arg.endStructure();
00292     return arg;
00293 }
00294 
00295 TELEPATHY_QT4_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2)
00296 {
00297     return ((v1.name == v2.name)
00298             && (v1.parameters == v2.parameters)
00299             && (v1.flags == v2.flags)
00300             && (v1.max == v2.max)
00301             );
00302 }
00303 
00304 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val)
00305 {
00306     arg.beginStructure();
00307     arg << val.name << val.parameters << val.flags << val.max;
00308     arg.endStructure();
00309     return arg;
00310 }
00311 
00312 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val)
00313 {
00314     arg.beginStructure();
00315     arg >> val.name >> val.parameters >> val.flags >> val.max;
00316     arg.endStructure();
00317     return arg;
00318 }
00319 
00320 TELEPATHY_QT4_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
00321 {
00322     return ((v1.toBeAdded == v2.toBeAdded)
00323             && (v1.actor == v2.actor)
00324             && (v1.reason == v2.reason)
00325             && (v1.message == v2.message)
00326             );
00327 }
00328 
00329 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val)
00330 {
00331     arg.beginStructure();
00332     arg << val.toBeAdded << val.actor << val.reason << val.message;
00333     arg.endStructure();
00334     return arg;
00335 }
00336 
00337 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val)
00338 {
00339     arg.beginStructure();
00340     arg >> val.toBeAdded >> val.actor >> val.reason >> val.message;
00341     arg.endStructure();
00342     return arg;
00343 }
00344 
00345 TELEPATHY_QT4_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
00346 {
00347     return ((v1.sessionHandler == v2.sessionHandler)
00348             && (v1.mediaSessionType == v2.mediaSessionType)
00349             );
00350 }
00351 
00352 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val)
00353 {
00354     arg.beginStructure();
00355     arg << val.sessionHandler << val.mediaSessionType;
00356     arg.endStructure();
00357     return arg;
00358 }
00359 
00360 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val)
00361 {
00362     arg.beginStructure();
00363     arg >> val.sessionHandler >> val.mediaSessionType;
00364     arg.endStructure();
00365     return arg;
00366 }
00367 
00368 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
00369 {
00370     return ((v1.componentNumber == v2.componentNumber)
00371             && (v1.IPAddress == v2.IPAddress)
00372             && (v1.port == v2.port)
00373             && (v1.protocol == v2.protocol)
00374             && (v1.subtype == v2.subtype)
00375             && (v1.profile == v2.profile)
00376             && (v1.preferenceValue == v2.preferenceValue)
00377             && (v1.transportType == v2.transportType)
00378             && (v1.username == v2.username)
00379             && (v1.password == v2.password)
00380             );
00381 }
00382 
00383 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val)
00384 {
00385     arg.beginStructure();
00386     arg << val.componentNumber << val.IPAddress << val.port << val.protocol << val.subtype << val.profile << val.preferenceValue << val.transportType << val.username << val.password;
00387     arg.endStructure();
00388     return arg;
00389 }
00390 
00391 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val)
00392 {
00393     arg.beginStructure();
00394     arg >> val.componentNumber >> val.IPAddress >> val.port >> val.protocol >> val.subtype >> val.profile >> val.preferenceValue >> val.transportType >> val.username >> val.password;
00395     arg.endStructure();
00396     return arg;
00397 }
00398 
00399 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
00400 {
00401     return ((v1.identifier == v2.identifier)
00402             && (v1.contact == v2.contact)
00403             && (v1.type == v2.type)
00404             && (v1.state == v2.state)
00405             && (v1.direction == v2.direction)
00406             && (v1.pendingSendFlags == v2.pendingSendFlags)
00407             );
00408 }
00409 
00410 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val)
00411 {
00412     arg.beginStructure();
00413     arg << val.identifier << val.contact << val.type << val.state << val.direction << val.pendingSendFlags;
00414     arg.endStructure();
00415     return arg;
00416 }
00417 
00418 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val)
00419 {
00420     arg.beginStructure();
00421     arg >> val.identifier >> val.contact >> val.type >> val.state >> val.direction >> val.pendingSendFlags;
00422     arg.endStructure();
00423     return arg;
00424 }
00425 
00426 TELEPATHY_QT4_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2)
00427 {
00428     return ((v1.name == v2.name)
00429             && (v1.flags == v2.flags)
00430             && (v1.signature == v2.signature)
00431             && (v1.defaultValue.variant() == v2.defaultValue.variant())
00432             );
00433 }
00434 
00435 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val)
00436 {
00437     arg.beginStructure();
00438     arg << val.name << val.flags << val.signature << val.defaultValue;
00439     arg.endStructure();
00440     return arg;
00441 }
00442 
00443 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val)
00444 {
00445     arg.beginStructure();
00446     arg >> val.name >> val.flags >> val.signature >> val.defaultValue;
00447     arg.endStructure();
00448     return arg;
00449 }
00450 
00451 TELEPATHY_QT4_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2)
00452 {
00453     return ((v1.identifier == v2.identifier)
00454             && (v1.unixTimestamp == v2.unixTimestamp)
00455             && (v1.sender == v2.sender)
00456             && (v1.messageType == v2.messageType)
00457             && (v1.flags == v2.flags)
00458             && (v1.text == v2.text)
00459             );
00460 }
00461 
00462 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val)
00463 {
00464     arg.beginStructure();
00465     arg << val.identifier << val.unixTimestamp << val.sender << val.messageType << val.flags << val.text;
00466     arg.endStructure();
00467     return arg;
00468 }
00469 
00470 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val)
00471 {
00472     arg.beginStructure();
00473     arg >> val.identifier >> val.unixTimestamp >> val.sender >> val.messageType >> val.flags >> val.text;
00474     arg.endStructure();
00475     return arg;
00476 }
00477 
00478 TELEPATHY_QT4_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
00479 {
00480     return ((v1.propertyID == v2.propertyID)
00481             && (v1.newFlags == v2.newFlags)
00482             );
00483 }
00484 
00485 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val)
00486 {
00487     arg.beginStructure();
00488     arg << val.propertyID << val.newFlags;
00489     arg.endStructure();
00490     return arg;
00491 }
00492 
00493 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val)
00494 {
00495     arg.beginStructure();
00496     arg >> val.propertyID >> val.newFlags;
00497     arg.endStructure();
00498     return arg;
00499 }
00500 
00501 TELEPATHY_QT4_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2)
00502 {
00503     return ((v1.propertyID == v2.propertyID)
00504             && (v1.name == v2.name)
00505             && (v1.signature == v2.signature)
00506             && (v1.flags == v2.flags)
00507             );
00508 }
00509 
00510 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val)
00511 {
00512     arg.beginStructure();
00513     arg << val.propertyID << val.name << val.signature << val.flags;
00514     arg.endStructure();
00515     return arg;
00516 }
00517 
00518 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val)
00519 {
00520     arg.beginStructure();
00521     arg >> val.propertyID >> val.name >> val.signature >> val.flags;
00522     arg.endStructure();
00523     return arg;
00524 }
00525 
00526 TELEPATHY_QT4_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2)
00527 {
00528     return ((v1.identifier == v2.identifier)
00529             && (v1.value.variant() == v2.value.variant())
00530             );
00531 }
00532 
00533 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val)
00534 {
00535     arg.beginStructure();
00536     arg << val.identifier << val.value;
00537     arg.endStructure();
00538     return arg;
00539 }
00540 
00541 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val)
00542 {
00543     arg.beginStructure();
00544     arg >> val.identifier >> val.value;
00545     arg.endStructure();
00546     return arg;
00547 }
00548 
00549 TELEPATHY_QT4_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
00550 {
00551     return ((v1.fixedProperties == v2.fixedProperties)
00552             && (v1.allowedProperties == v2.allowedProperties)
00553             );
00554 }
00555 
00556 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val)
00557 {
00558     arg.beginStructure();
00559     arg << val.fixedProperties << val.allowedProperties;
00560     arg.endStructure();
00561     return arg;
00562 }
00563 
00564 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val)
00565 {
00566     arg.beginStructure();
00567     arg >> val.fixedProperties >> val.allowedProperties;
00568     arg.endStructure();
00569     return arg;
00570 }
00571 
00572 TELEPATHY_QT4_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
00573 {
00574     return ((v1.type == v2.type)
00575             && (v1.detail.variant() == v2.detail.variant())
00576             );
00577 }
00578 
00579 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val)
00580 {
00581     arg.beginStructure();
00582     arg << val.type << val.detail;
00583     arg.endStructure();
00584     return arg;
00585 }
00586 
00587 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val)
00588 {
00589     arg.beginStructure();
00590     arg >> val.type >> val.detail;
00591     arg.endStructure();
00592     return arg;
00593 }
00594 
00595 TELEPATHY_QT4_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2)
00596 {
00597     return ((v1.handle == v2.handle)
00598             && (v1.channelType == v2.channelType)
00599             && (v1.info == v2.info)
00600             );
00601 }
00602 
00603 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val)
00604 {
00605     arg.beginStructure();
00606     arg << val.handle << val.channelType << val.info;
00607     arg.endStructure();
00608     return arg;
00609 }
00610 
00611 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val)
00612 {
00613     arg.beginStructure();
00614     arg >> val.handle >> val.channelType >> val.info;
00615     arg.endStructure();
00616     return arg;
00617 }
00618 
00619 TELEPATHY_QT4_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2)
00620 {
00621     return ((v1.servicePointType == v2.servicePointType)
00622             && (v1.service == v2.service)
00623             );
00624 }
00625 
00626 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val)
00627 {
00628     arg.beginStructure();
00629     arg << val.servicePointType << val.service;
00630     arg.endStructure();
00631     return arg;
00632 }
00633 
00634 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val)
00635 {
00636     arg.beginStructure();
00637     arg >> val.servicePointType >> val.service;
00638     arg.endStructure();
00639     return arg;
00640 }
00641 
00642 TELEPATHY_QT4_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2)
00643 {
00644     return ((v1.type == v2.type)
00645             && (v1.status == v2.status)
00646             && (v1.statusMessage == v2.statusMessage)
00647             );
00648 }
00649 
00650 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val)
00651 {
00652     arg.beginStructure();
00653     arg << val.type << val.status << val.statusMessage;
00654     arg.endStructure();
00655     return arg;
00656 }
00657 
00658 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val)
00659 {
00660     arg.beginStructure();
00661     arg >> val.type >> val.status >> val.statusMessage;
00662     arg.endStructure();
00663     return arg;
00664 }
00665 
00666 TELEPATHY_QT4_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
00667 {
00668     return ((v1.type == v2.type)
00669             && (v1.maySetOnSelf == v2.maySetOnSelf)
00670             && (v1.canHaveMessage == v2.canHaveMessage)
00671             );
00672 }
00673 
00674 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val)
00675 {
00676     arg.beginStructure();
00677     arg << val.type << val.maySetOnSelf << val.canHaveMessage;
00678     arg.endStructure();
00679     return arg;
00680 }
00681 
00682 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val)
00683 {
00684     arg.beginStructure();
00685     arg >> val.type >> val.maySetOnSelf >> val.canHaveMessage;
00686     arg.endStructure();
00687     return arg;
00688 }
00689 
00690 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2)
00691 {
00692     return ((v1.address == v2.address)
00693             && (v1.port == v2.port)
00694             );
00695 }
00696 
00697 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val)
00698 {
00699     arg.beginStructure();
00700     arg << val.address << val.port;
00701     arg.endStructure();
00702     return arg;
00703 }
00704 
00705 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val)
00706 {
00707     arg.beginStructure();
00708     arg >> val.address >> val.port;
00709     arg.endStructure();
00710     return arg;
00711 }
00712 
00713 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
00714 {
00715     return ((v1.address == v2.address)
00716             && (v1.port == v2.port)
00717             );
00718 }
00719 
00720 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val)
00721 {
00722     arg.beginStructure();
00723     arg << val.address << val.port;
00724     arg.endStructure();
00725     return arg;
00726 }
00727 
00728 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val)
00729 {
00730     arg.beginStructure();
00731     arg >> val.address >> val.port;
00732     arg.endStructure();
00733     return arg;
00734 }
00735 
00736 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
00737 {
00738     return ((v1.address == v2.address)
00739             && (v1.port == v2.port)
00740             );
00741 }
00742 
00743 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val)
00744 {
00745     arg.beginStructure();
00746     arg << val.address << val.port;
00747     arg.endStructure();
00748     return arg;
00749 }
00750 
00751 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val)
00752 {
00753     arg.beginStructure();
00754     arg >> val.address >> val.port;
00755     arg.endStructure();
00756     return arg;
00757 }
00758 
00759 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
00760 {
00761     return ((v1.address == v2.address)
00762             && (v1.prefixLength == v2.prefixLength)
00763             );
00764 }
00765 
00766 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val)
00767 {
00768     arg.beginStructure();
00769     arg << val.address << val.prefixLength;
00770     arg.endStructure();
00771     return arg;
00772 }
00773 
00774 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val)
00775 {
00776     arg.beginStructure();
00777     arg >> val.address >> val.prefixLength;
00778     arg.endStructure();
00779     return arg;
00780 }
00781 
00782 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
00783 {
00784     return ((v1.address == v2.address)
00785             && (v1.prefixLength == v2.prefixLength)
00786             );
00787 }
00788 
00789 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val)
00790 {
00791     arg.beginStructure();
00792     arg << val.address << val.prefixLength;
00793     arg.endStructure();
00794     return arg;
00795 }
00796 
00797 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val)
00798 {
00799     arg.beginStructure();
00800     arg >> val.address >> val.prefixLength;
00801     arg.endStructure();
00802     return arg;
00803 }
00804 
00805 TELEPATHY_QT4_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2)
00806 {
00807     return ((v1.identifier == v2.identifier)
00808             && (v1.initiator == v2.initiator)
00809             && (v1.type == v2.type)
00810             && (v1.service == v2.service)
00811             && (v1.parameters == v2.parameters)
00812             && (v1.state == v2.state)
00813             );
00814 }
00815 
00816 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val)
00817 {
00818     arg.beginStructure();
00819     arg << val.identifier << val.initiator << val.type << val.service << val.parameters << val.state;
00820     arg.endStructure();
00821     return arg;
00822 }
00823 
00824 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val)
00825 {
00826     arg.beginStructure();
00827     arg >> val.identifier >> val.initiator >> val.type >> val.service >> val.parameters >> val.state;
00828     arg.endStructure();
00829     return arg;
00830 }
00831 
00832 TELEPATHY_QT4_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
00833 {
00834     return ((v1.wellKnownName == v2.wellKnownName)
00835             && (v1.channelClasses == v2.channelClasses)
00836             && (v1.capabilities == v2.capabilities)
00837             );
00838 }
00839 
00840 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val)
00841 {
00842     arg.beginStructure();
00843     arg << val.wellKnownName << val.channelClasses << val.capabilities;
00844     arg.endStructure();
00845     return arg;
00846 }
00847 
00848 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val)
00849 {
00850     arg.beginStructure();
00851     arg >> val.wellKnownName >> val.channelClasses >> val.capabilities;
00852     arg.endStructure();
00853     return arg;
00854 }
00855 
00856 TELEPATHY_QT4_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
00857 {
00858     return ((v1.lastActivity == v2.lastActivity)
00859             && (v1.statuses == v2.statuses)
00860             );
00861 }
00862 
00863 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val)
00864 {
00865     arg.beginStructure();
00866     arg << val.lastActivity << val.statuses;
00867     arg.endStructure();
00868     return arg;
00869 }
00870 
00871 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val)
00872 {
00873     arg.beginStructure();
00874     arg >> val.lastActivity >> val.statuses;
00875     arg.endStructure();
00876     return arg;
00877 }
00878 
00879 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
00880 {
00881     return ((v1.name == v2.name)
00882             && (v1.transports == v2.transports)
00883             );
00884 }
00885 
00886 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val)
00887 {
00888     arg.beginStructure();
00889     arg << val.name << val.transports;
00890     arg.endStructure();
00891     return arg;
00892 }
00893 
00894 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val)
00895 {
00896     arg.beginStructure();
00897     arg >> val.name >> val.transports;
00898     arg.endStructure();
00899     return arg;
00900 }
00901 
00902 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
00903 {
00904     return ((v1.codecID == v2.codecID)
00905             && (v1.name == v2.name)
00906             && (v1.mediaType == v2.mediaType)
00907             && (v1.clockRate == v2.clockRate)
00908             && (v1.numberOfChannels == v2.numberOfChannels)
00909             && (v1.parameters == v2.parameters)
00910             );
00911 }
00912 
00913 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val)
00914 {
00915     arg.beginStructure();
00916     arg << val.codecID << val.name << val.mediaType << val.clockRate << val.numberOfChannels << val.parameters;
00917     arg.endStructure();
00918     return arg;
00919 }
00920 
00921 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val)
00922 {
00923     arg.beginStructure();
00924     arg >> val.codecID >> val.name >> val.mediaType >> val.clockRate >> val.numberOfChannels >> val.parameters;
00925     arg.endStructure();
00926     return arg;
00927 }
00928 
00929 TELEPATHY_QT4_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2)
00930 {
00931     return ((v1.servicePoint == v2.servicePoint)
00932             && (v1.serviceIDs == v2.serviceIDs)
00933             );
00934 }
00935 
00936 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val)
00937 {
00938     arg.beginStructure();
00939     arg << val.servicePoint << val.serviceIDs;
00940     arg.endStructure();
00941     return arg;
00942 }
00943 
00944 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val)
00945 {
00946     arg.beginStructure();
00947     arg >> val.servicePoint >> val.serviceIDs;
00948     arg.endStructure();
00949     return arg;
00950 }
00951 
00952 TELEPATHY_QT4_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2)
00953 {
00954     return ((v1.type == v2.type)
00955             && (v1.maySetOnSelf == v2.maySetOnSelf)
00956             && (v1.exclusive == v2.exclusive)
00957             && (v1.parameterTypes == v2.parameterTypes)
00958             );
00959 }
00960 
00961 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val)
00962 {
00963     arg.beginStructure();
00964     arg << val.type << val.maySetOnSelf << val.exclusive << val.parameterTypes;
00965     arg.endStructure();
00966     return arg;
00967 }
00968 
00969 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val)
00970 {
00971     arg.beginStructure();
00972     arg >> val.type >> val.maySetOnSelf >> val.exclusive >> val.parameterTypes;
00973     arg.endStructure();
00974     return arg;
00975 }
00976 
00977 TELEPATHY_QT4_NO_EXPORT void _registerTypes()
00978 {
00979     static bool registered = false;
00980     if (registered)
00981         return;
00982     registered = true;
00983 
00984     qDBusRegisterMetaType<Tp::AccessControl>();
00985     qDBusRegisterMetaType<Tp::AliasMap>();
00986     qDBusRegisterMetaType<Tp::AliasPair>();
00987     qDBusRegisterMetaType<Tp::AliasPairList>();
00988     qDBusRegisterMetaType<Tp::Avatar>();
00989     qDBusRegisterMetaType<Tp::AvatarTokenMap>();
00990     qDBusRegisterMetaType<Tp::CapabilityChange>();
00991     qDBusRegisterMetaType<Tp::CapabilityChangeList>();
00992     qDBusRegisterMetaType<Tp::CapabilityPair>();
00993     qDBusRegisterMetaType<Tp::CapabilityPairList>();
00994     qDBusRegisterMetaType<Tp::ChannelCallStateMap>();
00995     qDBusRegisterMetaType<Tp::ChannelClass>();
00996     qDBusRegisterMetaType<Tp::ChannelClassList>();
00997     qDBusRegisterMetaType<Tp::ChannelDetails>();
00998     qDBusRegisterMetaType<Tp::ChannelDetailsList>();
00999     qDBusRegisterMetaType<Tp::ChannelInfo>();
01000     qDBusRegisterMetaType<Tp::ChannelInfoList>();
01001     qDBusRegisterMetaType<Tp::ChannelOriginatorMap>();
01002     qDBusRegisterMetaType<Tp::ChatStateMap>();
01003     qDBusRegisterMetaType<Tp::ContactAttributesMap>();
01004     qDBusRegisterMetaType<Tp::ContactCapabilitiesMap>();
01005     qDBusRegisterMetaType<Tp::ContactCapabilitiesMapList>();
01006     qDBusRegisterMetaType<Tp::ContactCapability>();
01007     qDBusRegisterMetaType<Tp::ContactCapabilityList>();
01008     qDBusRegisterMetaType<Tp::ContactClientTypes>();
01009     qDBusRegisterMetaType<Tp::ContactInfoField>();
01010     qDBusRegisterMetaType<Tp::ContactInfoFieldList>();
01011     qDBusRegisterMetaType<Tp::ContactInfoMap>();
01012     qDBusRegisterMetaType<Tp::ContactLocations>();
01013     qDBusRegisterMetaType<Tp::ContactPresences>();
01014     qDBusRegisterMetaType<Tp::ContactSearchMap>();
01015     qDBusRegisterMetaType<Tp::ContactSearchResultMap>();
01016     qDBusRegisterMetaType<Tp::ContactSubscriptionMap>();
01017     qDBusRegisterMetaType<Tp::ContactSubscriptions>();
01018     qDBusRegisterMetaType<Tp::CurrencyAmount>();
01019     qDBusRegisterMetaType<Tp::DBusTubeMember>();
01020     qDBusRegisterMetaType<Tp::DBusTubeMemberList>();
01021     qDBusRegisterMetaType<Tp::FieldSpec>();
01022     qDBusRegisterMetaType<Tp::FieldSpecs>();
01023     qDBusRegisterMetaType<Tp::HandleIdentifierMap>();
01024     qDBusRegisterMetaType<Tp::HandleOwnerMap>();
01025     qDBusRegisterMetaType<Tp::HandlerCapabilities>();
01026     qDBusRegisterMetaType<Tp::HandlerCapabilitiesList>();
01027     qDBusRegisterMetaType<Tp::LastActivityAndStatuses>();
01028     qDBusRegisterMetaType<Tp::LocalPendingInfo>();
01029     qDBusRegisterMetaType<Tp::LocalPendingInfoList>();
01030     qDBusRegisterMetaType<Tp::Location>();
01031     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfo>();
01032     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfoList>();
01033     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidate>();
01034     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidateList>();
01035     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodec>();
01036     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodecList>();
01037     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransport>();
01038     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransportList>();
01039     qDBusRegisterMetaType<Tp::MediaStreamInfo>();
01040     qDBusRegisterMetaType<Tp::MediaStreamInfoList>();
01041     qDBusRegisterMetaType<Tp::MessagePart>();
01042     qDBusRegisterMetaType<Tp::MessagePartContentMap>();
01043     qDBusRegisterMetaType<Tp::MessagePartList>();
01044     qDBusRegisterMetaType<Tp::MessagePartListList>();
01045     qDBusRegisterMetaType<Tp::MultipleStatusMap>();
01046     qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMap>();
01047     qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMapList>();
01048     qDBusRegisterMetaType<Tp::ObjectPathList>();
01049     qDBusRegisterMetaType<Tp::ParamSpec>();
01050     qDBusRegisterMetaType<Tp::ParamSpecList>();
01051     qDBusRegisterMetaType<Tp::PendingTextMessage>();
01052     qDBusRegisterMetaType<Tp::PendingTextMessageList>();
01053     qDBusRegisterMetaType<Tp::PropertyFlagsChange>();
01054     qDBusRegisterMetaType<Tp::PropertyFlagsChangeList>();
01055     qDBusRegisterMetaType<Tp::PropertySpec>();
01056     qDBusRegisterMetaType<Tp::PropertySpecList>();
01057     qDBusRegisterMetaType<Tp::PropertyValue>();
01058     qDBusRegisterMetaType<Tp::PropertyValueList>();
01059     qDBusRegisterMetaType<Tp::ProtocolPropertiesMap>();
01060     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMap>();
01061     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMapList>();
01062     qDBusRegisterMetaType<Tp::RequestableChannelClass>();
01063     qDBusRegisterMetaType<Tp::RequestableChannelClassList>();
01064     qDBusRegisterMetaType<Tp::RichPresenceAccessControl>();
01065     qDBusRegisterMetaType<Tp::RoomInfo>();
01066     qDBusRegisterMetaType<Tp::RoomInfoList>();
01067     qDBusRegisterMetaType<Tp::ServicePoint>();
01068     qDBusRegisterMetaType<Tp::ServicePointInfo>();
01069     qDBusRegisterMetaType<Tp::ServicePointInfoList>();
01070     qDBusRegisterMetaType<Tp::SimpleContactPresences>();
01071     qDBusRegisterMetaType<Tp::SimplePresence>();
01072     qDBusRegisterMetaType<Tp::SimpleStatusSpec>();
01073     qDBusRegisterMetaType<Tp::SimpleStatusSpecMap>();
01074     qDBusRegisterMetaType<Tp::SingleContactAttributesMap>();
01075     qDBusRegisterMetaType<Tp::SocketAddressIP>();
01076     qDBusRegisterMetaType<Tp::SocketAddressIPList>();
01077     qDBusRegisterMetaType<Tp::SocketAddressIPv4>();
01078     qDBusRegisterMetaType<Tp::SocketAddressIPv6>();
01079     qDBusRegisterMetaType<Tp::SocketNetmaskIPv4>();
01080     qDBusRegisterMetaType<Tp::SocketNetmaskIPv6>();
01081     qDBusRegisterMetaType<Tp::StatusSpec>();
01082     qDBusRegisterMetaType<Tp::StatusSpecMap>();
01083     qDBusRegisterMetaType<Tp::StringStringMap>();
01084     qDBusRegisterMetaType<Tp::StringStringMapList>();
01085     qDBusRegisterMetaType<Tp::StringVariantMap>();
01086     qDBusRegisterMetaType<Tp::StringVariantMapList>();
01087     qDBusRegisterMetaType<Tp::SupportedSocketMap>();
01088     qDBusRegisterMetaType<Tp::TubeInfo>();
01089     qDBusRegisterMetaType<Tp::TubeInfoList>();
01090     qDBusRegisterMetaType<Tp::UIntList>();
01091 }
01092 
01093 } // namespace Tp


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