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; 00063 #start_since SINCE_3_1_SDK 00064 00069 LOCAL_C const TInt KFavouritesSavedDeckItemUid = -7; 00070 #end_since SINCE_3_1_SDK 00071 00072 //========== Unique name support ==========// 00073 00079 LOCAL_C const TInt KFavouritesMaxPostfix = 13; 00080 00081 //========== Context Id values ==========// 00082 00084 LOCAL_C const TInt32 KFavouritesNullContextId = 0x00000000; 00086 LOCAL_C const TInt32 KFavouritesApplicationContextId = 0x00000001; 00088 LOCAL_C const TInt32 KFavouritesImageContextId = 0x00000002; 00090 LOCAL_C const TInt32 KFavouritesAudioContextId = 0x00000003; 00092 LOCAL_C const TInt32 KFavouritesVideoContextId = 0x00000004; 00094 LOCAL_C const TInt32 KFavouritesGameDataContextId = 0x00000005; 00096 LOCAL_C const TInt32 KFavouritesRingingToneContextId = 0x00000006; 00098 LOCAL_C const TInt32 KFavouritesSkinContextId = 0x00000007; 00100 LOCAL_C const TInt32 KFavouritesMusicContextId = 0x00000008; 00101 00102 //========== Database names ==========// 00103 00105 _LIT( KBrowserBookmarks, "BrowserBookmarks" ); 00107 _LIT( KBrowserSavedPages, "BrowserSavedPages" ); 00108 00109 #endif 00110 00111 // End of File