epoc32/include/mw/favouritesitemdata.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 favouritesitemdata.h
     1 /*
       
     2 * Copyright (c) 2002 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 FavouritesItemData
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FAVOURITES_ITEM_DATA_H
       
    20 #define FAVOURITES_ITEM_DATA_H
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATION
       
    27 
       
    28 class RWriteStream;
       
    29 class RReadStream;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 * MFavouritesItemData is the Mixin class for representing extra data for a favourites item.
       
    35 */
       
    36 class MFavouritesItemData
       
    37     {
       
    38 
       
    39     public:     // streaming
       
    40 
       
    41         /**
       
    42         * Externalize into a stream.
       
    43         * @since 0.9       
       
    44         * @param aStream The stream to externalize to.
       
    45         */
       
    46         IMPORT_C virtual void ExternalizeL( RWriteStream& aStream ) const = 0;
       
    47 
       
    48         /**
       
    49         * Internalize from a stream.
       
    50         * @since 0.9       
       
    51         * @param aStream The stream to externalize from.
       
    52         */
       
    53         IMPORT_C virtual void InternalizeL( RReadStream& aStream ) = 0;
       
    54 
       
    55     };
       
    56 
       
    57 #endif
       
    58             
       
    59 // End of File