customization/UISettingsSrv/server/Inc/UISettingsSrvUi.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     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:  
       
    15 *        class definition for CUISettingsSrvUi
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __UISettingsSrvUi_H__
       
    21 #define __UISettingsSrvUi_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknViewAppUi.h>
       
    25 #include <aknsettingpage.h>
       
    26 #include <AknTabObserver.h>
       
    27 //#include <scshortcut.hrh>
       
    28 //#include <scuiobserver.h>
       
    29 #include <ecom/ecom.h>
       
    30 #include <MMGFetchVerifier.h>
       
    31 
       
    32 
       
    33 // CLASS DECLARATION
       
    34 class CAknWaitDialog;
       
    35 class CAknNavigationControlContainer;
       
    36 class CAknTabGroup;
       
    37 class CAknNavigationDecorator;
       
    38 class CAknQueryDialog;
       
    39 //
       
    40 class CScShortcutUi;
       
    41 
       
    42 class CUISettingsSrvAppView;
       
    43 
       
    44 //sf-
       
    45 /*sf--
       
    46 //For embedding CC in CS
       
    47 class TAppInfo
       
    48 	{
       
    49 public:
       
    50 	TAppInfo(TUid aUid, const TDesC& aFile)
       
    51 		: iUid(aUid), iFile(aFile)
       
    52 		{}
       
    53 	TUid iUid;
       
    54 	TFileName iFile;
       
    55 	};
       
    56 --fs*/
       
    57 
       
    58 /**
       
    59 *  'AppUi' class.
       
    60 *  UI class for UISettingsSrv application
       
    61 */
       
    62 class CUISettingsSrvUi : public CAknAppUi //sf-CAknViewAppUi
       
    63 //sf-, public MAknSettingPageObserver,
       
    64 //sf-              public MAknTabObserver, public MMGFetchVerifier,
       
    65 //sf-              public MScUiObserver, public MGSViewOwner
       
    66     {
       
    67     public: // Constructors and destructor
       
    68     
       
    69         /**
       
    70         * C++ default constructor
       
    71         */
       
    72         CUISettingsSrvUi();
       
    73 
       
    74         /**
       
    75         * Symbian OS default constructor.
       
    76         * 
       
    77         */      
       
    78         void ConstructL();
       
    79 
       
    80         /**
       
    81         * Destructor.
       
    82         */      
       
    83         ~CUISettingsSrvUi();
       
    84 
       
    85     public: // from CEikAppUi
       
    86         /**
       
    87         * Takes care of command handling.
       
    88         * @param aCommand command to be handled
       
    89         * 
       
    90         */
       
    91         void HandleCommandL(TInt aCommand);
       
    92 
       
    93     public: // new
       
    94 
       
    95     private:
       
    96         // From MEikMenuObserver
       
    97         void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
       
    98 
       
    99     private: // from CEikAppUi
       
   100         /**
       
   101         * handles key events
       
   102         * @param aKeyEvent 
       
   103         * @param aType type of the key event 
       
   104         * @return TKeyResponse
       
   105         */
       
   106         virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,
       
   107                                              TEventCode aType);
       
   108 
       
   109 
       
   110     private: // new
       
   111     	CUISettingsSrvAppView* iAppView;
       
   112 
       
   113     protected: // data
       
   114 
       
   115     public:
       
   116         CAknTabGroup* iTabGroup;   //tab group handle
       
   117 
       
   118     protected:
       
   119 
       
   120     protected:
       
   121         CApaDocument* iEmbedded;
       
   122 
       
   123     private: // For AI Settings View integration
       
   124 //sf-        CGSAIMyTodaySettingsViewInterface* iAISettingsViewInterface;
       
   125     };
       
   126 
       
   127 #endif // __UISettingsSrvUi_H__