homescreensrv_plat/ai_plugin_management_api/inc/aiscutdefs.h
branchRCL_3
changeset 9 d0529222e3f0
parent 4 1a2a00e78665
child 10 5ef93ea513cb
child 18 bd874ee5e5e2
equal deleted inserted replaced
4:1a2a00e78665 9:d0529222e3f0
     1 /*
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Shortcut plug-in definitions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef AISCUTDEFS_H
       
    20 #define AISCUTDEFS_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <platform/mw/aiscutuids.hrh>
       
    24 #include "aiscutappuids.hrh"
       
    25 
       
    26 // =============================================================================
       
    27 // =============== UIDs and view ids to external applications ==================
       
    28 // =============================================================================
       
    29 
       
    30 // Active Idle UID.
       
    31 const TUid KScutActiveIdleUid       = { 0x102750F0 };
       
    32 
       
    33 // Shortcut Settings DLL UID.
       
    34 const TUid KScutSettingsDllUid      = { AI_UID_ECOM_DLL_SETTINGS_SCUTPLUGIN };
       
    35 
       
    36 // Keypad lock UID
       
    37 const TUid KScutKeyLockUid          = { 0x10000000 };
       
    38 
       
    39 // Web Browser application UID.
       
    40 const TUid KScutBrowserUid          = { KScutBrowserUidValue };
       
    41 
       
    42 // General Settings application UID.
       
    43 const TUid KScutGeneralSettingsUid  = { KScutGeneralSettingsUidValue };
       
    44 
       
    45 // Message Centre application UID.
       
    46 const TUid KScutMessagingUid        = { KScutMessagingCenterUidValue };
       
    47 
       
    48 // Remote mailbox view id. Message list view id (0x2) defined in MceIds.hrh.
       
    49 const TUid KScutRemoteMailboxViewId = { KScutRemoteMailboxViewIdValue };
       
    50 
       
    51 // Personalisation application UID.
       
    52 const TUid KScutPersonalisationUid  = { KScutPersonalisationUidValue };
       
    53 
       
    54 // Change-Theme view id in the Personalisation application.
       
    55 const TUid KScutChangeThemeViewId   = { KScutChangeThemeViewIdValue };
       
    56 
       
    57 // Installation view id in the Control Panel.
       
    58 const TUid KScutInstallationViewId  = { KScutInstallationViewIdValue };
       
    59 
       
    60 // Connectivity view id in the Control Panel.
       
    61 const TUid KScutConnectivityViewId  = { KScutConnectivityStatusViewIdValue };
       
    62 // Voice dialer UID
       
    63 const TUid KScutVoiceDialUid        = { KScutVoiceDialUidValue };
       
    64 
       
    65 // Logs UID
       
    66 const TUid KScutLogsUid             = { KScutLogsUidValue };
       
    67 
       
    68 // AppShell UID
       
    69 const TUid KScutAppShellUid         = { KScutApplicationShellUidValue };
       
    70 
       
    71 // Telephony UID
       
    72 const TUid KScutDiallerUid          = { KScutDiallerUidValue };
       
    73 
       
    74 // Postcard editor UID
       
    75 const TUid KScutPostcardEditorUid   = { KScutPostcardEditorUidValue };
       
    76 
       
    77 // On-Screen Dialler view id in the Telephony application.
       
    78 const TUid KScutDiallerViewId       = { KScutDiallerViewIdValue };
       
    79 
       
    80 // On-Screen Dialler view command
       
    81 const TUid KScutDiallerViewCommand  = { 0x1 };
       
    82 // AppMngr
       
    83 const TUid KScutAppMngrUid			= { 0x101F8512 };
       
    84 
       
    85 // EasyVoip Application UID
       
    86 const TUid KScutEasyVoIPApplicationUid = { 0x1020E566 };
       
    87 
       
    88 // VoIP launcher UID
       
    89 const TUid KScutVoIPLauncherUid        = { 0x10275424 };
       
    90 
       
    91 // EasyVoip Central Repository UID
       
    92 const TUid KUidEasyVoIPRepository      = { 0x1020E593 };
       
    93 
       
    94 // EasyVoIP shortcut startup flag
       
    95 const TUint32 KEasyVoIPShortcutStartup = 0x00000004;
       
    96 
       
    97 // Logs views
       
    98 _LIT8( KLogsMissedCallsView         ,  "missed"   );
       
    99 _LIT8( KLogsDialledCallsView        ,  "dialled"  );
       
   100 _LIT8( KLogsReceivedCallsView       ,  "received" );
       
   101 _LIT8( KLogsMainView                ,  "counters" );
       
   102 
       
   103 // Softkeys
       
   104 _LIT( KLeftSoftkey                  ,  "0x01000100" );
       
   105 _LIT( KRightSoftkey                 ,  "0x01000101" );
       
   106 
       
   107 const TUint32 KLeftSoftkeyId        = { 0x01000100 };
       
   108 const TUint32 KRightSoftkeyId       = { 0x01000101 };
       
   109 
       
   110 /**
       
   111  * Bit fields for content items that the observers support.
       
   112  */
       
   113 enum TSupportedContentItems
       
   114 {
       
   115     ESupportIcon         = 0x1,
       
   116     ESupportCaption      = 0x2,
       
   117     ESupportShortCaption = 0x4
       
   118 };
       
   119 
       
   120 class CAiScutShortcut;
       
   121 class CAiScutShortcutInfo;
       
   122 typedef RPointerArray<CAiScutShortcut> RAiShortcutArray;
       
   123 typedef RPointerArray<CAiScutShortcutInfo> RAiShortcutInfoArray;
       
   124 
       
   125 /**
       
   126  * Definitions for application titles.
       
   127  */
       
   128 enum TAiScutAppTitleType
       
   129 {
       
   130     EAiScutLongTitle,
       
   131     EAiScutShortTitle,
       
   132     EAiScutSkeyTitle,
       
   133     EAiScutMskTitle
       
   134 };
       
   135 
       
   136 class TAiScutAppTitleEntry
       
   137 {
       
   138 public:
       
   139     TUid    iAppUid;
       
   140     TUid    iViewId;
       
   141     HBufC*  iLongTitle;
       
   142     HBufC*  iShortTitle;
       
   143     HBufC*  iSkeyTitle;
       
   144     HBufC*  iMskTitle;
       
   145 };
       
   146 
       
   147 /**
       
   148  * Localized send ui resource for error note.
       
   149  */
       
   150 _LIT( KSendNormResource, "sendnorm.rsc" );
       
   151 
       
   152 /**
       
   153  * Shortcut menu strings
       
   154  */
       
   155 _LIT( KSettings, "widgetsettings" );
       
   156 #endif // AISCUTDEFS_H
       
   157 
       
   158 // End of File.