browserutilities/favouritesengine/ClientServer/inc/FavouritesFolder.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2004 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 *      Declaration of class CFavouritesFolder.
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef FAVOURITES_FOLDER_H
       
    22 #define FAVOURITES_FOLDER_H
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 
       
    29 // FORWARD DECLARATION
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 * Base class for representing favourites array of folder names and uids.
       
    36 * Instance of this class is used to look up uid for populating parent field
       
    37 * of database file.
       
    38 */
       
    39 class CFavouritesFolder
       
    40     {
       
    41     public:
       
    42 
       
    43         CFavouritesFolder( HBufC* aName, TUint aUid);
       
    44 
       
    45         inline HBufC*  Name() {return iName;}
       
    46         inline TInt    Uid()  {return iUid;}
       
    47 
       
    48     private:     // Data types
       
    49         HBufC*  iName;
       
    50         TUint   iUid;
       
    51     };
       
    52 
       
    53 #endif
       
    54             
       
    55 // End of File