locationsystemui/locationsysui/locsysuiview/inc/locpossettings.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:14:27 +0200
branchRCL_3
changeset 4 42de37ce7ce4
parent 0 667063e416a2
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Positioning Settings implementation of Location UIs. 
*
*/


#ifndef C_LOCPOSSETTINGS_H_
#define C_LOCPOSSETTINGS_H_

// System Include
#include <e32base.h>

// User Includes
#include "locationui.h"

// Forward Declarations
class CLocSysUiView;
 
// Class Definition
/**
 * Positioning Settings implementation of Location UIs. This class extends the 
 * Location UI interface for Positioning Settings UI.
 *
 * @lib locsysuiview.lib
 * @since S60 v3.2
 */
class CLocPosSettings : public CBase,
                        public MLocationUI
	{
	public:	
        /**
         * Two Phase Constructor.
         *
         * @return	CLocPosSettings*	Pointer to the created object.
         */
        EXPORT_C static CLocPosSettings* NewL();
       
        /**
         * Two Phase Constructor. The funcion leaves the CLocationSettings object
         * on the CleanupStack
         *
         * @return	CLocPosSettings*	Pointer to the created object.
         */         
        EXPORT_C static CLocPosSettings* NewLC();
        
        /**
         * C++ Destructor
         */
        virtual ~CLocPosSettings();
       
    public:
    
        /**
         * Inherited from MLocationUI
         *
         */
        void LaunchLocationUIL( TInt		            aUiInputParams,
                                MLocationUIObserver*    aObserver );
    
        /**
         * Inherited from MLocationUI
         *
         */
        void LaunchLocationUIL( const TDesC&                    aUiInputParams,
                                MLocationUIObserver*    aObserver );

        /**
         * Inherited from MLocationUI
         *
         */
        void Close();
            
    private:
        /**
         * Overloaded constructor
         */         
        CLocPosSettings();
        
        /**
         * Second phase of two phase construction
         */
        void ConstructL();        
                
    private:	
	    /**
	     * Postioning Settings View. The ownership lies with the App UI
	     */
	    CLocSysUiView*          iView;
	};

#endif // C_LOCPOSSETTINGS_H_