wlansecuritysettings/wlaneapsettingsui/pap/configui/inc/papuisettingarray.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:00:28 +0300
changeset 18 7aac0b9e8906
parent 2 1c7bc153c08e
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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: Header file of PAP UI settings array
*
*/

/*
* %version: 6 %
*/

#ifndef _PAPUISETTINGARRAY_H_
#define _PAPUISETTINGARRAY_H_

// INCLUDES
#include <aknsettingitemlist.h>
#include "papui.hrh"


// CLASS DECLARATION

/**
*/
class CPapSettingItemArray : public CBase
    {
    public:
        static CPapSettingItemArray* NewL();
        virtual ~CPapSettingItemArray();
        CAknSettingItem* Item( TPapSettingItemId aItem );
        CAknSettingItemArray* Array();
        void StoreSettingsL();
        void AddTextItemL( TDes& aBuffer, 
                           TInt aId, 
                           TInt aTitleResource, 
                           TInt aSettingPageResource, 
                           TInt aAssociatedResource, 
                           TInt aOrdinal );
        void AddBinarySettingItemL( TInt aSettingPageResourceId,
                                    TInt aTitleResourceId,
                                    TInt aAssociatedResourceId,
                                    TInt aOrdinal,
                                    TBool& aModifiedValue );
        void AddPasswordItemL( TDes& aPassword, 
                               TInt aId, 
                               TInt aTitleResource, 
                               TInt aSettingPageResource, 
                               TInt aAssociatedResource, 
                               TInt aOrdinal );
        void PwItemCancelled( TBool aIsCancelled );                       
        TBool IsPwItemCancelled();
                                    

    protected:
        CPapSettingItemArray();
        void ConstructL();
 

    private:
        CEikonEnv* iEnv;
        CAknSettingItemArray* iArray;
        TBool iPwItemCancelled;
    };

#endif  // _PAPUISETTINGARRAY_H_

//  End of File