phonesrv_plat/network_handling_engine_api/inc/NWHandlingEngine.h
changeset 15 d7fc66ccd6fb
parent 0 ff3b6d0fd310
equal deleted inserted replaced
13:e32024264ebb 15:d7fc66ccd6fb
     1 /*
     1 /*
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #ifndef NWHandlingEngine_H
    20 #ifndef NWHandlingEngine_H
    21 #define NWHandlingEngine_H
    21 #define NWHandlingEngine_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <RMmCustomAPI.h>
    25 #include <rmmcustomapi.h> 
       
    26 #include <etelpckt.h> // for RPacketService::TDynamicCapsFlags
    26 
    27 
    27 
    28 
    28 // CONSTANTS
    29 // CONSTANTS
    29 // Max length of network country code.
    30 // Max length of network country code.
    30 const TInt KNWCountryCodeLength = 4; // This value is defined in multimode etel definition document.
    31 const TInt KNWCountryCodeLength = 4; // This value is defined in multimode etel definition document.
   185     TNWVoicePrivacyStatus iVoicePrivacyStatus;              // Voice Privacy Status
   186     TNWVoicePrivacyStatus iVoicePrivacyStatus;              // Voice Privacy Status
   186     TNWPLMNField iPLMNField;                                // Contains a number of PLMN network names coded as TLV objects
   187     TNWPLMNField iPLMNField;                                // Contains a number of PLMN network names coded as TLV objects
   187 #ifdef RD_PHONE_NG
   188 #ifdef RD_PHONE_NG
   188     TNWNetworkSelectionSetting iSelectionSetting;           // Contains a network selection setting manual/automatic etc.
   189     TNWNetworkSelectionSetting iSelectionSetting;           // Contains a network selection setting manual/automatic etc.
   189 #endif // RD_PHONE_NG
   190 #endif // RD_PHONE_NG
       
   191     RPacketService::TDynamicCapsFlags iDynamicCapsFlags;    // Dynamic packet data capabilities 
       
   192                                                             // (used to hide alpha tag when CS registration is unsuccessful)
   190     };
   193     };
   191 
   194 
   192 // CLASS DECLARATION
   195 // CLASS DECLARATION
   193 
   196 
   194 /**
   197 /**
   241             // Message will be sent when Viag CBS message was reveived
   244             // Message will be sent when Viag CBS message was reveived
   242             // and completely handled.
   245             // and completely handled.
   243             ENWMessageCurrentHomeZoneMessage,
   246             ENWMessageCurrentHomeZoneMessage,
   244             // Message will be sent when cell info display changed
   247             // Message will be sent when cell info display changed
   245             ENWMessageNetworkIndicatorChange, 
   248             ENWMessageNetworkIndicatorChange, 
       
   249             // Message will be sent when dynamic packet data capabilities change
       
   250             // (Used to hide alpha tag when CS registration is unsuccessful)
       
   251             ENWMessageDynamicCapsChange,
   246 
   252 
   247             // CDMA SPECIFIC MESSAGES                       200 - 299
   253             // CDMA SPECIFIC MESSAGES                       200 - 299
   248 
   254 
   249             ENWMessageNetworkEmergencyMode                = 200,
   255             ENWMessageNetworkEmergencyMode                = 200,
   250             ENWMessageVoicePrivacyStatusChange,
   256             ENWMessageVoicePrivacyStatusChange,
   261             // Fetching Service Provider Name
   267             // Fetching Service Provider Name
   262             ENWGetServiceProviderName,
   268             ENWGetServiceProviderName,
   263             // Fetching Network Provider Name
   269             // Fetching Network Provider Name
   264             ENWGetNetworkProviderName,
   270             ENWGetNetworkProviderName,
   265             // Fetching Programmable Operator Name
   271             // Fetching Programmable Operator Name
   266             ENWGetProgrammableOperatorName
   272             ENWGetProgrammableOperatorName,
       
   273             // Notifying network registration status change
       
   274             ENWNotifyNetworkRegistrationStatusChange
   267             };
   275             };
   268 
   276 
   269         /**
   277         /**
   270         * Offers message interface to the client
   278         * Offers message interface to the client
   271         * @param aMessage 
   279         * @param aMessage