srsf/speechsynthesis/tsrc/texttospeech/inc/texttospeechappui.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 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 TEXTTOSPEECHAPPUI_H
       
    20 #define TEXTTOSPEECHAPPUI_H
       
    21 
       
    22 #include <aknviewappui.h>
       
    23 
       
    24 class CTextToSpeechSettingItemListView;
       
    25 class CTextToSpeechEngine;
       
    26 
       
    27 /**
       
    28  * The AppUi class handles application-wide aspects of the user interface, including
       
    29  * view management and the default menu, control pane, and status pane.
       
    30  */
       
    31 class CTextToSpeechAppUi : public CAknViewAppUi
       
    32     {
       
    33 
       
    34     public: 
       
    35         
       
    36         // constructor and destructor
       
    37         CTextToSpeechAppUi();
       
    38         virtual ~CTextToSpeechAppUi();
       
    39         
       
    40         // from CCoeAppUi
       
    41         virtual TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent, 
       
    42                                               TEventCode aType );
       
    43 
       
    44         // from CEikAppUi
       
    45         void HandleCommandL( TInt aCommand );
       
    46         void HandleResourceChangeL( TInt aType );
       
    47 
       
    48         // from CAknAppUi
       
    49         void HandleViewDeactivation( const TVwsViewId& aViewIdToBeDeactivated, 
       
    50                                      const TVwsViewId &aNewlyActivatedViewId );
       
    51         
       
    52         // Return pointer to application engine
       
    53         CTextToSpeechEngine* AppEngine();
       
    54 
       
    55     private:
       
    56         
       
    57         void ConstructL();
       
    58         
       
    59         void InitializeContainersL();
       
    60     
       
    61     private: 
       
    62     
       
    63         CTextToSpeechSettingItemListView*   iTextToSpeechSettingItemListView;
       
    64         
       
    65         CTextToSpeechEngine*                iTextToSpeechEngine; 
       
    66     
       
    67     };
       
    68 
       
    69 #endif // TEXTTOSPEECHAPPUI_H