connectivitymodules/SeCon/common/conmltask/src/sconconmltask.cpp
changeset 44 8f5e655bff70
parent 40 b63e67867dcd
equal deleted inserted replaced
40:b63e67867dcd 44:8f5e655bff70
     1 /*
     1 /*
     2 * Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-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".
   154     copy->iProgress = iProgress;        
   154     copy->iProgress = iProgress;        
   155                 
   155                 
   156     return copy;
   156     return copy;
   157     }
   157     }
   158 
   158 
       
   159 CSConInstApp::~CSConInstApp()
       
   160     {
       
   161     delete iWidgetBundleId;
       
   162     }
   159 // -----------------------------------------------------------------------------
   163 // -----------------------------------------------------------------------------
   160 // CSConInstApp::Copy()
   164 // CSConInstApp::Copy()
   161 // 
   165 // 
   162 // -----------------------------------------------------------------------------
   166 // -----------------------------------------------------------------------------
   163 //  
   167 //  
   170     copy->iVendor.Copy( iVendor );
   174     copy->iVendor.Copy( iVendor );
   171     copy->iVersion.Copy( iVersion );
   175     copy->iVersion.Copy( iVersion );
   172     copy->iSize = iSize;
   176     copy->iSize = iSize;
   173     copy->iType = iType;
   177     copy->iType = iType;
   174     copy->iUid = iUid;
   178     copy->iUid = iUid;
       
   179     if ( iWidgetBundleId )
       
   180         {
       
   181         copy->iWidgetBundleId = iWidgetBundleId->AllocL();
       
   182         }
       
   183     else
       
   184         {
       
   185         copy->iWidgetBundleId = NULL;
       
   186         }
   175 
   187 
   176     return copy;
   188     return copy;
   177     }
   189     }
   178 
   190 
   179 // -----------------------------------------------------------------------------
   191 // -----------------------------------------------------------------------------