email_plat/nmail_client_api/inc/nmapidef.h
author hgs
Thu, 30 Sep 2010 11:43:07 +0300
changeset 74 6c59112cfd31
parent 23 email_plat/nmail_client_api/nmapidef.h@2dc6caa42ec3
permissions -rw-r--r--
201039

/*
 * 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:
 *
 */

#ifndef NMAPIENGINEDEF_H_
#define NMAPIENGINEDEF_H_

#include <QtGlobal>

#if defined(Q_OS_WIN)
#define NMAPI_EXPORT __declspec(dllexport)
#else

#if defined(BUILD_EMAIL_API_DLL)
#define NMAPI_EXPORT Q_DECL_EXPORT
#else
#define NMAPI_EXPORT Q_DECL_IMPORT
#endif

#endif

#endif /* NMAPIENGINEDEF_H_ */