activityfw/activitydatabase/s60/inc/hsserializer.h
changeset 61 8e5041d13c84
child 66 32469d7d46ff
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 #ifndef HSSERIALIZER_H
       
    18 #define HSSERIALIZER_H
       
    19 #include <qvariant.h>
       
    20 
       
    21 /**
       
    22  * Operator serialize VarinatHash to RBuf8
       
    23  */
       
    24 RBuf8& operator <<(RBuf8& dst, const QVariantHash& src);
       
    25 
       
    26 /**
       
    27  * Operator deserialize RBuf8 to VarinatHash
       
    28  */
       
    29 QVariantHash& operator <<(QVariantHash& dst, const TDesC8& src);
       
    30 
       
    31 /**
       
    32  * Operator serialize QList<QVariantHash> to RBuf8
       
    33  */
       
    34 RBuf8& operator <<(RBuf8& dst, const QList<QVariantHash>& src);
       
    35 
       
    36 /**
       
    37  * Operator deserialize RBuf8 to QList<QVariantHash>
       
    38  */
       
    39 QList<QVariantHash>& operator <<(QList<QVariantHash>& dst, const TDesC8& src); 
       
    40 #endif