equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Common utility functions that have been factored out |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMPXHARVESTERCOMMON_H |
|
20 #define CMPXHARVESTERCOMMON_H |
|
21 |
|
22 #include <badesca.h> |
|
23 |
|
24 /* |
|
25 * Extract tokens |
|
26 * @param aString to Parse |
|
27 * @param aArray On return, will be filled with the tokens separated by | |
|
28 */ |
|
29 inline void ExtractTokensL( const TDesC& aString, RArray<TPath>& aArray ); |
|
30 |
|
31 /* |
|
32 * Extract tokens |
|
33 * @param aString to Parse |
|
34 * @param aArray On return, will be filled with the tokens seperated by | |
|
35 */ |
|
36 inline void ExtractTokensL( const TDesC& aString, CDesCArray& aArray ); |
|
37 |
|
38 /* |
|
39 * Returns the drive for a file |
|
40 */ |
|
41 inline TDriveNumber ExtractDrive( const TDesC& aPath ); |
|
42 |
|
43 #include "mpxfhcommon.inl" |
|
44 |
|
45 #endif // CMPXHARVESTERCOMMON_H |
|
46 |