equal
deleted
inserted
replaced
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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
65 |
65 |
66 CPreferences* CPreferenceHandler::CreatePreferencesL() |
66 CPreferences* CPreferenceHandler::CreatePreferencesL() |
67 { |
67 { |
68 CPreferences* preferences = CPreferences::NewL(); |
68 CPreferences* preferences = CPreferences::NewL(); |
69 // Ownership transfered to iPreferenceList |
69 // Ownership transfered to iPreferenceList |
70 iPreferenceList.Append(preferences); |
70 iPreferenceList.AppendL(preferences); |
71 return preferences; |
71 return preferences; |
72 } |
72 } |
73 |
73 |
74 CPreferences* CPreferenceHandler::GetPreferences(const Swi::CAppInfo& aAppInfo) const |
74 CPreferences* CPreferenceHandler::GetPreferences(const Swi::CAppInfo& aAppInfo) const |
75 { |
75 { |