equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2004 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef SORTUTILIMPL_H |
|
24 #define SORTUTILIMPL_H |
|
25 |
|
26 // INCLUDES |
|
27 |
|
28 #include <e32std.h> |
|
29 #include "SortUtil.h" |
|
30 |
|
31 namespace SortUtilImpl |
|
32 { |
|
33 |
|
34 /** |
|
35 * Returns aText with all leading whitespace characters stripped from it. |
|
36 */ |
|
37 TPtrC StripLeadingWhiteSpace(const TDesC& aText); |
|
38 |
|
39 /** |
|
40 * Searches for the next nonempty key in a sort key array. |
|
41 * |
|
42 * @param aKeys the sort key array to search. |
|
43 * @param aType the sort key type to search for. |
|
44 * @param aIndex the index where to start the search from. If a key is |
|
45 * returned the index is incremented. |
|
46 * @return the first nonempty sort key's text or empty string if |
|
47 * aIndex > aKeys.SortKeyCount(). Any leading whitespace in the |
|
48 * sort key text is removed in the returned string. |
|
49 */ |
|
50 TPtrC FindNextNonEmptyKey |
|
51 (const MSortKeyArray& aKeys, |
|
52 TSortKeyType aType, |
|
53 TInt& aIndex); |
|
54 |
|
55 } // namespace SortUtilImpl |
|
56 |
|
57 #endif // SORTUTILIMPL_H |
|
58 // End of file |