src/hbcore/theme/hbthemecommon_symbian_p.h
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
--- a/src/hbcore/theme/hbthemecommon_symbian_p.h	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbcore/theme/hbthemecommon_symbian_p.h	Mon Oct 18 18:23:13 2010 +0300
@@ -28,11 +28,13 @@
 
 #include <e32base.h>
 #include <hbthemecommon_p.h>
+
 // To enable/disable debug messages for theme listener
 #undef THEME_LISTENER_TRACES
+
 struct TIconParams
 {
-    TBuf<256> fileName;
+    TFileName fileName;
     TReal width;
     TReal height;
     TUint8 aspectRatioMode;
@@ -46,8 +48,8 @@
 
 struct TMultiIconSymbParams
 {
-    TBuf<256> multiPartIconId;
-    TBuf<256> multiPartIconList[9];
+    TFileName multiPartIconId;
+    TFileName multiPartIconList[9];
     TRect sources[9];
     TRect targets[9];
     TSize pixmapSizes[9];
@@ -59,11 +61,11 @@
     TInt rgba;
     TBool colorflag;
     TInt renderMode;
- };
+};
 
 struct TIconListParams
 {
-    TBuf<256> iconList[9];
+    TFileName iconList[9];
     QSizeF sizeList[9];
     TInt aspectRatioMode;
     TInt mode;
@@ -104,6 +106,10 @@
  */
 const TUint32 KHbDefaultThemeCenrepKey  = 0x2;
 
+/**
+ * During batch unload, send up to this number of icon data in one
+ * batch (i.e. one server request).
+ */
+const int BATCH_SIZE_LIMIT = 8;
 
 #endif // HBTHEMECOMMON_SYMBIAN_P_H
-