equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2006 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 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". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Stores element data and writes it to stream |
14 * Description: Stores element data and writes it to stream |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
|
19 |
19 #include "cbsstorage.h" |
20 #include "cbsstorage.h" |
20 #include "bsimportconstants.h" |
21 #include "bsimportconstants.h" |
21 #include "debugtrace.h" |
22 #include "DebugTrace.h" |
22 |
23 |
23 |
24 |
24 #include <s32strm.h> |
25 #include <s32strm.h> |
25 #include <utf.h> |
26 #include <utf.h> |
26 #include <mbselement.h> |
27 #include <mbselement.h> |
329 // CBSStorage::GetListOfFiles() |
330 // CBSStorage::GetListOfFiles() |
330 // --------------------------------------------------------------------------- |
331 // --------------------------------------------------------------------------- |
331 // |
332 // |
332 void CBSStorage::GetListOfFilesL( RArray<TPtrC>& aFileList ) |
333 void CBSStorage::GetListOfFilesL( RArray<TPtrC>& aFileList ) |
333 { |
334 { |
334 CleanupClosePushL(aFileList); |
|
335 TInt count = iElements.Count(); |
335 TInt count = iElements.Count(); |
336 for( TInt i = 0; i < count; i++ ) |
336 for( TInt i = 0; i < count; i++ ) |
337 { |
337 { |
338 AppendFilesL( iElements[i], aFileList ); |
338 AppendFilesL( iElements[i], aFileList ); |
339 } |
339 } |
340 CleanupStack::Pop(&aFileList); |
|
341 } |
340 } |
342 |
341 |
343 // --------------------------------------------------------------------------- |
342 // --------------------------------------------------------------------------- |
344 // CBSStorage::AppendFiles() |
343 // CBSStorage::AppendFiles() |
345 // --------------------------------------------------------------------------- |
344 // --------------------------------------------------------------------------- |