qtmobility/src/messaging/messaging.pro
changeset 14 6fbed849b4f4
parent 8 71781823f776
child 15 1f895d8a5b2b
--- a/qtmobility/src/messaging/messaging.pro	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/src/messaging/messaging.pro	Wed Jun 23 19:08:38 2010 +0300
@@ -138,6 +138,13 @@
     }
     symbian { 
         INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
+	exists($${EPOCROOT}epoc32\include\platform\app\emailinterfacefactory.h) {
+   	CONFIG += FREESTYLEMAIL
+	DEFINES += FREESTYLEMAILUSED
+	}
+	exists($${EPOCROOT}epoc32\include\platform\app\mmailboxcontentobserver.h) {
+	DEFINES += FREESTYLEMAILBOXOBSERVERUSED
+	}
         HEADERS -= qmessagestore_p.h \
             qmessagecontentcontainer_p.h \
             qmessage_p.h
@@ -145,8 +152,14 @@
             qmessagestore_symbian_p.h \
             qmessageservice_symbian_p.h \
             qmessagecontentcontainer_symbian_p.h \
-            qmessage_symbian_p.h
-        SOURCES += qmtmengine_symbian.cpp \
+            qmessage_symbian_p.h \
+            maemohelpers_p.h
+
+        contains(CONFIG, FREESTYLEMAIL) {
+	    HEADERS += qfsengine_symbian_p.h
+	}
+
+    SOURCES += qmtmengine_symbian.cpp \
             qmessageid_symbian.cpp \
             qmessagecontentcontainerid_symbian.cpp \
             qmessagefolderid_symbian.cpp \
@@ -162,8 +175,13 @@
             qmessagefilter_symbian.cpp \
             qmessagesortorder_symbian.cpp \
             qmessagestore_symbian.cpp \
-            qmessageservice_symbian.cpp
-        LIBS += -lsendas2 \
+            qmessageservice_symbian.cpp \
+            maemohelpers.cpp
+
+        contains(CONFIG, FREESTYLEMAIL) {
+	    SOURCES += qfsengine_symbian.cpp
+	}
+    LIBS += -lsendas2 \
             -lmsgs \
             -letext \
             -lefsrv \
@@ -178,7 +196,8 @@
             -leikcore \
             -lcone \
             -lapgrfx \
-            -lapmime
+            -lapmime \
+            -lecom
         TARGET.CAPABILITY = ALL \
             -TCB
         TARGET.UID3 = 0x2002AC82