| 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 AliasPair& v1, const AliasPair& v2)
    00009 {
    00010     return ((v1.handle == v2.handle)
    00011             && (v1.alias == v2.alias)
    00012             );
    00013 }
    00014
    00015 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val)
    00016 {
    00017     arg.beginStructure();
    00018     arg << val.handle << val.alias;
    00019     arg.endStructure();
    00020     return arg;
    00021 }
    00022
    00023 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val)
    00024 {
    00025     arg.beginStructure();
    00026     arg >> val.handle >> val.alias;
    00027     arg.endStructure();
    00028     return arg;
    00029 }
    00030
    00031 TELEPATHY_QT4_EXPORT bool operator==(const Avatar& v1, const Avatar& v2)
    00032 {
    00033     return ((v1.avatarData == v2.avatarData)
    00034             && (v1.MIMEType == v2.MIMEType)
    00035             );
    00036 }
    00037
    00038 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val)
    00039 {
    00040     arg.beginStructure();
    00041     arg << val.avatarData << val.MIMEType;
    00042     arg.endStructure();
    00043     return arg;
    00044 }
    00045
    00046 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val)
    00047 {
    00048     arg.beginStructure();
    00049     arg >> val.avatarData >> val.MIMEType;
    00050     arg.endStructure();
    00051     return arg;
    00052 }
    00053
    00054 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2)
    00055 {
    00056     return ((v1.handle == v2.handle)
    00057             && (v1.channelType == v2.channelType)
    00058             && (v1.oldGenericFlags == v2.oldGenericFlags)
    00059             && (v1.newGenericFlags == v2.newGenericFlags)
    00060             && (v1.oldTypeSpecificFlags == v2.oldTypeSpecificFlags)
    00061             && (v1.newTypeSpecificFlags == v2.newTypeSpecificFlags)
    00062             );
    00063 }
    00064
    00065 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val)
    00066 {
    00067     arg.beginStructure();
    00068     arg << val.handle << val.channelType << val.oldGenericFlags << val.newGenericFlags << val.oldTypeSpecificFlags << val.newTypeSpecificFlags;
    00069     arg.endStructure();
    00070     return arg;
    00071 }
    00072
    00073 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val)
    00074 {
    00075     arg.beginStructure();
    00076     arg >> val.handle >> val.channelType >> val.oldGenericFlags >> val.newGenericFlags >> val.oldTypeSpecificFlags >> val.newTypeSpecificFlags;
    00077     arg.endStructure();
    00078     return arg;
    00079 }
    00080
    00081 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2)
    00082 {
    00083     return ((v1.channelType == v2.channelType)
    00084             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
    00085             );
    00086 }
    00087
    00088 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val)
    00089 {
    00090     arg.beginStructure();
    00091     arg << val.channelType << val.typeSpecificFlags;
    00092     arg.endStructure();
    00093     return arg;
    00094 }
    00095
    00096 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val)
    00097 {
    00098     arg.beginStructure();
    00099     arg >> val.channelType >> val.typeSpecificFlags;
    00100     arg.endStructure();
    00101     return arg;
    00102 }
    00103
    00104 TELEPATHY_QT4_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2)
    00105 {
    00106     return ((v1.channel == v2.channel)
    00107             && (v1.properties == v2.properties)
    00108             );
    00109 }
    00110
    00111 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val)
    00112 {
    00113     arg.beginStructure();
    00114     arg << val.channel << val.properties;
    00115     arg.endStructure();
    00116     return arg;
    00117 }
    00118
    00119 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val)
    00120 {
    00121     arg.beginStructure();
    00122     arg >> val.channel >> val.properties;
    00123     arg.endStructure();
    00124     return arg;
    00125 }
    00126
    00127 TELEPATHY_QT4_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2)
    00128 {
    00129     return ((v1.channel == v2.channel)
    00130             && (v1.channelType == v2.channelType)
    00131             && (v1.handleType == v2.handleType)
    00132             && (v1.handle == v2.handle)
    00133             );
    00134 }
    00135
    00136 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val)
    00137 {
    00138     arg.beginStructure();
    00139     arg << val.channel << val.channelType << val.handleType << val.handle;
    00140     arg.endStructure();
    00141     return arg;
    00142 }
    00143
    00144 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val)
    00145 {
    00146     arg.beginStructure();
    00147     arg >> val.channel >> val.channelType >> val.handleType >> val.handle;
    00148     arg.endStructure();
    00149     return arg;
    00150 }
    00151
    00152 TELEPATHY_QT4_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2)
    00153 {
    00154     return ((v1.handle == v2.handle)
    00155             && (v1.channelType == v2.channelType)
    00156             && (v1.genericFlags == v2.genericFlags)
    00157             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
    00158             );
    00159 }
    00160
    00161 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val)
    00162 {
    00163     arg.beginStructure();
    00164     arg << val.handle << val.channelType << val.genericFlags << val.typeSpecificFlags;
    00165     arg.endStructure();
    00166     return arg;
    00167 }
    00168
    00169 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val)
    00170 {
    00171     arg.beginStructure();
    00172     arg >> val.handle >> val.channelType >> val.genericFlags >> val.typeSpecificFlags;
    00173     arg.endStructure();
    00174     return arg;
    00175 }
    00176
    00177 TELEPATHY_QT4_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2)
    00178 {
    00179     return ((v1.handle == v2.handle)
    00180             && (v1.uniqueName == v2.uniqueName)
    00181             );
    00182 }
    00183
    00184 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val)
    00185 {
    00186     arg.beginStructure();
    00187     arg << val.handle << val.uniqueName;
    00188     arg.endStructure();
    00189     return arg;
    00190 }
    00191
    00192 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val)
    00193 {
    00194     arg.beginStructure();
    00195     arg >> val.handle >> val.uniqueName;
    00196     arg.endStructure();
    00197     return arg;
    00198 }
    00199
    00200 TELEPATHY_QT4_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
    00201 {
    00202     return ((v1.toBeAdded == v2.toBeAdded)
    00203             && (v1.actor == v2.actor)
    00204             && (v1.reason == v2.reason)
    00205             && (v1.message == v2.message)
    00206             );
    00207 }
    00208
    00209 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val)
    00210 {
    00211     arg.beginStructure();
    00212     arg << val.toBeAdded << val.actor << val.reason << val.message;
    00213     arg.endStructure();
    00214     return arg;
    00215 }
    00216
    00217 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val)
    00218 {
    00219     arg.beginStructure();
    00220     arg >> val.toBeAdded >> val.actor >> val.reason >> val.message;
    00221     arg.endStructure();
    00222     return arg;
    00223 }
    00224
    00225 TELEPATHY_QT4_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
    00226 {
    00227     return ((v1.sessionHandler == v2.sessionHandler)
    00228             && (v1.mediaSessionType == v2.mediaSessionType)
    00229             );
    00230 }
    00231
    00232 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val)
    00233 {
    00234     arg.beginStructure();
    00235     arg << val.sessionHandler << val.mediaSessionType;
    00236     arg.endStructure();
    00237     return arg;
    00238 }
    00239
    00240 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val)
    00241 {
    00242     arg.beginStructure();
    00243     arg >> val.sessionHandler >> val.mediaSessionType;
    00244     arg.endStructure();
    00245     return arg;
    00246 }
    00247
    00248 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
    00249 {
    00250     return ((v1.componentNumber == v2.componentNumber)
    00251             && (v1.IPAddress == v2.IPAddress)
    00252             && (v1.port == v2.port)
    00253             && (v1.protocol == v2.protocol)
    00254             && (v1.subtype == v2.subtype)
    00255             && (v1.profile == v2.profile)
    00256             && (v1.preferenceValue == v2.preferenceValue)
    00257             && (v1.transportType == v2.transportType)
    00258             && (v1.username == v2.username)
    00259             && (v1.password == v2.password)
    00260             );
    00261 }
    00262
    00263 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val)
    00264 {
    00265     arg.beginStructure();
    00266     arg << val.componentNumber << val.IPAddress << val.port << val.protocol << val.subtype << val.profile << val.preferenceValue << val.transportType << val.username << val.password;
    00267     arg.endStructure();
    00268     return arg;
    00269 }
    00270
    00271 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val)
    00272 {
    00273     arg.beginStructure();
    00274     arg >> val.componentNumber >> val.IPAddress >> val.port >> val.protocol >> val.subtype >> val.profile >> val.preferenceValue >> val.transportType >> val.username >> val.password;
    00275     arg.endStructure();
    00276     return arg;
    00277 }
    00278
    00279 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
    00280 {
    00281     return ((v1.identifier == v2.identifier)
    00282             && (v1.contact == v2.contact)
    00283             && (v1.type == v2.type)
    00284             && (v1.state == v2.state)
    00285             && (v1.direction == v2.direction)
    00286             && (v1.pendingSendFlags == v2.pendingSendFlags)
    00287             );
    00288 }
    00289
    00290 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val)
    00291 {
    00292     arg.beginStructure();
    00293     arg << val.identifier << val.contact << val.type << val.state << val.direction << val.pendingSendFlags;
    00294     arg.endStructure();
    00295     return arg;
    00296 }
    00297
    00298 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val)
    00299 {
    00300     arg.beginStructure();
    00301     arg >> val.identifier >> val.contact >> val.type >> val.state >> val.direction >> val.pendingSendFlags;
    00302     arg.endStructure();
    00303     return arg;
    00304 }
    00305
    00306 TELEPATHY_QT4_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2)
    00307 {
    00308     return ((v1.name == v2.name)
    00309             && (v1.flags == v2.flags)
    00310             && (v1.signature == v2.signature)
    00311             && (v1.defaultValue.variant() == v2.defaultValue.variant())
    00312             );
    00313 }
    00314
    00315 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val)
    00316 {
    00317     arg.beginStructure();
    00318     arg << val.name << val.flags << val.signature << val.defaultValue;
    00319     arg.endStructure();
    00320     return arg;
    00321 }
    00322
    00323 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val)
    00324 {
    00325     arg.beginStructure();
    00326     arg >> val.name >> val.flags >> val.signature >> val.defaultValue;
    00327     arg.endStructure();
    00328     return arg;
    00329 }
    00330
    00331 TELEPATHY_QT4_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2)
    00332 {
    00333     return ((v1.identifier == v2.identifier)
    00334             && (v1.unixTimestamp == v2.unixTimestamp)
    00335             && (v1.sender == v2.sender)
    00336             && (v1.messageType == v2.messageType)
    00337             && (v1.flags == v2.flags)
    00338             && (v1.text == v2.text)
    00339             );
    00340 }
    00341
    00342 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val)
    00343 {
    00344     arg.beginStructure();
    00345     arg << val.identifier << val.unixTimestamp << val.sender << val.messageType << val.flags << val.text;
    00346     arg.endStructure();
    00347     return arg;
    00348 }
    00349
    00350 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val)
    00351 {
    00352     arg.beginStructure();
    00353     arg >> val.identifier >> val.unixTimestamp >> val.sender >> val.messageType >> val.flags >> val.text;
    00354     arg.endStructure();
    00355     return arg;
    00356 }
    00357
    00358 TELEPATHY_QT4_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
    00359 {
    00360     return ((v1.propertyID == v2.propertyID)
    00361             && (v1.newFlags == v2.newFlags)
    00362             );
    00363 }
    00364
    00365 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val)
    00366 {
    00367     arg.beginStructure();
    00368     arg << val.propertyID << val.newFlags;
    00369     arg.endStructure();
    00370     return arg;
    00371 }
    00372
    00373 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val)
    00374 {
    00375     arg.beginStructure();
    00376     arg >> val.propertyID >> val.newFlags;
    00377     arg.endStructure();
    00378     return arg;
    00379 }
    00380
    00381 TELEPATHY_QT4_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2)
    00382 {
    00383     return ((v1.propertyID == v2.propertyID)
    00384             && (v1.name == v2.name)
    00385             && (v1.signature == v2.signature)
    00386             && (v1.flags == v2.flags)
    00387             );
    00388 }
    00389
    00390 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val)
    00391 {
    00392     arg.beginStructure();
    00393     arg << val.propertyID << val.name << val.signature << val.flags;
    00394     arg.endStructure();
    00395     return arg;
    00396 }
    00397
    00398 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val)
    00399 {
    00400     arg.beginStructure();
    00401     arg >> val.propertyID >> val.name >> val.signature >> val.flags;
    00402     arg.endStructure();
    00403     return arg;
    00404 }
    00405
    00406 TELEPATHY_QT4_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2)
    00407 {
    00408     return ((v1.identifier == v2.identifier)
    00409             && (v1.value.variant() == v2.value.variant())
    00410             );
    00411 }
    00412
    00413 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val)
    00414 {
    00415     arg.beginStructure();
    00416     arg << val.identifier << val.value;
    00417     arg.endStructure();
    00418     return arg;
    00419 }
    00420
    00421 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val)
    00422 {
    00423     arg.beginStructure();
    00424     arg >> val.identifier >> val.value;
    00425     arg.endStructure();
    00426     return arg;
    00427 }
    00428
    00429 TELEPATHY_QT4_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
    00430 {
    00431     return ((v1.fixedProperties == v2.fixedProperties)
    00432             && (v1.allowedProperties == v2.allowedProperties)
    00433             );
    00434 }
    00435
    00436 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val)
    00437 {
    00438     arg.beginStructure();
    00439     arg << val.fixedProperties << val.allowedProperties;
    00440     arg.endStructure();
    00441     return arg;
    00442 }
    00443
    00444 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val)
    00445 {
    00446     arg.beginStructure();
    00447     arg >> val.fixedProperties >> val.allowedProperties;
    00448     arg.endStructure();
    00449     return arg;
    00450 }
    00451
    00452 TELEPATHY_QT4_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
    00453 {
    00454     return ((v1.type == v2.type)
    00455             && (v1.detail.variant() == v2.detail.variant())
    00456             );
    00457 }
    00458
    00459 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val)
    00460 {
    00461     arg.beginStructure();
    00462     arg << val.type << val.detail;
    00463     arg.endStructure();
    00464     return arg;
    00465 }
    00466
    00467 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val)
    00468 {
    00469     arg.beginStructure();
    00470     arg >> val.type >> val.detail;
    00471     arg.endStructure();
    00472     return arg;
    00473 }
    00474
    00475 TELEPATHY_QT4_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2)
    00476 {
    00477     return ((v1.handle == v2.handle)
    00478             && (v1.channelType == v2.channelType)
    00479             && (v1.info == v2.info)
    00480             );
    00481 }
    00482
    00483 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val)
    00484 {
    00485     arg.beginStructure();
    00486     arg << val.handle << val.channelType << val.info;
    00487     arg.endStructure();
    00488     return arg;
    00489 }
    00490
    00491 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val)
    00492 {
    00493     arg.beginStructure();
    00494     arg >> val.handle >> val.channelType >> val.info;
    00495     arg.endStructure();
    00496     return arg;
    00497 }
    00498
    00499 TELEPATHY_QT4_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2)
    00500 {
    00501     return ((v1.type == v2.type)
    00502             && (v1.status == v2.status)
    00503             && (v1.statusMessage == v2.statusMessage)
    00504             );
    00505 }
    00506
    00507 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val)
    00508 {
    00509     arg.beginStructure();
    00510     arg << val.type << val.status << val.statusMessage;
    00511     arg.endStructure();
    00512     return arg;
    00513 }
    00514
    00515 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val)
    00516 {
    00517     arg.beginStructure();
    00518     arg >> val.type >> val.status >> val.statusMessage;
    00519     arg.endStructure();
    00520     return arg;
    00521 }
    00522
    00523 TELEPATHY_QT4_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
    00524 {
    00525     return ((v1.type == v2.type)
    00526             && (v1.maySetOnSelf == v2.maySetOnSelf)
    00527             && (v1.canHaveMessage == v2.canHaveMessage)
    00528             );
    00529 }
    00530
    00531 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val)
    00532 {
    00533     arg.beginStructure();
    00534     arg << val.type << val.maySetOnSelf << val.canHaveMessage;
    00535     arg.endStructure();
    00536     return arg;
    00537 }
    00538
    00539 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val)
    00540 {
    00541     arg.beginStructure();
    00542     arg >> val.type >> val.maySetOnSelf >> val.canHaveMessage;
    00543     arg.endStructure();
    00544     return arg;
    00545 }
    00546
    00547 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2)
    00548 {
    00549     return ((v1.address == v2.address)
    00550             && (v1.port == v2.port)
    00551             );
    00552 }
    00553
    00554 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val)
    00555 {
    00556     arg.beginStructure();
    00557     arg << val.address << val.port;
    00558     arg.endStructure();
    00559     return arg;
    00560 }
    00561
    00562 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val)
    00563 {
    00564     arg.beginStructure();
    00565     arg >> val.address >> val.port;
    00566     arg.endStructure();
    00567     return arg;
    00568 }
    00569
    00570 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
    00571 {
    00572     return ((v1.address == v2.address)
    00573             && (v1.port == v2.port)
    00574             );
    00575 }
    00576
    00577 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val)
    00578 {
    00579     arg.beginStructure();
    00580     arg << val.address << val.port;
    00581     arg.endStructure();
    00582     return arg;
    00583 }
    00584
    00585 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val)
    00586 {
    00587     arg.beginStructure();
    00588     arg >> val.address >> val.port;
    00589     arg.endStructure();
    00590     return arg;
    00591 }
    00592
    00593 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
    00594 {
    00595     return ((v1.address == v2.address)
    00596             && (v1.port == v2.port)
    00597             );
    00598 }
    00599
    00600 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val)
    00601 {
    00602     arg.beginStructure();
    00603     arg << val.address << val.port;
    00604     arg.endStructure();
    00605     return arg;
    00606 }
    00607
    00608 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val)
    00609 {
    00610     arg.beginStructure();
    00611     arg >> val.address >> val.port;
    00612     arg.endStructure();
    00613     return arg;
    00614 }
    00615
    00616 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
    00617 {
    00618     return ((v1.address == v2.address)
    00619             && (v1.prefixLength == v2.prefixLength)
    00620             );
    00621 }
    00622
    00623 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val)
    00624 {
    00625     arg.beginStructure();
    00626     arg << val.address << val.prefixLength;
    00627     arg.endStructure();
    00628     return arg;
    00629 }
    00630
    00631 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val)
    00632 {
    00633     arg.beginStructure();
    00634     arg >> val.address >> val.prefixLength;
    00635     arg.endStructure();
    00636     return arg;
    00637 }
    00638
    00639 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
    00640 {
    00641     return ((v1.address == v2.address)
    00642             && (v1.prefixLength == v2.prefixLength)
    00643             );
    00644 }
    00645
    00646 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val)
    00647 {
    00648     arg.beginStructure();
    00649     arg << val.address << val.prefixLength;
    00650     arg.endStructure();
    00651     return arg;
    00652 }
    00653
    00654 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val)
    00655 {
    00656     arg.beginStructure();
    00657     arg >> val.address >> val.prefixLength;
    00658     arg.endStructure();
    00659     return arg;
    00660 }
    00661
    00662 TELEPATHY_QT4_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2)
    00663 {
    00664     return ((v1.identifier == v2.identifier)
    00665             && (v1.initiator == v2.initiator)
    00666             && (v1.type == v2.type)
    00667             && (v1.service == v2.service)
    00668             && (v1.parameters == v2.parameters)
    00669             && (v1.state == v2.state)
    00670             );
    00671 }
    00672
    00673 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val)
    00674 {
    00675     arg.beginStructure();
    00676     arg << val.identifier << val.initiator << val.type << val.service << val.parameters << val.state;
    00677     arg.endStructure();
    00678     return arg;
    00679 }
    00680
    00681 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val)
    00682 {
    00683     arg.beginStructure();
    00684     arg >> val.identifier >> val.initiator >> val.type >> val.service >> val.parameters >> val.state;
    00685     arg.endStructure();
    00686     return arg;
    00687 }
    00688
    00689 TELEPATHY_QT4_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
    00690 {
    00691     return ((v1.wellKnownName == v2.wellKnownName)
    00692             && (v1.channelClasses == v2.channelClasses)
    00693             && (v1.capabilities == v2.capabilities)
    00694             );
    00695 }
    00696
    00697 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val)
    00698 {
    00699     arg.beginStructure();
    00700     arg << val.wellKnownName << val.channelClasses << val.capabilities;
    00701     arg.endStructure();
    00702     return arg;
    00703 }
    00704
    00705 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val)
    00706 {
    00707     arg.beginStructure();
    00708     arg >> val.wellKnownName >> val.channelClasses >> val.capabilities;
    00709     arg.endStructure();
    00710     return arg;
    00711 }
    00712
    00713 TELEPATHY_QT4_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
    00714 {
    00715     return ((v1.lastActivity == v2.lastActivity)
    00716             && (v1.statuses == v2.statuses)
    00717             );
    00718 }
    00719
    00720 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val)
    00721 {
    00722     arg.beginStructure();
    00723     arg << val.lastActivity << val.statuses;
    00724     arg.endStructure();
    00725     return arg;
    00726 }
    00727
    00728 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val)
    00729 {
    00730     arg.beginStructure();
    00731     arg >> val.lastActivity >> val.statuses;
    00732     arg.endStructure();
    00733     return arg;
    00734 }
    00735
    00736 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
    00737 {
    00738     return ((v1.name == v2.name)
    00739             && (v1.transports == v2.transports)
    00740             );
    00741 }
    00742
    00743 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val)
    00744 {
    00745     arg.beginStructure();
    00746     arg << val.name << val.transports;
    00747     arg.endStructure();
    00748     return arg;
    00749 }
    00750
    00751 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val)
    00752 {
    00753     arg.beginStructure();
    00754     arg >> val.name >> val.transports;
    00755     arg.endStructure();
    00756     return arg;
    00757 }
    00758
    00759 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
    00760 {
    00761     return ((v1.codecID == v2.codecID)
    00762             && (v1.name == v2.name)
    00763             && (v1.mediaType == v2.mediaType)
    00764             && (v1.clockRate == v2.clockRate)
    00765             && (v1.numberOfChannels == v2.numberOfChannels)
    00766             && (v1.parameters == v2.parameters)
    00767             );
    00768 }
    00769
    00770 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val)
    00771 {
    00772     arg.beginStructure();
    00773     arg << val.codecID << val.name << val.mediaType << val.clockRate << val.numberOfChannels << val.parameters;
    00774     arg.endStructure();
    00775     return arg;
    00776 }
    00777
    00778 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val)
    00779 {
    00780     arg.beginStructure();
    00781     arg >> val.codecID >> val.name >> val.mediaType >> val.clockRate >> val.numberOfChannels >> val.parameters;
    00782     arg.endStructure();
    00783     return arg;
    00784 }
    00785
    00786 TELEPATHY_QT4_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2)
    00787 {
    00788     return ((v1.type == v2.type)
    00789             && (v1.maySetOnSelf == v2.maySetOnSelf)
    00790             && (v1.exclusive == v2.exclusive)
    00791             && (v1.parameterTypes == v2.parameterTypes)
    00792             );
    00793 }
    00794
    00795 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val)
    00796 {
    00797     arg.beginStructure();
    00798     arg << val.type << val.maySetOnSelf << val.exclusive << val.parameterTypes;
    00799     arg.endStructure();
    00800     return arg;
    00801 }
    00802
    00803 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val)
    00804 {
    00805     arg.beginStructure();
    00806     arg >> val.type >> val.maySetOnSelf >> val.exclusive >> val.parameterTypes;
    00807     arg.endStructure();
    00808     return arg;
    00809 }
    00810
    00811 TELEPATHY_QT4_NO_EXPORT void _registerTypes()
    00812 {
    00813     static bool registered = false;
    00814     if (registered)
    00815         return;
    00816     registered = true;
    00817
    00818     qDBusRegisterMetaType<Tp::AliasMap>();
    00819     qDBusRegisterMetaType<Tp::AliasPair>();
    00820     qDBusRegisterMetaType<Tp::AliasPairList>();
    00821     qDBusRegisterMetaType<Tp::Avatar>();
    00822     qDBusRegisterMetaType<Tp::AvatarTokenMap>();
    00823     qDBusRegisterMetaType<Tp::CapabilityChange>();
    00824     qDBusRegisterMetaType<Tp::CapabilityChangeList>();
    00825     qDBusRegisterMetaType<Tp::CapabilityPair>();
    00826     qDBusRegisterMetaType<Tp::CapabilityPairList>();
    00827     qDBusRegisterMetaType<Tp::ChannelCallStateMap>();
    00828     qDBusRegisterMetaType<Tp::ChannelClass>();
    00829     qDBusRegisterMetaType<Tp::ChannelClassList>();
    00830     qDBusRegisterMetaType<Tp::ChannelDetails>();
    00831     qDBusRegisterMetaType<Tp::ChannelDetailsList>();
    00832     qDBusRegisterMetaType<Tp::ChannelInfo>();
    00833     qDBusRegisterMetaType<Tp::ChannelInfoList>();
    00834     qDBusRegisterMetaType<Tp::ContactAttributesMap>();
    00835     qDBusRegisterMetaType<Tp::ContactCapabilitiesMap>();
    00836     qDBusRegisterMetaType<Tp::ContactCapabilitiesMapList>();
    00837     qDBusRegisterMetaType<Tp::ContactCapability>();
    00838     qDBusRegisterMetaType<Tp::ContactCapabilityList>();
    00839     qDBusRegisterMetaType<Tp::ContactLocations>();
    00840     qDBusRegisterMetaType<Tp::ContactPresences>();
    00841     qDBusRegisterMetaType<Tp::DBusTubeMember>();
    00842     qDBusRegisterMetaType<Tp::DBusTubeMemberList>();
    00843     qDBusRegisterMetaType<Tp::HandleIdentifierMap>();
    00844     qDBusRegisterMetaType<Tp::HandleOwnerMap>();
    00845     qDBusRegisterMetaType<Tp::HandlerCapabilities>();
    00846     qDBusRegisterMetaType<Tp::HandlerCapabilitiesList>();
    00847     qDBusRegisterMetaType<Tp::LastActivityAndStatuses>();
    00848     qDBusRegisterMetaType<Tp::LocalPendingInfo>();
    00849     qDBusRegisterMetaType<Tp::LocalPendingInfoList>();
    00850     qDBusRegisterMetaType<Tp::Location>();
    00851     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfo>();
    00852     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfoList>();
    00853     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidate>();
    00854     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidateList>();
    00855     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodec>();
    00856     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodecList>();
    00857     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransport>();
    00858     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransportList>();
    00859     qDBusRegisterMetaType<Tp::MediaStreamInfo>();
    00860     qDBusRegisterMetaType<Tp::MediaStreamInfoList>();
    00861     qDBusRegisterMetaType<Tp::MessagePart>();
    00862     qDBusRegisterMetaType<Tp::MessagePartContentMap>();
    00863     qDBusRegisterMetaType<Tp::MessagePartList>();
    00864     qDBusRegisterMetaType<Tp::MessagePartListList>();
    00865     qDBusRegisterMetaType<Tp::MultipleStatusMap>();
    00866     qDBusRegisterMetaType<Tp::ObjectPathList>();
    00867     qDBusRegisterMetaType<Tp::ParamSpec>();
    00868     qDBusRegisterMetaType<Tp::ParamSpecList>();
    00869     qDBusRegisterMetaType<Tp::PendingTextMessage>();
    00870     qDBusRegisterMetaType<Tp::PendingTextMessageList>();
    00871     qDBusRegisterMetaType<Tp::PropertyFlagsChange>();
    00872     qDBusRegisterMetaType<Tp::PropertyFlagsChangeList>();
    00873     qDBusRegisterMetaType<Tp::PropertySpec>();
    00874     qDBusRegisterMetaType<Tp::PropertySpecList>();
    00875     qDBusRegisterMetaType<Tp::PropertyValue>();
    00876     qDBusRegisterMetaType<Tp::PropertyValueList>();
    00877     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMap>();
    00878     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMapList>();
    00879     qDBusRegisterMetaType<Tp::RequestableChannelClass>();
    00880     qDBusRegisterMetaType<Tp::RequestableChannelClassList>();
    00881     qDBusRegisterMetaType<Tp::RichPresenceAccessControl>();
    00882     qDBusRegisterMetaType<Tp::RoomInfo>();
    00883     qDBusRegisterMetaType<Tp::RoomInfoList>();
    00884     qDBusRegisterMetaType<Tp::SimpleContactPresences>();
    00885     qDBusRegisterMetaType<Tp::SimplePresence>();
    00886     qDBusRegisterMetaType<Tp::SimpleStatusSpec>();
    00887     qDBusRegisterMetaType<Tp::SimpleStatusSpecMap>();
    00888     qDBusRegisterMetaType<Tp::SingleContactAttributesMap>();
    00889     qDBusRegisterMetaType<Tp::SocketAddressIP>();
    00890     qDBusRegisterMetaType<Tp::SocketAddressIPList>();
    00891     qDBusRegisterMetaType<Tp::SocketAddressIPv4>();
    00892     qDBusRegisterMetaType<Tp::SocketAddressIPv6>();
    00893     qDBusRegisterMetaType<Tp::SocketNetmaskIPv4>();
    00894     qDBusRegisterMetaType<Tp::SocketNetmaskIPv6>();
    00895     qDBusRegisterMetaType<Tp::StatusSpec>();
    00896     qDBusRegisterMetaType<Tp::StatusSpecMap>();
    00897     qDBusRegisterMetaType<Tp::StringStringMap>();
    00898     qDBusRegisterMetaType<Tp::StringStringMapList>();
    00899     qDBusRegisterMetaType<Tp::StringVariantMap>();
    00900     qDBusRegisterMetaType<Tp::StringVariantMapList>();
    00901     qDBusRegisterMetaType<Tp::SupportedSocketMap>();
    00902     qDBusRegisterMetaType<Tp::TubeInfo>();
    00903     qDBusRegisterMetaType<Tp::TubeInfoList>();
    00904     qDBusRegisterMetaType<Tp::UIntList>();
    00905 }
    00906
    00907 } // namespace Tp