locationsystemui/locationsysui/locsuplsettingsui/inc/locsuplsettingsuiengine.h
author hgs
Wed, 03 Nov 2010 23:28:39 +0530
changeset 56 4e949f03ecc5
permissions -rw-r--r--
201044
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  SUPL Settings UI Engine. The engine is resposible for handling
hgs
parents:
diff changeset
    15
*                all the UI components required for SUPL Settings UI. In addition
hgs
parents:
diff changeset
    16
*                to this it also is responsible for interacting with the SUPL
hgs
parents:
diff changeset
    17
*                Settings API
hgs
parents:
diff changeset
    18
*
hgs
parents:
diff changeset
    19
*/
hgs
parents:
diff changeset
    20
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
#ifndef C_LOCSUPLSETTINGSUIENGINE_H_
hgs
parents:
diff changeset
    23
#define C_LOCSUPLSETTINGSUIENGINE_H_
hgs
parents:
diff changeset
    24
hgs
parents:
diff changeset
    25
// System Includes
hgs
parents:
diff changeset
    26
#include <e32base.h>
hgs
parents:
diff changeset
    27
#include <agentdialog.h>    // for RGenConAgentDialogServer
hgs
parents:
diff changeset
    28
hgs
parents:
diff changeset
    29
// User Includes
hgs
parents:
diff changeset
    30
#include "locsuplsettingsadapterobserver.h"
hgs
parents:
diff changeset
    31
hgs
parents:
diff changeset
    32
// Forward Declaration
hgs
parents:
diff changeset
    33
class CLocSUPLSettingsAdapter;
hgs
parents:
diff changeset
    34
class MLocSUPLSettingsUiEngObserver;
hgs
parents:
diff changeset
    35
class CTextResolver;
hgs
parents:
diff changeset
    36
class CAknGlobalConfirmationQuery;
hgs
parents:
diff changeset
    37
class CServerParams;
hgs
parents:
diff changeset
    38
class CTriggerParams;
hgs
parents:
diff changeset
    39
class CLocSUPLServerEditor;
hgs
parents:
diff changeset
    40
class MSuplServerEditorObserver;
hgs
parents:
diff changeset
    41
class MLocSUPLSettingsSessionObserver;
hgs
parents:
diff changeset
    42
hgs
parents:
diff changeset
    43
// Class Declaration
hgs
parents:
diff changeset
    44
/**
hgs
parents:
diff changeset
    45
 * Engine for SUPL Settings UI
hgs
parents:
diff changeset
    46
 *
hgs
parents:
diff changeset
    47
 * Engine class for SUPL Settings UI. It is responsible for interacting with the 
hgs
parents:
diff changeset
    48
 * SUPL Settings API. Further, it handles all commands for SUPL settings UI. The
hgs
parents:
diff changeset
    49
 * Engine launches all the dialogs associated with configuring the SUPL Settings.
hgs
parents:
diff changeset
    50
 * It further observers the SUPL Settings UI for any changes to the Settings
hgs
parents:
diff changeset
    51
 * values.
hgs
parents:
diff changeset
    52
 */
hgs
parents:
diff changeset
    53
