contentstorage/inc/cadef.h
changeset 61 8e5041d13c84
parent 60 f62f87b200ec
child 66 32469d7d46ff
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11  *
    11  *
    12  * Contributors:
    12  * Contributors:
    13  *
    13  *
    14  * Description:  Definition of different constants
    14  * Description:  Definition of different constants
    15  *  Version     : %version: 10.1.4 % << Don't touch! Updated by Synergy at check-out.
    15  *  Version     : %version: 10.1.7 % << Don't touch! Updated by Synergy at check-out.
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 #ifndef CADEF_H
    19 #ifndef CADEF_H
    20 #define CADEF_H
    20 #define CADEF_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include "cainternaltypes.h"
    23 #include "cainternaltypes.h"
       
    24 
       
    25 
       
    26 // database version
       
    27 _LIT( KCaDbVersion, "00001" ); 
       
    28 
       
    29 
    24 
    30 
    25 // ---------------------------------------------------------
    31 // ---------------------------------------------------------
    26 //Ca constants
    32 //Ca constants
    27 
    33 
    28 enum TChangeType
    34 enum TChangeType
    60 _LIT( KCaAttrUrl, "url" );
    66 _LIT( KCaAttrUrl, "url" );
    61 _LIT( KCaAttrWindowGroupId, "window_group_id" );
    67 _LIT( KCaAttrWindowGroupId, "window_group_id" );
    62 _LIT( KCaTypeCollectionDownload, "collection::downloaded" );
    68 _LIT( KCaTypeCollectionDownload, "collection::downloaded" );
    63 _LIT( KCaPackageUid,"packageuid");
    69 _LIT( KCaPackageUid,"packageuid");
    64 _LIT( KCaAttrInstallationTime, "installationTime");
    70 _LIT( KCaAttrInstallationTime, "installationTime");
       
    71 _LIT( KCaTypeTemplatedApp, "templatedApplication" );
    65 
    72 
    66 const TInt KGranularityOne = 1;
    73 const TInt KGranularityOne = 1;
    67 const TInt KUidChars = 10;
    74 const TInt KUidChars = 10;
    68 const TInt KDefaultGranularity = 5;
    75 const TInt KDefaultGranularity = 5;
    69 const TInt KDefaultExpandSize = 512;
    76 const TInt KDefaultExpandSize = 512;
    86 
    93 
    87 const TUid KHsAppUid =
    94 const TUid KHsAppUid =
    88     {
    95     {
    89     0x20022F35
    96     0x20022F35
    90     };
    97     };
    91 
    98     
    92 const TInt KCenRepBufferSize = 255;
    99 const TInt KCenRepBufferSize = 255;
    93 //
   100 //
    94 // Attributes commonly used for all items.
   101 // Attributes commonly used for all items.
    95 // These are the attributes that are normally used when displaying a menu of items
   102 // These are the attributes that are normally used when displaying a menu of items
    96 // in a menu UI. To get a consistent look of various items, it is recommended that
   103 // in a menu UI. To get a consistent look of various items, it is recommended that