web_pub/favourites_engine_api/tsrc/src/FavouritesItemTestData.cpp
changeset 1 7c90e6132015
child 25 0ed94ceaa377
equal deleted inserted replaced
0:dd21522fd290 1:7c90e6132015
       
     1 /*
       
     2 * Copyright (c) 2000 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 the License "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:  Implementation of class TFavouritesItemTestData
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 
       
    21 #include <s32strm.h>
       
    22 #include "FavouritesItemTestData.h"
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // ---------------------------------------------------------
       
    27 // TFavouritesItemTestData::ExternalizeL
       
    28 // ---------------------------------------------------------
       
    29 //
       
    30 void TFavouritesItemTestData::ExternalizeL( RWriteStream& aStream ) const
       
    31     {
       
    32     aStream.WriteInt32L( iTestData );
       
    33     }
       
    34 
       
    35 // ---------------------------------------------------------
       
    36 // TFavouritesItemTestData::InternalizeL
       
    37 // ---------------------------------------------------------
       
    38 //
       
    39 void TFavouritesItemTestData::InternalizeL( RReadStream& aStream )
       
    40     {
       
    41     iTestData = aStream.ReadInt32L();
       
    42     }