class CLocSUPLSettingsUiEngine : public CBase, public MLocSUPLSettingsAdapterObserver
hgs
parents:
diff changeset
    54
    {
hgs
parents:
diff changeset
    55
    public:
hgs
parents:
diff changeset
    56
        /**
hgs
parents:
diff changeset
    57
         * Two-phased constructor
hgs
parents:
diff changeset
    58
         *
hgs
parents:
diff changeset
    59
         * @param  aObserver                 Referenece to the Engine observer
hgs
parents:
diff changeset
    60
         * @return CLocSUPLSettingsUiEngine* Reference to the object created
hgs
parents:
diff changeset
    61
         */
hgs
parents:
diff changeset
    62
        static CLocSUPLSettingsUiEngine* NewL( 
hgs
parents:
diff changeset
    63
                            MLocSUPLSettingsUiEngObserver&      aObserver );
hgs
parents:
diff changeset
    64
                            
hgs
parents:
diff changeset
    65
        /**
hgs
parents:
diff changeset
    66
         * Two-phased constructor. Leaves the object on the Cleanup stack
hgs
parents:
diff changeset
    67
         *
hgs
parents:
diff changeset
    68
         * @param  aObserver                 Reference to the Engine observer
hgs
parents:
diff changeset
    69
         * @return CLocSUPLSettingsUiEngine* Reference to the object created
hgs
parents:
diff changeset
    70
         */
hgs
parents:
diff changeset
    71
        static CLocSUPLSettingsUiEngine* NewLC( 
hgs
parents:
diff changeset
    72
                            MLocSUPLSettingsUiEngObserver&      aObserver );
hgs
parents:
diff changeset
    73
         
hgs
parents:
diff changeset
    74
        /**
hgs
parents:
diff changeset
    75
         * Initializes the Settings Engine. This is an asynchronous call the 
hgs
parents:
diff changeset
    76
         * completion of which is communicated through the observer
hgs
parents:
diff changeset
    77
         * 
hgs
parents:
diff changeset
    78
         */
hgs
parents:
diff changeset
    79
        void Initalize();
hgs
parents:
diff changeset
    80
                         
hgs
parents:
diff changeset
    81
        /**
hgs
parents:
diff changeset
    82
         * Destructor.
hgs
parents:
diff changeset
    83
         */
hgs
parents:
diff changeset
    84
        virtual ~CLocSUPLSettingsUiEngine();
hgs
parents:
diff changeset
    85
       
hgs
parents:
diff changeset
    86
        
hgs
parents:
diff changeset
    87
		
hgs
parents:
diff changeset
    88
        /** 
hgs
parents:
diff changeset
    89
         * Opens the exisitng server with its attributes
hgs
parents:
diff changeset
    90
		 *
hgs
parents:
diff changeset
    91
		 */
hgs
parents:
diff changeset
    92
		void EditServerL( TBool iIsEditable, TInt64 aSlpId );
hgs
parents:
diff changeset
    93
hgs
parents:
diff changeset
    94
        /** 
hgs
parents:
diff changeset
    95
         * returns exisitng server entries count
hgs
parents:
diff changeset
    96
		 *
hgs
parents:
diff changeset
    97
		 */
hgs
parents:
diff changeset
    98
		TInt SlpCount();
hgs
parents:
diff changeset
    99
hgs
parents:
diff changeset
   100
		
hgs
parents:
diff changeset
   101
        /**
hgs
parents:
diff changeset
   102
		 * Closes the running Settings UI prematurely.
hgs
parents:
diff changeset
   103
		 */
hgs
parents:
diff changeset
   104
		void Close();
hgs
parents:
diff changeset
   105
		
hgs
parents:
diff changeset
   106
		 
hgs
parents:
diff changeset
   107
        /**
hgs
parents:
diff changeset
   108
		 * Creates a new server entry in Supl Settings.
hgs
parents:
diff changeset
   109
		 */
hgs
parents:
diff changeset
   110
		void AddNewServerL( 
hgs
parents:
diff changeset
   111
		        const TDesC& aServerAddress,
hgs
parents:
diff changeset
   112
		        const TDesC& aIapName,
hgs
parents:
diff changeset
   113
		        const TBool aUsageInHomeNw
hgs
parents:
diff changeset
   114
		);
hgs
parents:
diff changeset
   115
hgs
parents:
diff changeset
   116
	    /**
hgs
parents:
diff changeset
   117
	     * Deletes server entry from SUPL settings storage.  
hgs
parents:
diff changeset
   118
	     */
hgs
parents:
diff changeset
   119
	    void RemoveServerL(
hgs
parents:
diff changeset
   120
	    		const TInt64 aSlpId
hgs
parents:
diff changeset
   121
	    );
hgs
parents:
diff changeset
   122
hgs
parents:
diff changeset
   123
	    /**
hgs
parents:
diff changeset
   124
	     * Sets the priority of the server to the specified priority.  
hgs
parents:
diff changeset
   125
	     */
hgs
parents:
diff changeset
   126
		void ChangePriorityL(
hgs
parents:
diff changeset
   127
		        TInt64 aSlpId, 
hgs
parents:
diff changeset
   128
		        TInt aPriority,
hgs
parents:
diff changeset
   129
		        TBool aDirection
hgs
parents:
diff changeset
   130
		);
hgs
parents:
diff changeset
   131
hgs
parents:
diff changeset
   132
	    /**
hgs
parents:
diff changeset
   133
	     * Gets properties of all servers from SUPL settings storage.  
hgs
parents:
diff changeset
   134
	     * This method retrieves all properties for each server.
hgs
parents:
diff changeset
   135
	     */
hgs
parents:
diff changeset
   136
		void GetAllSlpL(
hgs
parents:
diff changeset
   137
		        RPointerArray<CServerParams>& aParamValues
hgs
parents:
diff changeset
   138
		) const;
hgs
parents:
diff changeset
   139
	
hgs
parents:
diff changeset
   140
	    /**
hgs
parents:
diff changeset
   141
	     * Gets all properties of server from SUPL settings storage
hgs
parents:
diff changeset
   142
	     * based on SLP identification.  
hgs
parents:
diff changeset
   143
	     */
hgs
parents:
diff changeset
   144
		void GetSlpInfoFromIdL(
hgs
parents:
diff changeset
   145
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   146
	            CServerParams *aParamValues
hgs
parents:
diff changeset
   147
		) const;
hgs
parents:
diff changeset
   148
hgs
parents:
diff changeset
   149
	    /**
hgs
parents:
diff changeset
   150
	     * Sets the server address parameter in server settings 
hgs
parents:
diff changeset
   151
	     */
hgs
parents:
diff changeset
   152
	    void SetServerAddressL( 
hgs
parents:
diff changeset
   153
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   154
	            const TDesC& aServerAddress
hgs
parents:
diff changeset
   155
	    );
hgs
parents:
diff changeset
   156
	    
hgs
parents:
diff changeset
   157
	    /**
hgs
parents:
diff changeset
   158
	     * Obtains the server address parameter from server settings.  Client
hgs
parents:
diff changeset
   159
	     * has to allocate memory for server address parameter.
hgs
parents:
diff changeset
   160
	     */
hgs
parents:
diff changeset
   161
	    void GetServerAddressL( 
hgs
parents:
diff changeset
   162
	            TInt64 aSlpId, 
hgs
parents:
diff changeset
   163
	            TDes& aServerAddress
hgs
parents:
diff changeset
   164
	    ) const;
hgs
parents:
diff changeset
   165
hgs
parents:
diff changeset
   166
	    /**
hgs
parents:
diff changeset
   167
	     * Sets the IAP Name in server parameters. IAP name refers to 
hgs
parents:
diff changeset
   168
	     * the access point which is used to access the HSLP over the internet. 
hgs
parents:
diff changeset
   169
	     */
hgs
parents:
diff changeset
   170
	    void SetIapNameL( 
hgs
parents:
diff changeset
   171
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   172
	            const TDesC& aIapName
hgs
parents:
diff changeset
   173
	    );
hgs
parents:
diff changeset
   174
hgs
parents:
diff changeset
   175
	    /**
hgs
parents:
diff changeset
   176
	     * Sets the parameter which indicates whether server
hgs
parents:
diff changeset
   177
	     * can be used for SUPL session or not. 
hgs
parents:
diff changeset
   178
	     */
hgs
parents:
diff changeset
   179
	    void SetServerEnabledFlagL(
hgs
parents:
diff changeset
   180
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   181
	            const TBool aEnable 
hgs
parents:
diff changeset
   182
	    ) const;
hgs
parents:
diff changeset
   183
hgs
parents:
diff changeset
   184
	    /**
hgs
parents:
diff changeset
   185
	     * Obtains the parameter which indicates whether server
hgs
parents:
diff changeset
   186
	     * can be used for SUPL session or not. 
hgs
parents:
diff changeset
   187
	     */
hgs
parents:
diff changeset
   188
	    void GetServerEnabledFlagL(
hgs
parents:
diff changeset
   189
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   190
	            TBool& aEnable 
hgs
parents:
diff changeset
   191
	    ) const;
hgs
parents:
diff changeset
   192
hgs
parents:
diff changeset
   193
	    /**
hgs
parents:
diff changeset
   194
	     * Sets the parameter which indicates whether server
hgs
parents:
diff changeset
   195
	     * can be used out side home network or not. 
hgs
parents:
diff changeset
   196
	     */
hgs
parents:
diff changeset
   197
	    void SetUsageInHomwNwFlagL(
hgs
parents:
diff changeset
   198
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   199
	            const TBool aHomeNwFlag 
hgs
parents:
diff changeset
   200
	    );
hgs
parents:
diff changeset
   201
hgs
parents:
diff changeset
   202
		
hgs
parents:
diff changeset
   203
	    /**
hgs
parents:
diff changeset
   204
	     * Sets the parameter which indicates whether server
hgs
parents:
diff changeset
   205
	     * details are editable or not. 
hgs
parents:
diff changeset
   206
	     */ 
hgs
parents:
diff changeset
   207
		void SetEditableFlagL( 
hgs
parents:
diff changeset
   208
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   209
	            const TBool aEditFlag 
hgs
parents:
diff changeset
   210
	    ) const;
hgs
parents:
diff changeset
   211
hgs
parents:
diff changeset
   212
	    /**
hgs
parents:
diff changeset
   213
	     * Gets the parameter which indicates whether server
hgs
parents:
diff changeset
   214
	     * details are editable or not. 
hgs
parents:
diff changeset
   215
	     */ 
hgs
parents:
diff changeset
   216
	    void GetEditableFlagL( 
hgs
parents:
diff changeset
   217
	            const TInt64 aSlpId, 
hgs
parents:
diff changeset
   218
	            TBool& aEditFlag 
hgs
parents:
diff changeset
   219
	    ) const;
hgs
parents:
diff changeset
   220
	    
hgs
parents:
diff changeset
   221
	    /**
hgs
parents:
diff changeset
   222
	     * Obtains the count of active Supl sessions
hgs
parents:
diff changeset
   223
	     * 
hgs
parents:
diff changeset
   224
	     */  
hgs
parents:
diff changeset
   225
	    void GetActiveSessionsCountL( TInt& aAccessPointCount );
hgs
parents:
diff changeset
   226
	    
hgs
parents:
diff changeset
   227
	    /**
hgs
parents:
diff changeset
   228
	     * Gets properties of all triggers from SUPL settings storage.  
hgs
parents:
diff changeset
   229
	     * This method retrieves all properties for each trigger.
hgs
parents:
diff changeset
   230
	     */
hgs
parents:
diff changeset
   231
		void GetTriggerParamsL(
hgs
parents:
diff changeset
   232
		        RPointerArray<CTriggerParams>& aParamValues
hgs
parents:
diff changeset
   233
		) const;
hgs
parents:
diff changeset
   234
	    
hgs
parents:
diff changeset
   235
	    /**
hgs
parents:
diff changeset
   236
	     * Gets properties of all triggers from SUPL settings storage.  
hgs
parents:
diff changeset
   237
	     * This method retrieves all properties for each trigger based on session id.
hgs
parents:
diff changeset
   238
	     */
hgs
parents:
diff changeset
   239
		void GetTriggerParamsL(  TInt64 aSessionId, 
hgs
parents:
diff changeset
   240
		        CTriggerParams*& aTrigger
hgs
parents:
diff changeset
   241
		) const;
hgs
parents:
diff changeset
   242
	   
hgs
parents:
diff changeset
   243
	   /**
hgs
parents:
diff changeset
   244
	     * Open the Active Session for the specified session id.
hgs
parents:
diff changeset
   245
	     * 
hgs
parents:
diff changeset
   246
	     */  
hgs
parents:
diff changeset
   247
	    void OpenSessionL( TInt64 aSessionId );
hgs
parents:
diff changeset
   248
		
hgs
parents:
diff changeset
   249
	   /**
hgs
parents:
diff changeset
   250
	     * Deletes a trigger session based on session id
hgs
parents:
diff changeset
   251
	     * 
hgs
parents:
diff changeset
   252
	     */  
hgs
parents:
diff changeset
   253
	    void RemoveTriggerSessionL( TInt64 aSessionId ) const;
hgs
parents:
diff changeset
   254
	   
hgs
parents:
diff changeset
   255
	   /**
hgs
parents:
diff changeset
   256
	     * Deletes a trigger sessions based on session ids
hgs
parents:
diff changeset
   257
	     * 
hgs
parents:
diff changeset
   258
	     */  
hgs
parents:
diff changeset
   259
	    void RemoveTriggerSessionsL( RArray< TInt64 >& aSessionIdList ) const;
hgs
parents:
diff changeset
   260
	   
hgs
parents:
diff changeset
   261
	   /**
hgs
parents:
diff changeset
   262
	     * Deletes all the trigger sessions
hgs
parents:
diff changeset
   263
	     * 
hgs
parents:
diff changeset
   264
	     */  
hgs
parents:
diff changeset
   265
	    void RemoveAllTriggerSessionsL( ) const;
hgs
parents:
diff changeset
   266
	   
hgs
parents:
diff changeset
   267
	   /**
hgs
parents:
diff changeset
   268
	     * Changes the notification status of an active session based on session id
hgs
parents:
diff changeset
   269
	     * 
hgs
parents:
diff changeset
   270
	     */  
hgs
parents:
diff changeset
   271
	    void ChangeNotificationStatusL( TInt64 aSessionId, TBool aTriggerNotificationStatus ) const;
hgs
parents:
diff changeset
   272
	   
hgs
parents:
diff changeset
   273
	   /**
hgs
parents:
diff changeset
   274
	     * Set the Observer for the specific Session
hgs
parents:
diff changeset
   275
	     * 
hgs
parents:
diff changeset
   276
	     */  
hgs
parents:
diff changeset
   277
	    void SetSessionObserver( MLocSUPLSettingsSessionObserver* aObserver ) const;
hgs
parents:
diff changeset
   278
	   
hgs
parents:
diff changeset
   279
	   /**
hgs
parents:
diff changeset
   280
	     * Remove the Session observer
hgs
parents:
diff changeset
   281
	     * 
hgs
parents:
diff changeset
   282
	     */  
hgs
parents:
diff changeset
   283
	    void RemoveSessionObserver( ) const;
hgs
parents:
diff changeset
   284
	    
hgs
parents:
diff changeset
   285
        /**
hgs
parents:
diff changeset
   286
         * Sets value of highlighted AP
hgs
parents:
diff changeset
   287
         */
hgs
parents:
diff changeset
   288
        void SetTempAPValue( TUint32 aAccessPoint);
hgs
parents:
diff changeset
   289
        
hgs
parents:
diff changeset
   290
        /**
hgs
parents:
diff changeset
   291
         * Generates IMSI address
hgs
parents:
diff changeset
   292
         */
hgs
parents:
diff changeset
   293
        void GenerateHslpAddressFromImsi(TDes& aIMSIAddress );
hgs
parents:
diff changeset
   294
	public:     		
hgs
parents:
diff changeset
   295
		/**
hgs
parents:
diff changeset
   296
		 * Inherited from MLocSUPLSettingsAdapterObserver
hgs
parents:
diff changeset
   297
		 */
hgs
parents:
diff changeset
   298
		void HandleSuplSettingsChangeL( TLocSUPLSettingsEvent aEvent );
hgs
parents:
diff changeset
   299
				 
hgs
parents:
diff changeset
   300
             
hgs
parents:
diff changeset
   301
    private:
hgs
parents:
diff changeset
   302
        /**
hgs
parents:
diff changeset
   303
         * C++ constructor.
hgs
parents:
diff changeset
   304
         */
hgs
parents:
diff changeset
   305
        CLocSUPLSettingsUiEngine( MLocSUPLSettingsUiEngObserver&  aObserver );
hgs
parents:
diff changeset
   306
        
hgs
parents:
diff changeset
   307
        /**
hgs
parents:
diff changeset
   308
         * Second Phase constructor
hgs
parents:
diff changeset
   309
         */
hgs
parents:
diff changeset
   310
        void ConstructL();
hgs
parents:
diff changeset
   311
         
hgs
parents:
diff changeset
   312
        /**
hgs
parents:
diff changeset
   313
         * Obtains the index UID corresponding to the Access point name
hgs
parents:
diff changeset
   314
         *
hgs
parents:
diff changeset
   315
         * @param   aIAPName     Access point name
hgs
parents:
diff changeset
   316
         * @return  TUint       UID corresponding to the AP Name. Zero if 
hgs
parents:
diff changeset
   317
         *                      the name does not exist
hgs
parents:
diff changeset
   318
         */
hgs
parents:
diff changeset
   319
        TUint ConvertIAPNameToIdL( const TDesC&      aIAPName );
hgs
parents:
diff changeset
   320
       
hgs
parents:
diff changeset
   321
        /**
hgs
parents:
diff changeset
   322
         * Displays an Error note
hgs
parents:
diff changeset
   323
         *
hgs
parents:
diff changeset
   324
         * @param aError Error ID
hgs
parents:
diff changeset
   325
         */
hgs
parents:
diff changeset
   326
        void DisplayErrorL( TInt aError );
hgs
parents:
diff changeset
   327
        
hgs
parents:
diff changeset
   328
        
hgs
parents:
diff changeset
   329
        /**
hgs
parents:
diff changeset
   330
         * Returns value of last highlighted AP
hgs
parents:
diff changeset
   331
         */
hgs
parents:
diff changeset
   332
        TUint32 GetTempAPValue();
hgs
parents:
diff changeset
   333
        
hgs
parents:
diff changeset
   334
    private:
hgs
parents:
diff changeset
   335
        /**
hgs
parents:
diff changeset
   336
         * Reference to the Engine Observer
hgs
parents:
diff changeset
   337
         */
hgs
parents:
diff changeset
   338
        MLocSUPLSettingsUiEngObserver&	iObserver;
hgs
parents:
diff changeset
   339
        
hgs
parents:
diff changeset
   340
        /**
hgs
parents:
diff changeset
   341
         * SUPL Settings API Adapter
hgs
parents:
diff changeset
   342
         * Owns
hgs
parents:
diff changeset
   343
         */
hgs
parents:
diff changeset
   344
        CLocSUPLSettingsAdapter*       	iSUPLSettingsAdapter;
hgs
parents:
diff changeset
   345
        
hgs
parents:
diff changeset
   346
                        
hgs
parents:
diff changeset
   347
        /**
hgs
parents:
diff changeset
   348
         * Temporary Buffer for returning values to the Accessor 
hgs
parents:
diff changeset
   349
         * functions. The accessor expects a 16 bit variant of the descriptor
hgs
parents:
diff changeset
   350
         * Owns
hgs
parents:
diff changeset
   351
         */
hgs
parents:
diff changeset
   352
        HBufC16*                		iConversionBuffer;
hgs
parents:
diff changeset
   353
        
hgs
parents:
diff changeset
   354
        /**
hgs
parents:
diff changeset
   355
         * Pointer to the Conversion Buffer
hgs
parents:
diff changeset
   356
         */
hgs
parents:
diff changeset
   357
        TPtr16                  		iConversionBufferPtr;
hgs
parents:
diff changeset
   358
        
hgs
parents:
diff changeset
   359
        /**
hgs
parents:
diff changeset
   360
         * Temporary Buffer to hand over to the UI components and
hgs
parents:
diff changeset
   361
         * access data from the Settinga API
hgs
parents:
diff changeset
   362
         * Owns
hgs
parents:
diff changeset
   363
         */
hgs
parents:
diff changeset
   364
        HBufC*                  		iSettingsBuffer;
hgs
parents:
diff changeset
   365
        
hgs
parents:
diff changeset
   366
        
hgs
parents:
diff changeset
   367
        /**
hgs
parents:
diff changeset
   368
         * Standard Text resolver for converting Error codes to 
hgs
parents:
diff changeset
   369
         * standard texts
hgs
parents:
diff changeset
   370
         */
hgs
parents:
diff changeset
   371
        CTextResolver*          		iTextResolver;
hgs
parents:
diff changeset
   372
hgs
parents:
diff changeset
   373
        
hgs
parents:
diff changeset
   374
        /**
hgs
parents:
diff changeset
   375
         * Selected IAP ID
hgs
parents:
diff changeset
   376
         */
hgs
parents:
diff changeset
   377
        TUint32                     	iSelectedIap;
hgs
parents:
diff changeset
   378
        
hgs
parents:
diff changeset
   379
        /**
hgs
parents:
diff changeset
   380
         * Launch Paramters
hgs
parents:
diff changeset
   381
         */
hgs
parents:
diff changeset
   382
        TInt                        	iLaunchParams;
hgs
parents:
diff changeset
   383
        
hgs
parents:
diff changeset
   384
hgs
parents:
diff changeset
   385
        /**
hgs
parents:
diff changeset
   386
         * Flag to denote whether access point selection requested or not
hgs
parents:
diff changeset
   387
         */
hgs
parents:
diff changeset
   388
        TBool                   		iRequestIapSelect;
hgs
parents:
diff changeset
   389
hgs
parents:
diff changeset
   390
                        
hgs
parents:
diff changeset
   391
        /**
hgs
parents:
diff changeset
   392
         * Supl Server Editor 
hgs
parents:
diff changeset
   393
         * Owns
hgs
parents:
diff changeset
   394
         */
hgs
parents:
diff changeset
   395
        CLocSUPLServerEditor*			iEditorDlg;
hgs
parents:
diff changeset
   396
hgs
parents:
diff changeset
   397
        
hgs
parents:
diff changeset
   398
        /*
hgs
parents:
diff changeset
   399
         * Current highlighted AP
hgs
parents:
diff changeset
   400
         * Set to -1 if no changes made in edit dialog box, Set to Uid of access 
hgs
parents:
diff changeset
   401
         * point if changes made 
hgs
parents:
diff changeset
   402
         */
hgs
parents:
diff changeset
   403
        TUint32 iTempAP;
hgs
parents:
diff changeset
   404
        
hgs
parents:
diff changeset
   405
    };
hgs
parents:
diff changeset
   406
    
hgs
parents:
diff changeset
   407
#endif // C_LOCSUPLSETTINGSUIENGINE_H_
hgs
parents:
diff changeset
   408