homescreensrv_plat/ai_plugin_information_api/inc/activeidle2internalpskeys.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Internal Publish & Subscribe keys for Active Idle 2
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __ACTIVEIDLE2INTERNALPSKEYS_H__
       
    20 #define __ACTIVEIDLE2INTERNALPSKEYS_H__
       
    21 
       
    22 /**
       
    23  * Gives possibility to execute shortcuts defined by localapp URL.
       
    24  * This UID is used as a key id under KUidSystemCategory.
       
    25  * Clients must supply string in localapp URL format defined by RFC 2396.
       
    26  *
       
    27  * @type RProperty::EText
       
    28  */
       
    29 const TUint32 KPSUidShortcutCmd = 0x102750FF;
       
    30 
       
    31 /**
       
    32  * Shortcut Plug-in command for enabling keylock.
       
    33  */
       
    34 _LIT( KAiPSEnableKeyLock, "localapp:keylock?on");
       
    35 
       
    36 /**
       
    37  * Shortcut Plug-in command for canceling keylock.
       
    38  */
       
    39 _LIT( KAiPSSkipKeyLock, "localapp:keylock?skip");
       
    40 
       
    41 /**
       
    42  * Shortcut Plug-in command for timeoutting keylock.
       
    43  */
       
    44 _LIT( KAiPSKeyLockTimeout, "localapp:keylock?timeout");
       
    45 
       
    46 /**
       
    47  * Shortcut Plug-in command for launching Logs to dialed calls view.
       
    48  */
       
    49 _LIT( KAiPSLaunchLogs, "localapp:logs?view=dialled");
       
    50 
       
    51 /**
       
    52  * Shortcut Plug-in command for launching Voice Dial UI.
       
    53  */
       
    54 _LIT( KAiPSLaunchNameDialer, "localapp:voicedial");
       
    55 
       
    56 /**
       
    57  * Shortcut Plug-in command for canceling voice dial ui.
       
    58  */
       
    59 _LIT( KAiPSSkipNameDialer, "localapp:voicedial?skip");
       
    60 
       
    61 
       
    62 // Restart code for category KPSUidAiInformation = 0x101FD657 key KActiveIdleRestartAI2 0xA
       
    63 const TInt KActiveIdleRestartCode = 0xFA93BAD2;
       
    64 
       
    65 
       
    66 
       
    67 /**
       
    68  * Publish and Subscribe key for data plugin states in KPSUidActiveIdle2 category (AI plug-in registry API)
       
    69  */
       
    70 const TUint KPSAiDataPluginState = 0x0000000F; //  Contains one value from following emuneration
       
    71 
       
    72 /**
       
    73  * States for the KPSAiDataPluginState key
       
    74  */
       
    75 enum EPSAiDataPluginState
       
    76 {    
       
    77     EPSAiDataPluginsNotLoaded,
       
    78     EPSAiDataPluginsLoaded
       
    79 };
       
    80 
       
    81 
       
    82 #endif // __ACTIVEIDLE2INTERNALPSKEYS_H__