favouriteslimits.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : FavouritesLimits.h 
00004 *  Part of     : Favourites Engine
00005 *  Interface   : Favourites Engine API
00006 *  Description : Declaration of the constants 
00007 *  Version     : %Version%
00008 *
00009 *  Copyright (C) 2004 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing,  adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation.
00018 *
00019 * ============================================================================
00020 */
00021 
00022 #ifndef FAVOURITES_LIMITS_H
00023 #define FAVOURITES_LIMITS_H
00024 
00025 // CONSTANTS
00026 
00027 //========== Favourites attribute limits ==========//
00028 
00030 LOCAL_C const TInt KFavouritesMaxName = 50;
00032 LOCAL_C const TInt KFavouritesMaxUrl = 1024;
00034 LOCAL_C const TInt KFavouritesMaxUserName = 40;
00036 LOCAL_C const TInt KFavouritesMaxPassword = 40;
00037 
00038 //========== Fixed Uid values ==========//
00039 
00041 LOCAL_C const TInt KFavouritesNullUid = 0;
00043 LOCAL_C const TInt KFavouritesRootUid = -1;
00045 LOCAL_C const TInt KFavouritesHomepageUid = -2;
00047 LOCAL_C const TInt KFavouritesLastVisitedUid = -3;
00052 LOCAL_C const TInt KFavouritesStartPageUid = -4;
00057 LOCAL_C const TInt KFavouritesAdaptiveItemsFolderUid = -5;
00062 LOCAL_C const TInt KFavouritesRSSItemUid = -6;
00067 LOCAL_C const TInt KFavouritesSavedDeckItemUid = -7;
00068 
00069 //========== Unique name support ==========//
00070 
00076 LOCAL_C const TInt KFavouritesMaxPostfix = 13;
00077 
00078 //========== Context Id values ==========//
00079 
00081 LOCAL_C const TInt32 KFavouritesNullContextId = 0x00000000;
00083 LOCAL_C const TInt32 KFavouritesApplicationContextId = 0x00000001;
00085 LOCAL_C const TInt32 KFavouritesImageContextId = 0x00000002;
00087 LOCAL_C const TInt32 KFavouritesAudioContextId = 0x00000003;
00089 LOCAL_C const TInt32 KFavouritesVideoContextId = 0x00000004;
00091 LOCAL_C const TInt32 KFavouritesGameDataContextId = 0x00000005;
00093 LOCAL_C const TInt32 KFavouritesRingingToneContextId = 0x00000006;
00095 LOCAL_C const TInt32 KFavouritesSkinContextId = 0x00000007;
00097 LOCAL_C const TInt32 KFavouritesMusicContextId = 0x00000008;
00098 
00100 LOCAL_C const TInt32 KFavouritesFeedsContextId = 0x00000000A;
00101 
00102 
00103 //========== Database names ==========//
00104 
00106 _LIT( KBrowserBookmarks, "BrowserBookmarks" );
00108 _LIT( KBrowserSavedPages, "BrowserSavedPages" );
00109 
00110 #endif
00111             
00112 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top