vpnengine/pkiservice/src/mapdescriptor.cpp
branchRCL_3
changeset 22 9f4e37332ce5
parent 1 c9c2ad51f972
child 23 473321461bba
equal deleted inserted replaced
20:352850cbed81 22:9f4e37332ce5
     1 /*
     1 /*
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-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".
   408 void CMapDescriptor::SetMapDeletable(TBool aDeletable)
   408 void CMapDescriptor::SetMapDeletable(TBool aDeletable)
   409     {
   409     {
   410     iIsDeletable = aDeletable;
   410     iIsDeletable = aDeletable;
   411     }
   411     }
   412 
   412 
   413 void CMapDescriptor::SetMapApplications(const RArray<TUid> &aApplications) 
   413 void CMapDescriptor::SetMapApplicationsL(const RArray<TUid> &aApplications) 
   414     {
   414     {
   415     iApplUids.Close();
   415     iApplUids.Close();
   416     for(TInt i=0; i<aApplications.Count();i++)
   416     for(TInt i=0; i<aApplications.Count();i++)
   417         { 
   417         { 
   418         iApplUids.Append(aApplications[i]);
   418         User::LeaveIfError(iApplUids.Append(aApplications[i]));
   419         }
   419         }
   420     }
   420     }
   421 
   421 
   422 TPtrC CMapDescriptor::Label() const
   422 TPtrC CMapDescriptor::Label() const
   423     {
   423     {