srsf/vcommandmanager/src/vcmanagerappui.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 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:  AppUi class of VCommandManager
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef VCMANAGERAPPUI_H
       
    20 #define VCMANAGERAPPUI_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <aknappui.h>
       
    24 #include <nssvasmtagselecthandler.h>
       
    25 #include <nssvasmcontext.h>
       
    26 #include <nssvascselectnotificationbuilder.h>
       
    27 #include <nssvasmtagselectnotification.h>
       
    28 #include <nssvasmcontextmgr.h>
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CNssVoiceUIPluginHandler;
       
    32 class CVCRecognitionManager;
       
    33 class CNssContactHandler;
       
    34 class CVcManagerContactSelectHandler;
       
    35 class CNssVASDBMgr;
       
    36 class CVCommandManagerBackupObserver;
       
    37 class CVCommandManagerVoiceKeyLauncher;
       
    38 class CVCommandManagerVoiceHeadSetLauncher;
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 /**
       
    43 * This class is a part of the standard application framework.
       
    44 */
       
    45 class CVCommandManagerAppUi : public CAknAppUi 
       
    46     {
       
    47     public: // Constructors and destructor
       
    48             
       
    49         /**
       
    50         * 2nd phase constructor.
       
    51         */
       
    52         void ConstructL();
       
    53 	
       
    54         /**
       
    55         * Destructor.
       
    56         */
       
    57        virtual ~CVCommandManagerAppUi();   
       
    58 	    
       
    59     public: // New functions
       
    60     
       
    61         /**
       
    62         * Method to get the CEikonEnv pointer
       
    63         *
       
    64         * @return CEikonEnv
       
    65         */
       
    66         CEikonEnv* EikonEnv() const;
       
    67 	    
       
    68         /**
       
    69         * Updates status pane to the idle pane
       
    70         */
       
    71         void UpdateStatusPaneL();
       
    72 
       
    73     private: // From CEikAppUi
       
    74 
       
    75         /**
       
    76         * From CEikAppUi, takes care of command handling.
       
    77         * @param aCommand command to be handled
       
    78         */
       
    79         void HandleCommandL( TInt aCommand );
       
    80                 
       
    81         /**
       
    82         * From CEikAppUi, takes care of screen resolution change
       
    83         */
       
    84         void HandleScreenDeviceChangedL();
       
    85         
       
    86     private: // New functions
       
    87     
       
    88         /**
       
    89         * Creates SIND services
       
    90         */
       
    91         void StartServicesL();
       
    92         
       
    93     private:
       
    94     
       
    95         // Resource id of the current status pane
       
    96         TInt iInitialStatuspaneResourceId;
       
    97         
       
    98         // VUIPF plugin handler
       
    99         CNssVoiceUIPluginHandler* iPluginHandler;
       
   100         
       
   101         // Recognition result handler
       
   102         CVCRecognitionManager* iRecogManager;
       
   103         
       
   104         // VAS contact handler
       
   105         CNssContactHandler* iContactHandler;
       
   106         
       
   107         // Backup/restore observer
       
   108         CVCommandManagerBackupObserver* iBackupObserver;
       
   109         
       
   110         // Starting voice ui
       
   111         CVCommandManagerVoiceKeyLauncher* iVoiceKeyLauncher;
       
   112         CVCommandManagerVoiceHeadSetLauncher* iVoiceHeadSetLauncher;
       
   113         
       
   114         // For dialing
       
   115         MNssTagSelectNotification* iTagSelectNotification;
       
   116         CNssSelectNotificationBuilder* iSelectNotificationBuilder;
       
   117         CVcManagerContactSelectHandler* iContactSelectHandler;
       
   118         CNssVASDBMgr* iVasDbManager;
       
   119         MNssContextMgr* iContextManager;
       
   120     };
       
   121 
       
   122 #endif // VCMANAGERAPPUI_H 
       
   123             
       
   124 // End of File