basiclocationinfodisplay/blid/ui/inc/CBlidSatelliteView.h
changeset 15 13ae750350c9
parent 0 522cd55cc3d7
child 17 0f22fb80ebba
equal deleted inserted replaced
0:522cd55cc3d7 15:13ae750350c9
     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:  Declares main satellite view for Blid application.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CBLIDSATELLITEVIEW_H
       
    19 #define CBLIDSATELLITEVIEW_H
       
    20 
       
    21 // INCLUDES
       
    22 #include "CBlidBaseView.h"
       
    23 #include "CBlidLocSettingLauncher.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CBlidSatelliteControl;
       
    27 class CAlfEnv;
       
    28 class CAlfControlGroup;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  CBlidSatelliteView view class.
       
    34 *
       
    35 */
       
    36 class CBlidSatelliteView : public CBlidBaseView
       
    37     {
       
    38     public: // Constructors and destructor
       
    39         /**
       
    40          * C++ default constructor.
       
    41          * @param aKeyProcessor 
       
    42          * @return Created CBlidSatelliteView object
       
    43          */
       
    44         static CBlidSatelliteView* NewLC( MKeyProcessor& aKeyProcessor,CAlfEnv& aEnv );
       
    45 
       
    46         /**
       
    47          * Destructor.
       
    48          */
       
    49         ~CBlidSatelliteView();
       
    50 
       
    51     private: // constructor
       
    52         /**
       
    53          * C++ constructor
       
    54          * @param aKeyProcessor
       
    55          */
       
    56         CBlidSatelliteView( MKeyProcessor& aKeyProcessor,CAlfEnv& aEnv );
       
    57 
       
    58         /**
       
    59          * By default Symbian 2nd phase constructor is private.
       
    60          */
       
    61         void ConstructL();
       
    62 
       
    63     public: // From MKeyProcessor
       
    64 		TBool ProcessKeyEventL( const TKeyEvent& aKeyEvent,
       
    65                                 TEventCode aType );
       
    66 
       
    67     public: // CAknView
       
    68         TUid Id() const;
       
    69         void HandleCommandL(TInt aCommand);
       
    70         void HandleResourceChangeL( TInt aType );
       
    71 
       
    72 		#ifdef RD_SCALABLE_UI_V2
       
    73 		void CBlidSatelliteView::HandleListBoxSelectionL();
       
    74 		#endif //RD_SCALABLE_UI_V2
       
    75 		
       
    76     public: //From MBlidEngObserver
       
    77         void NotifyL( const TBool aOnlineMode );
       
    78         void NotifyErrorL( TInt aErrorCode );
       
    79 		            
       
    80 
       
    81     private: //From CAknView
       
    82         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
       
    83             const TDesC8& aCustomMessage);
       
    84         void DoDeactivate();
       
    85     
       
    86     private: // Data
       
    87 		//own:navigationcontrol class
       
    88 		CBlidSatelliteControl*  iMainSatelliteCtrl;
       
    89 		
       
    90 		CAlfEnv& iEnv;
       
    91 
       
    92 		CAlfControlGroup* iMainSatelliteCtrlGroup;
       
    93     };
       
    94 
       
    95 #endif // CBLIDSATELLITEVIEW_H
       
    96 
       
    97 // End of File