email_plat/nmail_client_api/inc/nmapidef.h
changeset 74 6c59112cfd31
parent 23 2dc6caa42ec3
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef NMAPIENGINEDEF_H_
       
    19 #define NMAPIENGINEDEF_H_
       
    20 
       
    21 #include <QtGlobal>
       
    22 
       
    23 #if defined(Q_OS_WIN)
       
    24 #define NMAPI_EXPORT __declspec(dllexport)
       
    25 #else
       
    26 
       
    27 #if defined(BUILD_EMAIL_API_DLL)
       
    28 #define NMAPI_EXPORT Q_DECL_EXPORT
       
    29 #else
       
    30 #define NMAPI_EXPORT Q_DECL_IMPORT
       
    31 #endif
       
    32 
       
    33 #endif
       
    34 
       
    35 #endif /* NMAPIENGINEDEF_H_ */