browserui/browser/FavouritesInc/BrowserBookmarksOrder.h
changeset 51 48e827313edd
parent 37 481242ead638
child 53 f427d27b98d8
equal deleted inserted replaced
37:481242ead638 51:48e827313edd
     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 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: 
       
    15 *
       
    16 */
       
    17 #include <e32base.h>
       
    18 #include <favouritesitemdata.h>
       
    19 
       
    20 class CBrowserBookmarksOrder : public MFavouritesItemData,
       
    21                                public CBase
       
    22     {
       
    23     public:
       
    24 
       
    25     static CBrowserBookmarksOrder* NewLC();
       
    26 
       
    27     void ConstructL();
       
    28 
       
    29     /**
       
    30     * Destructor.
       
    31     */
       
    32     virtual ~CBrowserBookmarksOrder();
       
    33     
       
    34     const CArrayFixFlat<TInt>& GetBookMarksOrder();
       
    35 
       
    36     void SetBookMarksOrderL(const CArrayFixFlat<TInt>& aBookMarksOrder);
       
    37 
       
    38     public: //From MFavouritesItemData
       
    39 
       
    40         void ExternalizeL( RWriteStream& aStream ) const;
       
    41 
       
    42         void InternalizeL( RReadStream& aStream );
       
    43 
       
    44     private: //Data members
       
    45 
       
    46         CArrayFixFlat<TInt>* iBMOrderArray;
       
    47     };