equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 #ifndef T_TGENERICITUTCONVERTER_H |
|
18 #define T_TGENERICITUTCONVERTER_H |
|
19 |
|
20 // System includes |
|
21 #include <e32cmn.h> |
|
22 #include <e32des16.h> |
|
23 #include <e32def.h> |
|
24 #include <gdi.h> |
|
25 #include <AknLayout2Def.h> |
|
26 |
|
27 class TItutDataConverter |
|
28 { |
|
29 public: |
|
30 static TInt AnyToInt(TAny* aOriginal); |
|
31 |
|
32 static TRect AnyToRect(TAny* aOriginal); |
|
33 |
|
34 static TPoint AnyToPoint(TAny* aOriginal); |
|
35 |
|
36 static TRgb AnyToRgb(TAny* aOriginal); |
|
37 |
|
38 static CFont* AnyToFont(TAny* aOriginal); |
|
39 |
|
40 static TSize AnyToSize(TAny* aOriginal); |
|
41 |
|
42 static TAknTextLineLayout AnyToTextLine(TAny* aOriginal); |
|
43 |
|
44 static RPointerArray<HBufC>& AnyToRptrArray(TAny* aOriginal); |
|
45 |
|
46 static RArray<TRect>& AnyToRectArray(TAny* aOriginal); |
|
47 |
|
48 static void ConvertChnPhraseCandidateL(const TDesC& aSource, RPointerArray<HBufC>& aList); |
|
49 |
|
50 static void ConvertNonPhraseCandidateL(const TDesC& aSource, RPointerArray<HBufC>& aList); |
|
51 }; |
|
52 |
|
53 #endif // T_TGENERICITUTCONVERTER_H |