activityfw/activitydatabase/s60/inc/hsserializer.h
changeset 66 32469d7d46ff
parent 61 8e5041d13c84
child 80 397d00875918
equal deleted inserted replaced
61:8e5041d13c84 66:32469d7d46ff
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 #ifndef HSSERIALIZER_H
    17 #ifndef HSSERIALIZER_H
    18 #define HSSERIALIZER_H
    18 #define HSSERIALIZER_H
    19 #include <qvariant.h>
    19 #include <qvariant.h>
       
    20 #include <qpixmap.h>
       
    21 /**
       
    22  * Operator serialize QPixmap to RBuf8
       
    23  */
       
    24 RBuf8 &operator <<(RBuf8 &dst, const QPixmap &src);
       
    25 
       
    26 /**
       
    27  * Operator deserialize TDesc8 to QPixmap
       
    28  */
       
    29 QPixmap &operator <<(QPixmap &dst, const TDesC8 &src);
    20 
    30 
    21 /**
    31 /**
    22  * Operator serialize VarinatHash to RBuf8
    32  * Operator serialize VarinatHash to RBuf8
    23  */
    33  */
    24 RBuf8& operator <<(RBuf8& dst, const QVariantHash& src);
    34 RBuf8 &operator <<(RBuf8 &dst, const QVariantHash &src);
    25 
    35 
    26 /**
    36 /**
    27  * Operator deserialize RBuf8 to VarinatHash
    37  * Operator deserialize RBuf8 to VarinatHash
    28  */
    38  */
    29 QVariantHash& operator <<(QVariantHash& dst, const TDesC8& src);
    39 QVariantHash &operator <<(QVariantHash &dst, const TDesC8 &src);
    30 
    40 
    31 /**
    41 /**
    32  * Operator serialize QList<QVariantHash> to RBuf8
    42  * Operator serialize QList<QVariantHash> to RBuf8
    33  */
    43  */
    34 RBuf8& operator <<(RBuf8& dst, const QList<QVariantHash>& src);
    44 RBuf8 &operator <<(RBuf8 &dst, const QList<QVariantHash>& src);
    35 
    45 
    36 /**
    46 /**
    37  * Operator deserialize RBuf8 to QList<QVariantHash>
    47  * Operator deserialize RBuf8 to QList<QVariantHash>
    38  */
    48  */
    39 QList<QVariantHash>& operator <<(QList<QVariantHash>& dst, const TDesC8& src); 
    49 QList<QVariantHash>& operator <<(QList<QVariantHash>& dst, const TDesC8 &src);
    40 #endif
    50 #endif