fotaapplication/fmserver/inc/fmsinterruptaob.h
author hgs
Tue, 13 Jul 2010 09:51:41 +0530
changeset 51 2e64dc50f295
permissions -rw-r--r--
201025_02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     1
/*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     3
* All rights reserved.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     8
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     9
* Initial Contributors:
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    11
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    12
* Contributors:
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    13
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    14
* Description: Implementation of fotaserver component
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    15
* 	This is part of fotaapplication.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    16
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    17
*/
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    18
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    19
#ifndef __FMS_AOB_H__
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    20
#define __FMS_AOB_H__
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    21
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    22
#include <e32base.h>
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    23
#include <e32std.h>
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    24
#include <e32property.h>
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    25
#include <rconnmon.h>
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    26
#include <etel.h>
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    27
#include <fotaengine.h>
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    28
#include "fmsserver.h"
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    29
#include "fmsdebug.h"
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    30
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    31
class CFMSServer;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    32
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    33
// CLASS DECLARATION     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    34
class CFMSInterruptAob : public CActive,private MConnectionMonitorObserver
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    35
	{	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    36
	friend class CFMSServer;	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    37
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    38
	public:
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    39
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    40
	 * Default constructor
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    41
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    42
	CFMSInterruptAob();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    43
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    44
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    45
	 * second phase constructor
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    46
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    47
	void ConstructL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    48
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    49
	/**     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    50
     * Logs the new request/interrupt to  be monitored  
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    51
     * @param aType, interrupt reason
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    52
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    53
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    54
	void StartL(TFmsIpcCommands aType);
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    55
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    56
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    57
	 * Starts Active object to monitor for the update interrupt in case of USB charger support
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    58
	 * @param aType, Interrupt reason
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    59
	 * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    60
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    61
	void StartBatteryMonitoringL(TFmsIpcCommands aType, TUint aLevel);
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    62
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    63
	/**     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    64
     * Sets the memory size member variable to be monitored 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    65
     * for the current interrupt 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    66
     * @param aSize, Memory space required
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    67
     * @param aDrive, Drive used for download
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    68
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    69
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    70
	void MemoryToMonitorL(TInt aSize, TDriveNumber aDrive);
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    71
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    72
	/**     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    73
     * Sets the network type for the current interrupt 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    74
     * @param aBearer
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    75
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    76
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    77
	void NetworkTypeL(TInt aBearer);
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    78
	/**     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    79
     * Launches FOTA install notifier 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    80
     * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    81
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    82
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    83
	void LaunchFotaScheduleUpdate();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    84
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    85
	/*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    86
	 * Destructor
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    87
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    88
	virtual ~CFMSInterruptAob();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    89
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    90
	/**     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    91
	 * Starts monitor for active call end 	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    92
	 * @param aType, Reason to be monitored	 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    93
	 * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    94
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    95
	void StartCallEndMonitoringL(TFmsIpcCommands aType);
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    96
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    97
	private:
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    98
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    99
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   100
     * From CActive
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   101
     * Called by Active scheduler when the asynchronous 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   102
     * request completed     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   103
     * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   104
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   105
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   106
	void RunL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   107
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   108
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   109
     * From CActive
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   110
     * Called when a pending request has to be cancelled     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   111
     * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   112
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   113
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   114
	void DoCancel();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   115
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   116
	 /**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   117
     * From CActive
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   118
     * Handle a leave occurred in the RunL().
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   119
     * Note: If RunError function pointer is not given in construction,
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   120
     * the leave error is to be propagated back to the active scheduler!
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   121
     *
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   122
     * @since S60 v3.2
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   123
     * @param aError the error code of leave
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   124
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   125
    TInt RunError( TInt aError );
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   126
    
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   127
    /**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   128
     * Checks the package size is more than warning level of memory
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   129
     * @param aCritical to set EFalse/ETrue
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   130
     * @return TInt
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   131
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   132
	TInt IsPkgSizeMoreThanWL(TBool& aCritical);
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   133
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   134
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   135
	  * Starts network notification registry
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   136
	  * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   137
	  * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   138
	  */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   139
	TBool CheckNetworkL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   140
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   141
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   142
	  * Starts network notification registry
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   143
	  * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   144
	  * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   145
	  */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   146
	void LaunchFotaEngineL();		
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   147
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   148
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   149
	  * Starts network notification registry
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   150
	  * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   151
	  * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   152
	  */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   153
	TBool CheckGlobalRFStateL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   154
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   155
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   156
	  * Stops the FMS Server
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   157
	  * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   158
	  * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   159
	  */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   160
	void StopServer();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   161
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   162
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   163
	  * Checks the memory size to be monitored
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   164
	  * after adding the warning level
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   165
	  * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   166
	  * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   167
	  */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   168
	void CheckMemSizeL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   169
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   170
	public: 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   171
    
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   172
  	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   173
    * Starts network notification registry
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   174
    * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   175
    * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   176
    */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   177
	void NotifyL() ;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   178
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   179
    /**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   180
    * Stops network notifications.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   181
    * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   182
    * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   183
    */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   184
   	void StopNotify() ;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   185
   	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   186
   	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   187
     * sets n/w to 3G.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   188
     * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   189
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   190
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   191
   	void SetWcdma() ;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   192
   	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   193
   	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   194
     * Starts n/w registry check in Hard reeboot case
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   195
     * uses CPeriodic variable to call static method
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   196
     * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   197
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   198
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   199
   	void StartNetworkRegistryCheckL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   200
   	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   201
   	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   202
     * checks n/w registry in Hard reeboot case
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   203
     * and destroys the CPeriodic if connection is there
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   204
     * and triggers fota engine
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   205
     * @param None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   206
     * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   207
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   208
	void NetworkRegistryCheckL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   209
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   210
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   211
	 * Launches Fota update note	 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   212
	 * @param aPkgId, package Id of FOTA Update
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   213
	 * @param aProfilleId, Profile ID of FOTA
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   214
	 * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   215
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   216
	void LaunchFotaUpdate();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   217
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   218
	private : 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   219
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   220
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   221
	 * From MConnectionMonitorObserver
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   222
	 * Method involed by connection monitor with current event. 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   223
	 * This method handles the events
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   224
	 * @param aConnMonEvent says about the event
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   225
	 * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   226
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   227
	void EventL( const CConnMonEventBase& aConnMonEvent ) ;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   228
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   229
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   230
	 *CheckNetworkstatus and takes action based on that 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   231
	 * @param none
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   232
	 * @return None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   233
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   234
	void CheckNetworkStatusL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   235
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   236
	 * HandleAboveCriticallevel handle memory interrupt when it is above critical level 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   237
	 * @param                   None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   238
	 * @return                  None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   239
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   240
	void HandleAboveCriticallevelL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   241
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   242
	/**
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   243
	 * HandleChargingInterruptL  handle charging interrupt when it is above critical level 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   244
	 * @param                   None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   245
	 * @return                  None
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   246
	 */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   247
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   248
	void HandleChargingInterruptL();
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   249
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   250
	private:	  
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   251
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   252
	RConnectionMonitor iConnMon;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   253
	RFs iFs;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   254
	RProperty iProperty;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   255
    TInt iConnStatus;	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   256
    TInt iSize;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   257
    TDriveNumber iDrive;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   258
    TInt iBearer;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   259
    TBool iWlanAvailable;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   260
    TBool iGPRSAvail;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   261
    TFmsIpcCommands iInterruptType;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   262
    TFmsIpcCommands iUpdInterruptType;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   263
    CFMSServer* iServer;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   264
    RFotaEngineSession iFotaEngine;    
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   265
    CPeriodic* iPeriodicNwCheck;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   266
    TBool iWcdma;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   267
    
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   268
    /** 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   269
     * RTelServer object used to keep an asynchronous request
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   270
     * for phone call end monitoring
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   271
     */ 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   272
    RTelServer iTelServer;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   273
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   274
    /** 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   275
     * RPhone object used to keep an asynchronous request
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   276
     * for phone call end monitoring
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   277
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   278
    RPhone     iPhone;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   279
    
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   280
    /** 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   281
     * RLine object used to keep an asynchronous request
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   282
     * for phone call end monitoring
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   283
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   284
    RLine      iLine;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   285
    
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   286
    /** 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   287
     * To get hodl of current call status     
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   288
     */
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   289
    RCall::TStatus iCallStatus;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   290
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   291
    TInt iChargeToMonitor;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   292
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   293
	};
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   294
	
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   295
2e64dc50f295 201025_02
hgs
parents:
diff changeset
   296
#endif