equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2007 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: Find text util class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef TPBK2FINDTEXTUTIL_H |
|
21 #define TPBK2FINDTEXTUTIL_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32cmn.h> |
|
25 #include <e32def.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 // CLASS DECLARATION |
|
30 class CAknSearchField; |
|
31 |
|
32 /** |
|
33 * Find text util |
|
34 * |
|
35 */ |
|
36 class TPbk2FindTextUtil |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * Esnures that given buffer is enough for find box text |
|
42 * |
|
43 * @param aFindBox Findbox which content needs to be buffered |
|
44 * @param aFindTextBuf Buffer which size is to be checked |
|
45 * |
|
46 */ |
|
47 static void EnsureFindTextBufSizeL( |
|
48 const CAknSearchField& aFindBox, |
|
49 HBufC** aFindTextBuf ); |
|
50 |
|
51 }; |
|
52 |
|
53 #endif // TPBK2FINDTEXTUTIL_H |
|
54 |
|
55 // End of File |