Example Application Guide

 

geoprofilesappui.h

00001 /*
00002 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
00003 * All rights reserved.
00004 * This component and the accompanying materials are made available
00005 * under the terms of the License "Eclipse Public License v1.0"
00006 * which accompanies this distribution, and is available
00007 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 *
00009 * Initial Contributors:
00010 * Nokia Corporation - initial contribution.
00011 *
00012 * Contributors:
00013 *
00014 * Description:  Application class for Geo Profiles Application UI.
00015 *
00016 */
00017 
00018 
00019 #ifndef C_GEOPROFILESAPPUI_H
00020 #define C_GEOPROFILESAPPUI_H
00021 
00022 // SYSTEM INCLUDES
00023 #include <eikapp.h>
00024 #include <eikdoc.h>
00025 #include <e32std.h>
00026 #include <coeccntx.h>
00027 #include <aknviewappui.h>
00028 
00029 // FORWARD DECLARATIONS
00030 class CGeoProfilesView;
00031 
00032 /**
00033  *  GeoProfiles Application's App UI class. This class extents the CAknAppUi
00034  *  class for GeoProfiles.
00035  */
00036 class CGeoProfilesAppUi : public CAknViewAppUi
00037     {
00038 public:   
00039         /**
00040          * Second phase of the two phase constructor
00041          *
00042          * Called by the Application framework
00043          */ 
00044     void ConstructL();
00045   
00046         /**
00047          * Virtual destructor
00048          */
00049     virtual ~CGeoProfilesAppUi();   
00050   
00051 public: // Inherited from Base classes
00052         /**
00053          * Inherited from CAknViewAppUi
00054          */
00055     void HandleCommandL(TInt aCommand);
00056                        
00057 private: // Inherited from Base classes
00058 
00059         /**
00060          * Inherited from CAknViewAppUi
00061          */
00062     virtual TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent,
00063                                                 TEventCode aType );
00064                            
00065 private:
00066         /**
00067          * GeoProfiles Application's view class
00068          */       
00069     CGeoProfilesView*                   iGeoProfilesView;
00070     };
00071 
00072 #endif  // C_GEOPROFILESAPPUI_H
00073 
00074 // End of File

© Nokia 2009

Back to top