cellular/telephonysettings/src/PsetNetwork.cpp
changeset 12 ae8abd0db65c
parent 0 ff3b6d0fd310
child 13 e32024264ebb
equal deleted inserted replaced
0:ff3b6d0fd310 12:ae8abd0db65c
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 //  INCLUDE FILES
    20 //  INCLUDE FILES
    21 #include "MPsetNetworkInfoObs.h"
    21 #include "mpsetnetworkinfoobs.h" 
    22 #include "PsetNetwork.h"
    22 #include "psetnetwork.h" 
    23 #include "PsetSAObserver.h"     
    23 #include "psetsaobserver.h" 
    24 #include "PSetPanic.h"          
    24 #include "PSetPanic.h" 
    25 #include "PsetConstants.h"
    25 #include "psetconstants.h" 
    26 #include "MPsetNetworkSelect.h"
    26 #include "mpsetnetworkselect.h" 
    27 #include <etelmm.h>
    27 #include <etelmm.h>
    28 #include <mmretrieve.h>
    28 #include <mmretrieve.h>
    29 #include <rmmcustomapi.h>
    29 #include <rmmcustomapi.h>
    30 
    30 
    31 #include <e32svr.h>
    31 #include <e32svr.h>
    32 #include "PhoneSettingsLogger.h"
    32 #include "PhoneSettingsLogger.h" 
    33 
    33 
    34 //  LOCAL CONSTANTS AND MACROS  
    34 //  LOCAL CONSTANTS AND MACROS  
    35 _LIT( KPSNameOfClass, "CPsetNetwork" );
    35 _LIT( KPSNameOfClass, "CPsetNetwork" );
    36 
    36 
    37 enum TActiveObserver
    37 enum TActiveObserver
   562 EXPORT_C TInt CPsetNetwork::ResetNetworkSearch()
   562 EXPORT_C TInt CPsetNetwork::ResetNetworkSearch()
   563     {
   563     {
   564     __PHSLOGSTRING("[PHS]--> CPsetNetwork::ResetNetworkSearch");
   564     __PHSLOGSTRING("[PHS]--> CPsetNetwork::ResetNetworkSearch");
   565     RMmCustomAPI customApi;
   565     RMmCustomAPI customApi;
   566     TInt error = customApi.Open( iPhone );
   566     TInt error = customApi.Open( iPhone );
   567     if	(error == KErrNone)
   567     if  (error == KErrNone)
   568         {
   568         {
   569         customApi.ResetNetServer();
   569         customApi.ResetNetServer();
   570         }
   570         }
   571     customApi.Close();
   571     customApi.Close();
   572 
   572