connectivity/com.nokia.tcf/native/TCFNative/TCFProtOST/TCFProtOST.h
author fturovic <frank.turovich@nokia.com>
Mon, 04 Jan 2010 11:37:56 -0600
branchRCL_2_4
changeset 738 ff927d0c0d96
parent 60 9d2210c8eed2
permissions -rw-r--r--
BUG 10333 - added note on using check for updates before running install new software

/*
* 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 the License "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: 
*
*/
#include "BaseProtocol.h"
// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the TCFPROTOST_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// TCFPROTOST_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef TCFPROTOST_EXPORTS
#define TCFPROTOST_API __declspec(dllexport)
#else
#define TCFPROTOST_API __declspec(dllimport)
#endif

#ifdef __cplusplus
extern "C" {
#endif

TCFPROTOST_API const char* RegisterProtocol();
TCFPROTOST_API CBaseProtocol* CreateProtocol();

#ifdef __cplusplus
}
#endif