Example Application Guide

 

geoprofileselector.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:  Geo Profile selector
00015 *
00016 */
00017 
00018 
00019 #ifndef C_GEOPROFILESELECTOR_H
00020 #define C_GEOPROFILESELECTOR_H
00021 
00022 // SYSTEM INCLUDES
00023 #include <e32base.h>
00024 
00025 // FORWARD DECLARATIONS
00026 
00027 /**
00028  * Geo Profile Selector
00029  */
00030 class CGeoProfileSelector : public CBase
00031     {     
00032 public:
00033     /**
00034      * Constructs a new instance of CGeoProfileSelector
00035      */
00036     static CGeoProfileSelector* NewLC();
00037     
00038     /**
00039      * C++ Destructor.
00040      * Frees all the resources
00041      */
00042     virtual ~CGeoProfileSelector();
00043     
00044     /**
00045      * Select Profile
00046      */    
00047     TInt SelectGeoProfileL( TInt&    aProfileId );
00048         
00049 private:
00050     /**
00051      * C++ Constructor
00052      */
00053     CGeoProfileSelector();
00054                       
00055     /**
00056      * Second phase of two phase construction
00057      */                      
00058     void ConstructL();        
00059                    
00060 private: // Member Variables     
00061     /**
00062      * Title text for pop-up dialog
00063      * Owns
00064      */                 
00065     HBufC*      iProfilePopupTitle;            
00066     }; 
00067 
00068 #endif // C_GEOPROFILESELECTOR_H

© Nokia 2009

Back to top