coreapplicationuis/SysAp/Src/PrivacyFramework/SysApLocationPrivacyIndicatorImpl.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:26:20 +0300
changeset 49 76883296a0d5
parent 0 2e3d3ce01487
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2003 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:  The implementation of MSysApLocationPrivacyIndicator.
*
*/


#ifndef SYSAPLOCATIONPRIVACYINDICATORIMPL_H
#define SYSAPLOCATIONPRIVACYINDICATORIMPL_H

// INCLUDES
#include <e32base.h>
#include "MSysApLocationPrivacyIndicator.h"
#include <EPos_TPosPrivacy.h>

// FORWARD DECLARATIONS

class CSysApAppUi;


// CLASS DECLARATION
/**
*  CSysApLocationPrivacyIndicator
*  
*  @lib   sysap
*  @since 2.X 
*/

class CSysApLocationPrivacyIndicator : public CBase, public MSysApLocationPrivacyIndicator
{
public:

    /**
    * Two-phased constructor.
    */         
    static CSysApLocationPrivacyIndicator* NewL( CSysApAppUi& aSysApAppUi );

    /**
    * Destructor.
    */
    ~CSysApLocationPrivacyIndicator();

private:

    /**
    * Constructor.
    */         
    CSysApLocationPrivacyIndicator( CSysApAppUi& aSysApAppUi );

    /**
    * Two-phased constructor.
    * @param None
    * @return void
    */
    void ConstructL();

protected: // From MSysApLocationPrivacyIndicator

    /**
    * Initializes Location Privacy indicator in startup.
    * @param None
    * @return TBool
    */
    void InitL();

private:

    CSysApAppUi&         iSysApAppUi;
    TPosPrivacy          iPrivacy;
    TBool                iEnabled;
};

#endif // SYSAPLOCATIONPRIVACYINDICATORIMPL_H

// End of File