plugins/contacts/symbian/plugin/symbian_defines.pri
changeset 0 876b1a06bc25
child 5 603d3f8b6302
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/contacts/symbian/plugin/symbian_defines.pri	Wed Aug 25 15:49:42 2010 +0300
@@ -0,0 +1,23 @@
+
+symbian: {
+    exists($${EPOCROOT}epoc32/data/z/system/install/Series60v5.2.sis) {
+        exists($${EPOCROOT}epoc32/release/winscw/udeb/VPbkEng.dll) \
+        | exists($${EPOCROOT}epoc32/release/armv5/urel/VPbkEng.dll) {
+            message("TB 9.2 platform")
+        } else {
+            message("TB 10.1 or later platform")
+            DEFINES += SYMBIAN_BACKEND_USE_SQLITE
+            
+            # This will enable signals to be emitted sychronously with every
+            # operation instead of them beeing emitted when database event observer
+            # interface if called (HandleDatabaseEventL). This is an optimization
+            # for 10.1 platform. However enabling this will cause some problems
+            # with signals concerning adding/removing groups/group participants. 
+            DEFINES += SYMBIAN_BACKEND_SIGNAL_EMISSION_TWEAK
+        }
+    }
+    
+    contains(S60_VERSION, 3.2) {
+    	DEFINES += SYMBIAN_BACKEND_S60_VERSION_32
+    }
+}
\ No newline at end of file