speechsrv_plat/ui_voice_recognition_api/inc/secondarydisplay/vuisecondarydisplayapi.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef VUISECONDARYDISPLAYAPI_H
       
    20 #define VUISECONDARYDISPLAYAPI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 #include "vuivoicerecogdefs.h"
       
    26 
       
    27 /*
       
    28 * ==============================================================================
       
    29 * This file contains the following sections:
       
    30 *   - Dialog definitions
       
    31 *   - Command definitions
       
    32 *   - Event definitions
       
    33 *   - Parameter definitions
       
    34 * ==============================================================================
       
    35 */
       
    36 
       
    37 namespace SecondaryDisplay
       
    38 {
       
    39 	
       
    40 // The category UID for the messages in this header file.
       
    41 //
       
    42 const TUid KCatVoiceUi = {0x101F8543};
       
    43 
       
    44 /*
       
    45 * ==============================================================================
       
    46 * Dialogs shown by VoiceUi subsystem. These messages are handled using the
       
    47 * Secondary Display support in Avkon.
       
    48 * ==============================================================================
       
    49 */
       
    50 enum TVUISecondaryDisplayDialogs
       
    51     {
       
    52     /**
       
    53     * No note. Error condition if this comes to CoverUI
       
    54     */
       
    55     ECmdVoiceNoNote = 0,
       
    56     
       
    57     /**
       
    58     * A command for showing the "Speak now" note on secondary display.
       
    59     */
       
    60     ECmdShowVoiceSpeakNowNote,
       
    61     
       
    62     /**
       
    63     * A command for showing the "No match found" note on secondary display.
       
    64     */
       
    65     ECmdShowVoiceNoMatchesNote,
       
    66 
       
    67     /**
       
    68     * A command for showing the "Voice system error" note on secondary display.
       
    69     */
       
    70     ECmdShowVoiceSystemErrorNote,
       
    71 
       
    72     /**
       
    73     * A command for showing the "Call in progress" note on secondary display.
       
    74     */
       
    75     ECmdShowCallInProgressNote,
       
    76 
       
    77     /**
       
    78     * A command for showing the "Not recognized" note on secondary display.
       
    79     */
       
    80     ECmdShowVoiceNotRecognizedNote,
       
    81 
       
    82     /**
       
    83     * A command for showing the "No voice tags saved" note on secondary display.
       
    84     */
       
    85     ECmdShowVoiceNoTagNote,
       
    86 
       
    87     /**
       
    88     * A command for showing the matched item note on secondary display.
       
    89     */
       
    90     ECmdShowMatchedItemNote,
       
    91 
       
    92     /**
       
    93     * A command for showing the N-best list query on secondary display.
       
    94     */
       
    95     ECmdShowNBestListQuery,
       
    96 
       
    97     /**
       
    98     * A command for showing the voice verification query on secondary display.
       
    99     */
       
   100     ECmdShowVoiceVerificationQuery,
       
   101     
       
   102     /**
       
   103     * A command for showing the first time activation query on secondary display.
       
   104     */
       
   105     ECmdShowFirstTimeActivationQuery
       
   106     };
       
   107 
       
   108 /*
       
   109 * ==============================================================================
       
   110 * Parameter definitions for the messages in this file.
       
   111 * ==============================================================================
       
   112 */
       
   113 
       
   114 // Package definition for Matched Item
       
   115 struct TMatchData
       
   116     {
       
   117     TUid iType;
       
   118     TName iName;
       
   119     
       
   120     TBuf<KMaxPhoneNumberLength> iNumber;
       
   121     };    
       
   122 
       
   123 typedef TPckgBuf<TMatchData> TMatchDataPckg;
       
   124 
       
   125 // Package definition for Verification Item
       
   126 struct TVerificationData
       
   127     {
       
   128     TName iName;
       
   129     };    
       
   130 
       
   131 typedef TPckgBuf<TVerificationData> TVerificationDataPckg;
       
   132 
       
   133 } // namespace SecondaryDisplay
       
   134 
       
   135 #endif      // VUISECONDARYDISPLAYAPI_H
       
   136             
       
   137 // End of File