equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2009 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::SetMapApplicationsL(const RArray<TUid> &aApplications) |
413 void CMapDescriptor::SetMapApplications(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 User::LeaveIfError(iApplUids.Append(aApplications[i])); |
418 iApplUids.Append(aApplications[i]); |
419 } |
419 } |
420 } |
420 } |
421 |
421 |
422 TPtrC CMapDescriptor::Label() const |
422 TPtrC CMapDescriptor::Label() const |
423 { |
423 { |