web_pub/favourites_engine_api/tsrc/inc/FavouritesItemTestData.h
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:  Declaration of class TFavouritesItemTestData.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FAVOURITES_ITEM_TEST_DATA_H
       
    20 #define FAVOURITES_ITEM_TEST_DATA_H
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <e32base.h>
       
    25 #include <FavouritesItemData.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 * Mixin class for representing extra data for a favourites item.
       
    31 */
       
    32 class TFavouritesItemTestData: public MFavouritesItemData
       
    33     {
       
    34 
       
    35     public:     // from MFavouritesItemData
       
    36 
       
    37         /**
       
    38         * Externalize into a stream.
       
    39         * @param aStream The stream to externalize to.
       
    40         */
       
    41         virtual void ExternalizeL( RWriteStream& aStream ) const;
       
    42 
       
    43         /**
       
    44         * Internalize from a stream.
       
    45         * @param aStream The stream to externalize from.
       
    46         */
       
    47         virtual void InternalizeL( RReadStream& aStream );
       
    48 
       
    49     public:     // data
       
    50 
       
    51         TInt iTestData;     ///< Some test data to write / read.
       
    52 
       
    53     };
       
    54 
       
    55 #endif
       
    56             
       
    57 // End of File