46
|
1 |
#
|
|
2 |
#############################################################################
|
|
3 |
##
|
|
4 |
## Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
5 |
## All rights reserved.
|
|
6 |
## This component and the accompanying materials are made available
|
|
7 |
## under the terms of "Eclipse Public License v1.0"
|
|
8 |
## which accompanies this distribution, and is available
|
|
9 |
## at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
10 |
##
|
|
11 |
## Initial Contributors:
|
|
12 |
## Nokia Corporation - initial contribution.
|
|
13 |
##
|
|
14 |
## Contributors:
|
|
15 |
##
|
|
16 |
## Description:
|
|
17 |
##
|
|
18 |
#############################################################################
|
|
19 |
#
|
|
20 |
|
|
21 |
TEMPLATE = lib
|
|
22 |
TARGET = DevicePowerMenuPlugin
|
|
23 |
CONFIG += hb plugin
|
|
24 |
|
|
25 |
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
|
|
26 |
|
|
27 |
# Input
|
|
28 |
HEADERS += .\inc\hbdevicepowermenuplugin_p.h \
|
|
29 |
.\inc\hbdevicepowermenupluginerrors_p.h \
|
|
30 |
.\inc\hbdevicepowermenuwidegt_p.h
|
|
31 |
|
|
32 |
|
|
33 |
SOURCES += .\src\hbdevicepowermenuplugin.cpp \
|
|
34 |
.\src\hbdevicepowermenuwidegt.cpp
|
|
35 |
|
|
36 |
RESOURCES += hbdevicepowermenu.qrc
|
|
37 |
|
|
38 |
MOC_DIR = ./tmp
|
|
39 |
|
|
40 |
TRANSLATIONS += power_menu.ts
|
|
41 |
|
|
42 |
symbian:
|
|
43 |
{
|
|
44 |
TARGET.UID3 = 0x2002F375
|
|
45 |
TARGET.CAPABILITY = ALL -TCB
|
|
46 |
TARGET.EPOCALLOWDLLDATA = 1
|
|
47 |
|
|
48 |
pluginstub.sources = DevicePowerMenuPlugin.dll
|
|
49 |
pluginstub.path = /resource/plugins/devicedialogs
|
|
50 |
DEPLOYMENT += pluginstub
|
|
51 |
}
|
|
52 |
|
|
53 |
symbian:
|
|
54 |
{
|
|
55 |
BLD_INF_RULES.prj_exports += \
|
|
56 |
"$${LITERAL_HASH}include <platform_paths.hrh>" \
|
|
57 |
"qmakepluginstubs/DevicePowerMenuPlugin.qtplugin /epoc32/data/z/pluginstub/DevicePowerMenuPlugin.qtplugin" \
|
|
58 |
".\rom\devicepowermenuplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(devicepowermenuplugin.iby)" \
|
|
59 |
".\rom\devicepowermenu_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(devicepowermenu_resources.iby)"
|
|
60 |
}
|
|
61 |
|
|
62 |
|
|
63 |
|