equal
deleted
inserted
replaced
26 #ifndef HBTHEMECOMMON_SYMBIAN_P_H |
26 #ifndef HBTHEMECOMMON_SYMBIAN_P_H |
27 #define HBTHEMECOMMON_SYMBIAN_P_H |
27 #define HBTHEMECOMMON_SYMBIAN_P_H |
28 |
28 |
29 #include <e32base.h> |
29 #include <e32base.h> |
30 #include <hbthemecommon_p.h> |
30 #include <hbthemecommon_p.h> |
|
31 |
31 // To enable/disable debug messages for theme listener |
32 // To enable/disable debug messages for theme listener |
32 #undef THEME_LISTENER_TRACES |
33 #undef THEME_LISTENER_TRACES |
|
34 |
33 struct TIconParams |
35 struct TIconParams |
34 { |
36 { |
35 TBuf<256> fileName; |
37 TFileName fileName; |
36 TReal width; |
38 TReal width; |
37 TReal height; |
39 TReal height; |
38 TUint8 aspectRatioMode; |
40 TUint8 aspectRatioMode; |
39 TUint8 mode; |
41 TUint8 mode; |
40 TUint8 options; |
42 TUint8 options; |
44 TInt renderMode; |
46 TInt renderMode; |
45 }; |
47 }; |
46 |
48 |
47 struct TMultiIconSymbParams |
49 struct TMultiIconSymbParams |
48 { |
50 { |
49 TBuf<256> multiPartIconId; |
51 TFileName multiPartIconId; |
50 TBuf<256> multiPartIconList[9]; |
52 TFileName multiPartIconList[9]; |
51 TRect sources[9]; |
53 TRect sources[9]; |
52 TRect targets[9]; |
54 TRect targets[9]; |
53 TSize pixmapSizes[9]; |
55 TSize pixmapSizes[9]; |
54 QSizeF size; |
56 QSizeF size; |
55 TInt aspectRatioMode; |
57 TInt aspectRatioMode; |
57 TInt options; |
59 TInt options; |
58 TBool mirrored; |
60 TBool mirrored; |
59 TInt rgba; |
61 TInt rgba; |
60 TBool colorflag; |
62 TBool colorflag; |
61 TInt renderMode; |
63 TInt renderMode; |
62 }; |
64 }; |
63 |
65 |
64 struct TIconListParams |
66 struct TIconListParams |
65 { |
67 { |
66 TBuf<256> iconList[9]; |
68 TFileName iconList[9]; |
67 QSizeF sizeList[9]; |
69 QSizeF sizeList[9]; |
68 TInt aspectRatioMode; |
70 TInt aspectRatioMode; |
69 TInt mode; |
71 TInt mode; |
70 TBool mirrored; |
72 TBool mirrored; |
71 TInt rgba; |
73 TInt rgba; |
102 * KHbDefaultThemeCenrepKey |
104 * KHbDefaultThemeCenrepKey |
103 * Define the default theme |
105 * Define the default theme |
104 */ |
106 */ |
105 const TUint32 KHbDefaultThemeCenrepKey = 0x2; |
107 const TUint32 KHbDefaultThemeCenrepKey = 0x2; |
106 |
108 |
|
109 /** |
|
110 * During batch unload, send up to this number of icon data in one |
|
111 * batch (i.e. one server request). |
|
112 */ |
|
113 const int BATCH_SIZE_LIMIT = 8; |
107 |
114 |
108 #endif // HBTHEMECOMMON_SYMBIAN_P_H |
115 #endif // HBTHEMECOMMON_SYMBIAN_P_H |
109 |
|