contentstorage/inc/cadef.h
changeset 66 32469d7d46ff
parent 61 8e5041d13c84
child 73 4bc7b118b3df
equal deleted inserted replaced
61:8e5041d13c84 66:32469d7d46ff
    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.7 % << Don't touch! Updated by Synergy at check-out.
    15  *  Version     : %version: 10.1.12 % << 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
    55     ERunning = 16,
    55     ERunning = 16,
    56     ENative = 32,
    56     ENative = 32,
    57     EMissing = 64
    57     EMissing = 64
    58     };
    58     };
    59 // Ca - Application
    59 // Ca - Application
       
    60 
       
    61 _LIT( KCaTypeMenuCollections, "menucollections" );
    60 _LIT( KCaTypeFolder, "folder" );
    62 _LIT( KCaTypeFolder, "folder" );
    61 _LIT( KCaTypeCollection, "collection" );
    63 _LIT( KCaTypeCollection, "collection" );
    62 _LIT( KCaTypeApp, "application" );
    64 _LIT( KCaTypeApp, "application" );
    63 _LIT( KCaTypeWidget, "widget" );
    65 _LIT( KCaTypeWidget, "widget" );
    64 _LIT( KCaTypeUrl, "url" );
    66 _LIT( KCaTypeUrl, "url" );
       
    67 _LIT( KCaTypePackage, "package" );
    65 _LIT( KCaAttrView, "view" ); ///< View.
    68 _LIT( KCaAttrView, "view" ); ///< View.
    66 _LIT( KCaAttrUrl, "url" );
    69 _LIT( KCaAttrUrl, "url" );
    67 _LIT( KCaAttrWindowGroupId, "window_group_id" );
    70 _LIT( KCaAttrWindowGroupId, "window_group_id" );
    68 _LIT( KCaTypeCollectionDownload, "collection::downloaded" );
    71 _LIT( KCaTypeCollectionDownload, "collection::downloaded" );
    69 _LIT( KCaPackageUid,"packageuid");
    72 _LIT( KCaPackageUid,"packageuid");
    70 _LIT( KCaAttrInstallationTime, "installationTime");
    73 _LIT( KCaAttrInstallationTime, "installationTime");
    71 _LIT( KCaTypeTemplatedApp, "templatedApplication" );
    74 _LIT( KCaTypeTemplatedApp, "templatedApplication" );
       
    75 _LIT( KCaAttrAppType, "apptype");
       
    76 _LIT( KCaAttrAppTypeValueJava, "java");
       
    77 _LIT( KCaAttrAppTypeValueCWRT, "cwrt");
       
    78 _LIT( KCaAttrAppTypeValueNative, "native");
       
    79 _LIT( KCaAttrComponentId, "component_id" );
       
    80 _LIT( KCaAttrAppSettingsPlugin, "app_settings_plugin");
       
    81 // app settings plugin for java apps
       
    82 _LIT( KCaAttrJavaAppSettingsPluginValue,
       
    83         "/resource/qt/plugins/appsettings/javaapplicationsettingsview.qtplugin");
       
    84 _LIT( KCaAttrAppWidgetUri, "widget:uri");
       
    85 _LIT( KCaAttrAppWidgetUriCWRTValue, "wrtwidgetuiplugin");
       
    86 _LIT( KCaAttrAppWidgetParamWebAppId, "widgetparam:webAppId");
       
    87 
       
    88 _LIT( KCaAppGroupName, "appgroup_name" );
    72 
    89 
    73 const TInt KGranularityOne = 1;
    90 const TInt KGranularityOne = 1;
    74 const TInt KUidChars = 10;
    91 const TInt KUidChars = 10;
    75 const TInt KDefaultGranularity = 5;
    92 const TInt KDefaultGranularity = 5;
    76 const TInt KDefaultExpandSize = 512;
    93 const TInt KDefaultExpandSize = 512;
    93 
   110 
    94 const TUid KHsAppUid =
   111 const TUid KHsAppUid =
    95     {
   112     {
    96     0x20022F35
   113     0x20022F35
    97     };
   114     };
    98     
   115 
       
   116 const TUid KMidletApplicationTypeUid = 
       
   117     {
       
   118     0x10210E26        
       
   119     };
       
   120 
       
   121 const TUid KCWRTApplicationTypeUid = 
       
   122     {
       
   123     0x200267DC       
       
   124     };
       
   125 
    99 const TInt KCenRepBufferSize = 255;
   126 const TInt KCenRepBufferSize = 255;
   100 //
   127 //
   101 // Attributes commonly used for all items.
   128 // Attributes commonly used for all items.
   102 // These are the attributes that are normally used when displaying a menu of items
   129 // These are the attributes that are normally used when displaying a menu of items
   103 // in a menu UI. To get a consistent look of various items, it is recommended that
   130 // in a menu UI. To get a consistent look of various items, it is recommended that