contentstorage/inc/cadef.h
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
child 109 e0aa398e6810
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
    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: ou1s60ui#10.1.19 % << Don't touch! Updated by Synergy at check-out.
    15  *  Version     : %version: 10.1.25 % << 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
    47 
    47 
    48 //Entry flags
    48 //Entry flags
    49 enum TEntryFlag
    49 enum TEntryFlag
    50     {
    50     {
    51     EUsed = 1,
    51     EUsed = 1,
    52     ESystem = 2,
    52     EUninstall = 2,
    53     ERemovable = 4,
    53     ERemovable = 4,
    54     EVisible = 8,
    54     EVisible = 8,
    55     ERunning = 16,
    55     ERunning = 16,
    56     ENative = 32,
    56     ENative = 32,
    57     EMissing = 64
    57     EMissing = 64
    59 
    59 
    60 enum TItemAppearance
    60 enum TItemAppearance
    61     {
    61     {
    62     EItemAppearanceNotChanged,
    62     EItemAppearanceNotChanged,
    63     EItemDisappeared,
    63     EItemDisappeared,
    64     EItemAppeared
    64     EItemAppeared,
       
    65     EItemUninstallProgressChanged
    65     };
    66     };
    66 
    67 
    67 // Ca - Application
    68 // Ca - Application
    68 
    69 
    69 _LIT( KCaTypeMenuCollections, "menucollections" );
    70 _LIT( KCaTypeMenuCollections, "menucollections" );
    84 _LIT( KCaAttrAppTypeValueJava, "java");
    85 _LIT( KCaAttrAppTypeValueJava, "java");
    85 _LIT( KCaAttrAppTypeValueCWRT, "cwrt");
    86 _LIT( KCaAttrAppTypeValueCWRT, "cwrt");
    86 _LIT( KCaAttrAppTypeValueNative, "native");
    87 _LIT( KCaAttrAppTypeValueNative, "native");
    87 _LIT( KCaAttrComponentId, "component_id" );
    88 _LIT( KCaAttrComponentId, "component_id" );
    88 _LIT( KCaAttrAppSettingsPlugin, "app_settings_plugin");
    89 _LIT( KCaAttrAppSettingsPlugin, "app_settings_plugin");
    89 // app settings plugin for java apps
    90 _LIT( KCaScrPropertyAppSettings, "settingsName");
    90 _LIT( KCaAttrJavaAppSettingsPluginValue,
    91 _LIT( KPreviewImageAttrName, "preview_image_name" );
    91         "/resource/qt/plugins/appsettings/javaapplicationsettingsview.qtplugin");
       
    92 _LIT( KCaAttrAppWidgetUri, "widget:uri");
    92 _LIT( KCaAttrAppWidgetUri, "widget:uri");
    93 _LIT( KCaAttrAppWidgetServiceXml, "widget:servicexml");
    93 _LIT( KCaAttrAppWidgetServiceXml, "widget:servicexml");
    94 
    94 
    95 _LIT( KCaAttrAppWidgetUriCWRTValue, "wrtwidgetuiplugin");
    95 _LIT( KCaAttrAppWidgetUriCWRTValue, "wrtwidgetuiplugin");
    96 _LIT( KCaAttrAppWidgetParamWebAppId, "widgetparam:webAppId");
    96 _LIT( KCaAttrAppWidgetParamWebAppId, "widgetparam:webAppId");
    97 _LIT( KCaScrPropertyAppId, "AppID");
    97 _LIT( KCaScrPropertyAppId, "AppID");
    98 _LIT( KCaScrPropertyIsMiniviewSupported, "isMiniviewSupported");
    98 _LIT( KCaScrPropertyIsMiniviewSupported, "isMiniviewSupported");
    99 
    99 
   100 _LIT( KCaAppGroupName, "appgroup_name" );
   100 _LIT( KCaAppGroupName, "appgroup_name" );
       
   101 _LIT( KCaAppUninstallProgress, "uninstall_progress" );
   101 
   102 
   102 _LIT( KCollectionIconFileName, "qtg_large_applications_user");
   103 _LIT( KCollectionIconFileName, "qtg_large_applications_user");
       
   104 
   103 
   105 
   104 _LIT(KLocalizationFilepathZ, "z:/resource/qt/translations");
   106 _LIT(KLocalizationFilepathZ, "z:/resource/qt/translations");
   105 _LIT(KLocalizationFilepathC, "c:/resource/qt/translations");
   107 _LIT(KLocalizationFilepathC, "c:/resource/qt/translations");
   106 _LIT(KLocalizationFilepath, ":/resource/qt/translations");
   108 _LIT(KLocalizationFilepath, ":/resource/qt/translations");
       
   109 _LIT( KLocalizationCaEntry, "CA_ENTRY" );
       
   110 _LIT( KLocalizationEnText, "EN_TEXT" );
       
   111 _LIT( KLocalizationEnDescription, "EN_DESCRIPTION" );
       
   112 const TInt charsToFilename= 6;  // <loc://> loc://email/qtn_gmail_mail_account
       
   113 
   107 
   114 
   108 const TInt KGranularityOne = 1;
   115 const TInt KGranularityOne = 1;
   109 const TInt KUidChars = 10;
   116 const TInt KUidChars = 10;
   110 const TInt KDefaultGranularity = 5;
   117 const TInt KDefaultGranularity = 5;
   111 const TInt KDefaultExpandSize = 512;
   118 const TInt KDefaultExpandSize = 512;
   151 // some of these attributes are properly set (at least one of the xxx_name, and
   158 // some of these attributes are properly set (at least one of the xxx_name, and
   152 // some kind of icon information for non-applications).
   159 // some kind of icon information for non-applications).
   153 // Note, however, that none of these is guaranteed to be set, or be used by a menu UI.
   160 // Note, however, that none of these is guaranteed to be set, or be used by a menu UI.
   154 // Menu clients always need to check that the necessary attributes are present.
   161 // Menu clients always need to check that the necessary attributes are present.
   155 //
   162 //
   156 _LIT( KCaAttrLongName, "long_name" ); ///< Long name.
   163 _LIT( KCaAttrShortName, "short_name" ); ///< Short name.
   157 _LIT( KCaComponentId, "component_id" ); ///< Long name.
   164 _LIT( KCaComponentId, "component_id" ); ///< Component Id.
   158 
   165 
   159 // Built-in types and attributes.
   166 // Built-in types and attributes.
   160 //
   167 //
   161 //
   168 //
   162 // Command strings.
   169 // Command strings.