+++ /dev/null
-/*
-@version: 0.6
-@author: Sudheer K. <scifi1947 at gmail.com>
-@license: GNU General Public License
-
-Based on QtTelepathy with copyright notice below.
-*/
-
-/*
- * QtTelepathy, the Tapioca Qt4 Telepathy Client Library
- * Copyright (C) 2006 by INdT
- * @author Andre Moreira Magalhaes <andre.magalhaes@indt.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include "connectioninterfacecapabilitiestypes.h"
-
-using namespace org::freedesktop::Telepathy;
-
-const QDBusArgument &operator>>(const QDBusArgument &argument, ContactCapabilities &val)
-{
- argument.beginStructure();
- argument >> val.handle >> val.channelType >> val.genericCapabilityFlags >> val.typeSpecificFlags;
- argument.endStructure();
- return argument;
-}
-
-QDBusArgument &operator<<(QDBusArgument &argument, const ContactCapabilities &val)
-{
- argument.beginStructure();
- argument << val.handle << val.channelType << val.genericCapabilityFlags << val.typeSpecificFlags;
- argument.endStructure();
- return argument;
-}
-
-QDebug &operator<<(QDebug arg,const ContactCapabilities &val)
-{
- arg.space() << "[" << val.handle << "," << val.channelType << "," << val.genericCapabilityFlags << "," << val.typeSpecificFlags << "]";
- return arg.space();
-}
-
-
-const QDBusArgument &operator>>(const QDBusArgument &argument, CapabilityPair &val)
-{
- argument.beginStructure();
- argument >> val.channelType >> val.typeSpecificFlags;
- argument.endStructure();
- return argument;
-}
-
-QDBusArgument &operator<<(QDBusArgument &argument, const CapabilityPair &val)
-{
- argument.beginStructure();
- argument << val.channelType << val.typeSpecificFlags;
- argument.endStructure();
- return argument;
-}
-
-QDebug &operator<<(QDebug arg,const CapabilityPair &val)
-{
- arg.space() << "[" << val.channelType << "," << val.typeSpecificFlags << "]";
- return arg.space();
-}
-
-const QDBusArgument &operator>>(const QDBusArgument &argument, CapabilityChange &val)
-{
- argument.beginStructure();
- argument >> val.handle >> val.channelType >> val.oldGenericFlags >> val.newGenericFlags >> val.oldTypeSpecificFlags >> val.newTypeSpecificFlags;
- argument.endStructure();
- return argument;
-}
-
-QDBusArgument &operator<<(QDBusArgument &argument, const CapabilityChange &val)
-{
- argument.beginStructure();
- argument << val.handle << val.channelType << val.oldGenericFlags << val.newGenericFlags << val.oldTypeSpecificFlags << val.newTypeSpecificFlags;
- argument.endStructure();
- return argument;
-}
-
-QDebug &operator<<(QDebug arg,const CapabilityChange &val)
-{
- arg.space() << "[" << val.handle << "," << val.channelType << "," << val.oldGenericFlags << "," << val.newGenericFlags << "," << val.oldTypeSpecificFlags << "," << val.newTypeSpecificFlags << "]";
- return arg.space();
-}