wlansecuritysettings/wlaneapsettingsui/pap/configui/inc/papuisettingarray.h
branchRCL_3
changeset 18 bad0cc58d154
parent 17 30e048a7b597
child 19 c74b3d9f6b9e
equal deleted inserted replaced
17:30e048a7b597 18:bad0cc58d154
     1 /*
       
     2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Header file of PAP UI settings array
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 6 %
       
    20 */
       
    21 
       
    22 #ifndef _PAPUISETTINGARRAY_H_
       
    23 #define _PAPUISETTINGARRAY_H_
       
    24 
       
    25 // INCLUDES
       
    26 #include <aknsettingitemlist.h>
       
    27 #include "papui.hrh"
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 */
       
    34 class CPapSettingItemArray : public CBase
       
    35     {
       
    36     public:
       
    37         static CPapSettingItemArray* NewL();
       
    38         virtual ~CPapSettingItemArray();
       
    39         CAknSettingItem* Item( TPapSettingItemId aItem );
       
    40         CAknSettingItemArray* Array();
       
    41         void StoreSettingsL();
       
    42         void AddTextItemL( TDes& aBuffer, 
       
    43                            TInt aId, 
       
    44                            TInt aTitleResource, 
       
    45                            TInt aSettingPageResource, 
       
    46                            TInt aAssociatedResource, 
       
    47                            TInt aOrdinal );
       
    48         void AddBinarySettingItemL( TInt aSettingPageResourceId,
       
    49                                     TInt aTitleResourceId,
       
    50                                     TInt aAssociatedResourceId,
       
    51                                     TInt aOrdinal,
       
    52                                     TBool& aModifiedValue );
       
    53         void AddPasswordItemL( TDes& aPassword, 
       
    54                                TInt aId, 
       
    55                                TInt aTitleResource, 
       
    56                                TInt aSettingPageResource, 
       
    57                                TInt aAssociatedResource, 
       
    58                                TInt aOrdinal );
       
    59         void PwItemCancelled( TBool aIsCancelled );                       
       
    60         TBool IsPwItemCancelled();
       
    61                                     
       
    62 
       
    63     protected:
       
    64         CPapSettingItemArray();
       
    65         void ConstructL();
       
    66  
       
    67 
       
    68     private:
       
    69         CEikonEnv* iEnv;
       
    70         CAknSettingItemArray* iArray;
       
    71         TBool iPwItemCancelled;
       
    72     };
       
    73 
       
    74 #endif  // _PAPUISETTINGARRAY_H_
       
    75 
       
    76 //  End of File