srsf/speechsynthesis/tsrc/texttospeech/inc/texttospeechsettingitemlistview.h
changeset 13 57b735022c18
parent 1 b13cd05eeb2f
equal deleted inserted replaced
1:b13cd05eeb2f 13:57b735022c18
     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 TEXTTOSPEECHSETTINGITEMLISTVIEW_H
       
    20 #define TEXTTOSPEECHSETTINGITEMLISTVIEW_H
       
    21 
       
    22 #include <aknview.h>
       
    23 #include <aknnavidecoratorobserver.h> 
       
    24 
       
    25 class CAknNavigationDecorator;
       
    26 class CTextToSpeechSettingItemList;
       
    27 class CTextToSpeechEngine;
       
    28 class CTextToSpeechSettingItemListSettings;
       
    29 
       
    30 /**
       
    31  * Avkon view class for TextToSpeechSettingItemListView. It is register with the view server
       
    32  * by the AppUi. It owns the container control.
       
    33  */
       
    34 class CTextToSpeechSettingItemListView : public CAknView,
       
    35                                          public MAknNaviDecoratorObserver
       
    36     {
       
    37 
       
    38     public:
       
    39     
       
    40         // constructors and destructor
       
    41         CTextToSpeechSettingItemListView();
       
    42         static CTextToSpeechSettingItemListView* NewL();
       
    43         static CTextToSpeechSettingItemListView* NewLC();        
       
    44         void ConstructL();
       
    45         virtual ~CTextToSpeechSettingItemListView();
       
    46 
       
    47         // from base class CAknView
       
    48         TUid Id() const;
       
    49         void HandleCommandL( TInt aCommand );
       
    50         
       
    51         // from base class MAknNaviDecoratorObserver
       
    52         void HandleNaviDecoratorEventL( TInt aEventID );
       
    53         
       
    54     protected:
       
    55     
       
    56         // from base class CAknView
       
    57         void DoActivateL( const TVwsViewId& aPrevViewId,
       
    58                           TUid aCustomMessageId,
       
    59                           const TDesC8& aCustomMessage);
       
    60         void DoDeactivate();
       
    61         void HandleStatusPaneSizeChange();
       
    62 
       
    63     private:
       
    64     
       
    65         void SetupStatusPaneL();
       
    66         void CleanupStatusPane();
       
    67     
       
    68     
       
    69     private: 
       
    70     
       
    71         CTextToSpeechSettingItemList*           iTextToSpeechSettingItemList;
       
    72         CTextToSpeechEngine*                    iEngine;
       
    73         CTextToSpeechSettingItemListSettings*   iSettings;
       
    74         
       
    75         CAknNavigationDecorator*                iVolumeControl;
       
    76         
       
    77     };
       
    78 
       
    79 #endif // TEXTTOSPEECHSETTINGITEMLISTVIEW_H