crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianNativeTools/Include/SymbianNativeToolsApi.h
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     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 #ifndef SYMBIANNATIVETOOLSAPI_H
       
    18 #define SYMBIANNATIVETOOLSAPI_H
       
    19 
       
    20 // from a DLL simpler. All files within this DLL are compiled with the SYMBIAN_NATIVE_TOOLS_EXPORTS
       
    21 // symbol defined on the command line. this symbol should not be defined on any project
       
    22 // that uses this DLL. This way any other project whose source files include this file see 
       
    23 // SYMBIANBYTEPAIRLIB_API functions as being imported from a DLL, whereas this DLL sees symbols
       
    24 // defined with this macro as being exported.
       
    25 #ifdef SYMBIAN_NATIVE_TOOL_EXPORTS
       
    26 #define SYMBIANNATIVETOOL_API __declspec(dllexport)
       
    27 #else
       
    28 #define SYMBIANNATIVETOOL_API __declspec(dllimport)
       
    29 #endif
       
    30 
       
    31 // User includes
       
    32 #include "e32defwrap.h"
       
    33 
       
    34 #endif