connectivitymodules/SeCon/common/conmltask/src/sconconmltask.cpp
branchRCL_3
changeset 18 453dfc402455
parent 0 d0791faffa3f
equal deleted inserted replaced
17:dbd1c5e08735 18:453dfc402455
     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".
   159     copy->iProgress = iProgress;        
   159     copy->iProgress = iProgress;        
   160                 
   160                 
   161     return copy;
   161     return copy;
   162     }
   162     }
   163 
   163 
       
   164 CSConInstApp::~CSConInstApp()
       
   165     {
       
   166     delete iWidgetBundleId;
       
   167     }
   164 // -----------------------------------------------------------------------------
   168 // -----------------------------------------------------------------------------
   165 // CSConInstApp::Copy()
   169 // CSConInstApp::Copy()
   166 // 
   170 // 
   167 // -----------------------------------------------------------------------------
   171 // -----------------------------------------------------------------------------
   168 //  
   172 //  
   175     copy->iVendor.Copy( iVendor );
   179     copy->iVendor.Copy( iVendor );
   176     copy->iVersion.Copy( iVersion );
   180     copy->iVersion.Copy( iVersion );
   177     copy->iSize = iSize;
   181     copy->iSize = iSize;
   178     copy->iType = iType;
   182     copy->iType = iType;
   179     copy->iUid = iUid;
   183     copy->iUid = iUid;
       
   184     if ( iWidgetBundleId )
       
   185         {
       
   186         copy->iWidgetBundleId = iWidgetBundleId->AllocL();
       
   187         }
       
   188     else
       
   189         {
       
   190         copy->iWidgetBundleId = NULL;
       
   191         }
   180 
   192 
   181     return copy;
   193     return copy;
   182     }
   194     }
   183 
   195 
   184 // -----------------------------------------------------------------------------
   196 // -----------------------------------------------------------------------------