emailservices/nmclientapi/nmclientapi.pro
author hgs
Thu, 14 Oct 2010 17:33:43 +0300
changeset 76 38bf5461e270
parent 74 6c59112cfd31
permissions -rw-r--r--
201041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
#
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     3
# All rights reserved.
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     4
# This component and the accompanying materials are made available
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     6
# which accompanies this distribution, and is available
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     8
#
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     9
# Initial Contributors:
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    11
#
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    12
# Contributors:
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
# 
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    14
# Description:
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    15
#
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    16
#
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    17
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    18
CONFIG += debug
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    19
TEMPLATE = lib
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    20
TARGET = nmailclientapi
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
QT += core
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    22
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    23
# BUILD_DLL
23
2dc6caa42ec3 Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 20
diff changeset
    24
DEFINES += BUILD_EMAIL_API_DLL
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
74
hgs
parents: 68
diff changeset
    26
INCLUDEPATH +=  inc \
hgs
parents: 68
diff changeset
    27
                ../../email_plat/nmail_client_api/inc \
hgs
parents: 68
diff changeset
    28
                ../../email_plat/nmail_settings_api/inc \
76
hgs
parents: 74
diff changeset
    29
                ../../inc \
hgs
parents: 74
diff changeset
    30
                $$APP_LAYER_SYSTEMINCLUDE 
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    31
74
hgs
parents: 68
diff changeset
    32
DEPENDPATH +=   ../../email_plat/nmail_client_api/inc \
76
hgs
parents: 74
diff changeset
    33
                ../../email_plat/nmail_settings_api/inc 
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    34
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    35
MOC_DIR = tmp
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
48
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    37
# public headers 
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    38
HEADERS += nmapicommon.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    39
           nmapidef.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    40
           nmapiemailaddress.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    41
           nmapiemailservice.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    42
           nmapienvelopelisting.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    43
           nmapieventnotifier.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    44
           nmapifolder.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    45
           nmapifolderlisting.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    46
           nmapimailbox.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    47
           nmapimailboxlisting.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    48
           nmapimessagebody.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    49
           nmapimessageenvelope.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    50
           nmapimessagetask.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    51
           nmapimessagemanager.h \
56
hgs
parents: 48
diff changeset
    52
           nmapisettingsmanager.h \
68
hgs
parents: 56
diff changeset
    53
           nmapimailboxsettings.h \
74
hgs
parents: 68
diff changeset
    54
           nmapioperation.h \
68
hgs
parents: 56
diff changeset
    55
           nmapimessagesearch.h \
hgs
parents: 56
diff changeset
    56
           nmapimessage.h \
hgs
parents: 56
diff changeset
    57
           nmapimessagecontent.h \
hgs
parents: 56
diff changeset
    58
           nmapitextcontent.h \
hgs
parents: 56
diff changeset
    59
           nmapiattachment.h
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    60
48
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    61
# private headers 
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    62
HEADERS += inc/nmapidatapluginfactory.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    63
           inc/nmapiemailaddress_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    64
           inc/nmapiengine.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    65
           inc/nmapienvelopelisting_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    66
           inc/nmapieventnotifier_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    67
           inc/nmapifolder_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    68
           inc/nmapifolderlisting_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    69
           inc/nmapimailbox_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    70
           inc/nmapimailboxlisting_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    71
           inc/nmapimailboxsettings_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    72
           inc/nmapimailboxsettingsdata_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    73
           inc/nmapimessagebody_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    74
           inc/nmapimessageenvelope_p.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    75
           inc/nmapimessagemanager_p.h \
74
hgs
parents: 68
diff changeset
    76
           inc/nmapisettingsmanager_p.h \
48
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    77
           inc/nmapipopimapsettingsmanager.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    78
           inc/nmapiprivateclasses.h \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    79
           inc/nmapitypesconverter.h \
68
hgs
parents: 56
diff changeset
    80
           inc/nmapiheaders.h \
hgs
parents: 56
diff changeset
    81
           inc/nmapimessagesearch_p.h \
hgs
parents: 56
diff changeset
    82
           inc/nmapimessage_p.h \
hgs
parents: 56
diff changeset
    83
           inc/nmapimessagecontent_p.h \
hgs
parents: 56
diff changeset
    84
           inc/nmapitextcontent_p.h \
74
hgs
parents: 68
diff changeset
    85
           inc/nmapiattachment_p.h \
hgs
parents: 68
diff changeset
    86
           inc/nmapioperationcreatedraftmessage.h \
hgs
parents: 68
diff changeset
    87
           inc/nmapioperationsendmessage.h
hgs
parents: 68
diff changeset
    88
	   
