|
1 /**************************************************************************** |
|
2 ** |
|
3 ** Copyright (C) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 ** All rights reserved. |
|
5 ** Contact: Nokia Corporation (developer.feedback@nokia.com) |
|
6 ** |
|
7 ** This file is part of the HbCore module of the UI Extensions for Mobile. |
|
8 ** |
|
9 ** GNU Lesser General Public License Usage |
|
10 ** This file may be used under the terms of the GNU Lesser General Public |
|
11 ** License version 2.1 as published by the Free Software Foundation and |
|
12 ** appearing in the file LICENSE.LGPL included in the packaging of this file. |
|
13 ** Please review the following information to ensure the GNU Lesser General |
|
14 ** Public License version 2.1 requirements will be met: |
|
15 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
16 ** |
|
17 ** In addition, as a special exception, Nokia gives you certain additional |
|
18 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
19 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
20 ** |
|
21 ** If you have questions regarding the use of this file, please contact |
|
22 ** Nokia at developer.feedback@nokia.com. |
|
23 ** |
|
24 ****************************************************************************/ |
|
25 |
|
26 #ifndef HBTHEMECOMMON_SYMBIAN_P_H |
|
27 #define HBTHEMECOMMON_SYMBIAN_P_H |
|
28 |
|
29 #include <e32base.h> |
|
30 #include <hbthemecommon_p.h> |
|
31 // To enable/disable debug messages for theme listener |
|
32 #undef THEME_LISTENER_TRACES |
|
33 struct TIconParams |
|
34 { |
|
35 TBuf<256> fileName; |
|
36 TReal width; |
|
37 TReal height; |
|
38 TUint8 aspectRatioMode; |
|
39 TUint8 mode; |
|
40 TUint8 options; |
|
41 TBool mirrored; |
|
42 TUint32 rgba; |
|
43 TBool colorflag; |
|
44 }; |
|
45 |
|
46 struct TMultiIconSymbParams |
|
47 { |
|
48 TBuf<256> multiPartIconId; |
|
49 TBuf<256> multiPartIconList[9]; |
|
50 TRect sources[9]; |
|
51 TRect targets[9]; |
|
52 TSize pixmapSizes[9]; |
|
53 QSizeF size; |
|
54 TInt aspectRatioMode; |
|
55 TInt mode; |
|
56 TInt options; |
|
57 TBool mirrored; |
|
58 TInt rgba; |
|
59 TBool colorflag; |
|
60 }; |
|
61 |
|
62 struct TIconListParams |
|
63 { |
|
64 TBuf<256> iconList[9]; |
|
65 QSizeF sizeList[9]; |
|
66 TInt aspectRatioMode; |
|
67 TInt mode; |
|
68 TBool mirrored; |
|
69 TInt rgba; |
|
70 TBool colorflag; |
|
71 TInt iconCount; |
|
72 }; |
|
73 |
|
74 // server name |
|
75 _LIT(KThemeServerName,"hbthemeserver"); |
|
76 const TUid KServerUid3={0x20022E82}; |
|
77 |
|
78 // A version must be specifyed when creating a session with the server |
|
79 |
|
80 |
|
81 const TUint KThemeServerMajorVersionNumber=0; |
|
82 const TUint KThemeServerMinorVersionNumber=1; |
|
83 const TUint KThemeServerBuildVersionNumber=1; |
|
84 |
|
85 enum TThemeServerLeave |
|
86 { |
|
87 ENonNumericString = 99 |
|
88 }; |
|
89 |
|
90 #endif // HBTHEMECOMMON_SYMBIAN_P_H |
|
91 |