taskswitcherapp/tsserviceplugin/tsserviceplugin.pro
changeset 35 f9ce957a272c
child 36 cdae8c6c3876
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/taskswitcherapp/tsserviceplugin/tsserviceplugin.pro	Fri Mar 19 09:27:44 2010 +0200
@@ -0,0 +1,92 @@
+#
+# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description: 
+#
+
+TEMPLATE = lib
+TARGET = tsserviceplugin
+
+CONFIG += plugin hb mobility
+MOBILITY = serviceframework
+
+INCLUDEPATH += . inc
+
+HEADERS +=  inc/tsserviceplugin.h \
+            inc/tsdataroles.h \
+            inc/tsactivationinterface.h \
+            inc/tsactivation.h \
+            inc/tslongpresswatcher.h \
+            inc/tsdeactivationinterface.h \
+            inc/tsdeactivation.h \
+            inc/tsitemproviderinterface.h \
+            inc/tsitemprovider.h \
+            inc/tsclosedapplicationsfiltermodel.h \
+            inc/tsrecentapplicationsmodel.h \
+            inc/tspresentationinterface.h \
+            inc/tspresentation.h \
+            inc/tstasksgriditem.h \
+            inc/tstasksgrid.h \
+            inc/tstaskpopuphandler.h \
+            inc/tsdocumentloader.h \
+            
+SOURCES +=  src/tsserviceplugin.cpp \
+            src/tsactivation.cpp \
+            src/tslongpresswatcher.cpp \
+            src/tsdeactivation.cpp \
+            src/tsitemprovider.cpp \
+            src/tsclosedapplicationsfiltermodel.cpp \
+            src/tsrecentapplicationsmodel.cpp \
+            src/tspresentation.cpp \
+            src/tstasksgriditem.cpp \
+            src/tstaskpopuphandler.cpp \
+            src/tsdocumentloader.cpp \
+
+LIBS +=     -lcaclient           
+            
+TRANSLATIONS = taskswitcher.ts
+
+RESOURCES += tspresentation.qrc
+
+symbian {
+    load(data_caging_paths) 
+    TARGET.EPOCALLOWDLLDATA = 1
+    TARGET.CAPABILITY = ALL -TCB
+
+    plugin.sources = tsserviceplugin.dll
+    plugin.path = $$QT_PLUGINS_BASE_DIR     
+
+    # ugly hack
+    translation.sources = ./*.qm
+    translation.path = $$QT_PLUGINS_BASE_DIR/../translations
+
+    DEPLOYMENT += plugin translation
+}
+
+symbian: {
+    INCLUDEPATH += inc/s60
+    HEADERS += inc/s60/tslongpresswatcher_p.h
+    SOURCES += src/s60/tslongpresswatcher_p.cpp
+    LIBS += -lcone -lapgrfx -lws32
+}
+
+win32: {
+    INCLUDEPATH +=  inc/win
+
+    HEADERS += inc/win/tslongpresswatcher_p.h
+    SOURCES += src/win/tslongpresswatcher_p.cpp                    
+    LIBS += -lUser32
+    
+    INCLUDEPATH += $$PWD/../../../../homescreensrv/homescreensrv_plat/contentstorage_api
+    LIBS += -L$$PWD/../../../../bin/debug    
+}