dbcreator/commsdatcreator/Src/cdcprocessorglobal.cpp
changeset 20 9c97ad6591ae
parent 18 fcbbe021d614
child 32 5c4486441ae6
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
   612 
   612 
   613 // ---------------------------------------------------------
   613 // ---------------------------------------------------------
   614 // CProcessorGlobal::SetDefaultConnectionL
   614 // CProcessorGlobal::SetDefaultConnectionL
   615 // ---------------------------------------------------------
   615 // ---------------------------------------------------------
   616 //
   616 //
   617 void CProcessorGlobal::SetDefaultConnectionL()
   617 /*void CProcessorGlobal::SetDefaultConnectionL()
   618     {
   618     {
   619     if( iDefCon->Count() > 0 )
   619     if( iDefCon->Count() > 0 )
   620         {
   620         {
   621         SetDefaultConnectionTypeL( (*iDefCon)[0] );
   621         SetDefaultConnectionTypeL( (*iDefCon)[0] );
   622         }
   622         }
   623     if( iDefCon->Count() > 1 )
   623     if( iDefCon->Count() > 1 )
   624         {
   624         {
   625         SetDefaultConnectionNameL( (*iDefCon)[1] );
   625         SetDefaultConnectionNameL( (*iDefCon)[1] );
   626         }
   626         }
   627     }
   627     }*/
   628 
   628 
   629 // ---------------------------------------------------------
   629 // ---------------------------------------------------------
   630 // CProcessorGlobal::SetDefaultConnectionTypeL
   630 // CProcessorGlobal::SetDefaultConnectionTypeL
   631 // ---------------------------------------------------------
   631 // ---------------------------------------------------------
   632 //
   632 //
   757 
   757 
   758 //-----------------------------------------------------------------------------
   758 //-----------------------------------------------------------------------------
   759 //  CProcessorGlobal::SetDefConnRecordL()
   759 //  CProcessorGlobal::SetDefConnRecordL()
   760 //-----------------------------------------------------------------------------
   760 //-----------------------------------------------------------------------------
   761 //
   761 //
   762 void CProcessorGlobal::SetDefConnRecordL( const TInt aId )
   762 void CProcessorGlobal::SetDefConnRecordL( const TInt /*aId*/ )
   763     {
   763     {
   764 
   764 
   765     TCmDefConnValue value;
   765 /*    TCmDefConnValue value;
   766     value.iType = iDefaultConnectionType;
   766     value.iType = iDefaultConnectionType;
   767     value.iId = aId;
   767     value.iId = aId;*/
   768     
   768     
   769     iCmManager->WriteDefConnL( value );
   769 //    iCmManager->WriteDefConnL( value );
   770     
   770     
   771     // It gets true if the defconn was set correctly
   771     // It gets true if the defconn was set correctly
   772     iDefaultConnectionSet = ETrue;
   772     iDefaultConnectionSet = ETrue;
   773 
   773 
   774     }
   774     }