connectionmonitoring/connmon/connectionmonitor/src/ConnMonServ.cpp
changeset 2 086aae6fc07e
parent 0 5a93021fdf25
child 18 fcbbe021d614
child 55 fc7b30ed2058
equal deleted inserted replaced
1:40cb640ef159 2:086aae6fc07e
    31 #include "ConnMonBearerGPRS.h"
    31 #include "ConnMonBearerGPRS.h"
    32 #include "ConnMonBearerLAN.h"
    32 #include "ConnMonBearerLAN.h"
    33 #include "ConnMonBearerWLAN.h"
    33 #include "ConnMonBearerWLAN.h"
    34 #include "ConnMonBearerGroupManager.h"
    34 #include "ConnMonBearerGroupManager.h"
    35 #include "connmoncommsdatnotifier.h"
    35 #include "connmoncommsdatnotifier.h"
       
    36 #include "cellulardatausagekeyupdater.h"
    36 
    37 
    37 // ============================ LOCAL FUNCTIONS ===============================
    38 // ============================ LOCAL FUNCTIONS ===============================
    38 
    39 
    39 // -----------------------------------------------------------------------------
    40 // -----------------------------------------------------------------------------
    40 // PanicServer
    41 // PanicServer
   316     LOGIT("ConstructL: Availability manager and CenRep notifiers constructed")
   317     LOGIT("ConstructL: Availability manager and CenRep notifiers constructed")
   317 
   318 
   318     // Bearer group manager
   319     // Bearer group manager
   319     iBearerGroupManager = CConnMonBearerGroupManager::NewL();
   320     iBearerGroupManager = CConnMonBearerGroupManager::NewL();
   320     LOGIT("ConstructL: Bearer group manager constructed")
   321     LOGIT("ConstructL: Bearer group manager constructed")
   321 
   322     
       
   323     iCellularDataUsageKeyUpdater = CCellularDataUsageKeyUpdater::NewL( this );
       
   324     LOGIT("ConstructL: CCellularDataUsageKeyUpdater constructed")
       
   325     
   322     // Identify ourselves and open for service
   326     // Identify ourselves and open for service
   323     StartL( KConnectionMonitorServerName );
   327     StartL( KConnectionMonitorServerName );
   324 
   328 
   325     LOGIT("ConstructL: Server started successfully")
   329     LOGIT("ConstructL: Server started successfully")
   326     LOGEXITFN("CConnMonServer::ConstructL()")
   330     LOGEXITFN("CConnMonServer::ConstructL()")
   366     // CommsDat cache
   370     // CommsDat cache
   367     delete iCommsDatCache;
   371     delete iCommsDatCache;
   368 
   372 
   369     // Bearer Group Manager
   373     // Bearer Group Manager
   370     delete iBearerGroupManager;
   374     delete iBearerGroupManager;
       
   375     
       
   376     delete iCellularDataUsageKeyUpdater;
   371 
   377 
   372     FeatureManager::UnInitializeLib();
   378     FeatureManager::UnInitializeLib();
   373     }
   379     }
   374 
   380 
   375 // -----------------------------------------------------------------------------
   381 // -----------------------------------------------------------------------------