48
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    89
SOURCES += src/nmapidatapluginfactory.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    90
           src/nmapiemailaddress.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    91
           src/nmapiemailservice.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    92
           src/nmapiengine.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    93
           src/nmapienvelopelisting_p.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    94
           src/nmapienvelopelisting.cpp \ 
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    95
           src/nmapieventnotifier_p.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    96
           src/nmapieventnotifier.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    97
           src/nmapifolder.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    98
           src/nmapifolderlisting_p.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
    99
           src/nmapifolderlisting.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   100
           src/nmapimailbox.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   101
           src/nmapimailboxlisting_p.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   102
           src/nmapimailboxlisting.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   103
           src/nmapimessagetask.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   104
           src/nmapimailboxsettingsdata_p.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   105
           src/nmapimailboxsettingsdata.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   106
           src/nmapimailboxsettings_p.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   107
           src/nmapimailboxsettings.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   108
           src/nmapimessagebody.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   109
           src/nmapimessageenvelope.cpp \
10eaf342f539 201025_1
hgs
parents: 47
diff changeset
   110
           src/nmapipopimapsettingsmanager.cpp \
68
hgs
parents: 56
diff changeset
   111
           src/nmapimessagemanager_p.cpp \
hgs
parents: 56
diff changeset
   112
           src/nmapimessagemanager.cpp \
hgs
parents: 56
diff changeset
   113
           src/nmapisettingsmanager_p.cpp \
hgs
parents: 56
diff changeset
   114
           src/nmapisettingsmanager.cpp \
hgs
parents: 56
diff changeset
   115
           src/nmapitypesconverter.cpp \
74
hgs
parents: 68
diff changeset
   116
           src/nmapioperation.cpp \
68
hgs
parents: 56
diff changeset
   117
           src/nmapimessagesearch.cpp \
hgs
parents: 56
diff changeset
   118
           src/nmapimessagesearch_p.cpp \
hgs
parents: 56
diff changeset
   119
           src/nmapimessage.cpp \
hgs
parents: 56
diff changeset
   120
           src/nmapimessage_p.cpp \
hgs
parents: 56
diff changeset
   121
           src/nmapimessagecontent.cpp \
hgs
parents: 56
diff changeset
   122
           src/nmapimessagecontent_p.cpp \
hgs
parents: 56
diff changeset
   123
           src/nmapitextcontent.cpp \
hgs
parents: 56
diff changeset
   124
           src/nmapitextcontent_p.cpp \
hgs
parents: 56
diff changeset
   125
           src/nmapiattachment.cpp \
74
hgs
parents: 68
diff changeset
   126
           src/nmapiattachment_p.cpp \
hgs
parents: 68
diff changeset
   127
           src/nmapioperationcreatedraftmessage.cpp \
hgs
parents: 68
diff changeset
   128
           src/nmapioperationsendmessage.cpp
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   129
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   130
symbian*: { 
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   131
    TARGET.EPOCALLOWDLLDATA = 1
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   132
    TARGET.CAPABILITY = ALL \
68
hgs
parents: 56
diff changeset
   133
        -TCB 
hgs
parents: 56
diff changeset
   134
    TARGET.CAPABILITY += CAP_ECOM_PLUGIN
hgs
parents: 56
diff changeset
   135
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   136
    TARGET.UID2 = 0x1000008D
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   137
    TARGET.UID3 = 0x2002C366
68
hgs
parents: 56
diff changeset
   138
    MMP_RULES += "SYSTEMINCLUDE /epoc32/include/ecom" 
hgs
parents: 56
diff changeset
   139
hgs
parents: 56
diff changeset
   140
     LIBS += -lnmailbase \
hgs
parents: 56
diff changeset
   141
     -limcm \
hgs
parents: 56
diff changeset
   142
     -lxqsettingsmanager \
hgs
parents: 56
diff changeset
   143
     -lxqutils \
hgs
parents: 56
diff changeset
   144
     -lnmailuiengine \
hgs
parents: 56
diff changeset
   145
     -lFSFWCommonLib \
hgs
parents: 56
diff changeset
   146
     -lECom \
hgs
parents: 56
diff changeset
   147
     -lxqserviceutil \
hgs
parents: 56
diff changeset
   148
     -lefsrv 
hgs
parents: 56
diff changeset
   149
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   150
    defBlock = \      
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   151
      "$${LITERAL_HASH}if defined(MARM)" \
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   152
      "DEFFILE  eabi/nmailclientapi.def" \
68
hgs
parents: 56
diff changeset
   153
      "$${LITERAL_HASH}else" \
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   154
      "DEFFILE  bwins/nmailclientapi.def" \
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   155
      "$${LITERAL_HASH}endif"
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   156
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   157
    MMP_RULES += defBlock
68
hgs
parents: 56
diff changeset
   158
    MMP_RULES += SMPSAFE
74
hgs
parents: 68
diff changeset
   159
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   160
     BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
74
hgs
parents: 68
diff changeset
   161
    "rom/nmailclientapi.iby CORE_APP_LAYER_IBY_EXPORT_PATH(nmailclientapi.iby)"
18
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   162
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   163
}
578830873419 Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   164