cmmanager/cmmgr/cmmserver/src/cmmanagerimpl.cpp
changeset 53 4af712113915
parent 46 95d45f234cf3
equal deleted inserted replaced
47:cb7afde124a3 53:4af712113915
   207 // Return the requested table ID.
   207 // Return the requested table ID.
   208 //-----------------------------------------------------------------------------
   208 //-----------------------------------------------------------------------------
   209 //
   209 //
   210 CommsDat::TMDBElementId CCmManagerImpl::TableId( TCmmDbRecords aRecord )
   210 CommsDat::TMDBElementId CCmManagerImpl::TableId( TCmmDbRecords aRecord )
   211     {
   211     {
       
   212     // No traces.
   212     CommsDat::TMDBElementId tableId( 0 );
   213     CommsDat::TMDBElementId tableId( 0 );
   213     switch ( aRecord )
   214     switch ( aRecord )
   214         {
   215         {
   215         case ECmmDestNetworkRecord:
   216         case ECmmDestNetworkRecord:
   216             tableId = CommsDat::KCDTIdNetworkRecord;
   217             tableId = CommsDat::KCDTIdNetworkRecord;
   258 // Get a handle to database session.
   259 // Get a handle to database session.
   259 //-----------------------------------------------------------------------------
   260 //-----------------------------------------------------------------------------
   260 //
   261 //
   261 CommsDat::CMDBSession& CCmManagerImpl::Session() const
   262 CommsDat::CMDBSession& CCmManagerImpl::Session() const
   262     {
   263     {
   263     OstTraceFunctionEntry0( CCMMANAGERIMPL_SESSION_ENTRY );
       
   264     return iTrans->Session();
   264     return iTrans->Session();
   265     }
   265     }
   266 
   266 
   267 // ---------------------------------------------------------------------------
   267 // ---------------------------------------------------------------------------
   268 // Return true is WLAN is supported on phone.
   268 // Return true is WLAN is supported on phone.