linklayercontrol/networkinterfacemgr/src/RemovedExports.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:45:15 +0300
branchRCL_3
changeset 57 abbed5a4b42a
parent 0 af10295192d8
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// Copyright (c) 2003-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:
//

/**
 @file
 @internalComponent
*/

#include <e32def.h>
#include <comms-infras/nifagt.h>

GLDEF_C void ImportPanic()
	{
	_LIT(KLDRIMPORT, "LDR-IMPORT");
	const TInt KLdrImportedOrdinalDoesNotExist = 2;
	
	User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
	}

/**
.def file placeholder for CNifCompanionSession, obsolete in this version.
*/
extern "C"
	{
	EXPORT_C void NonExistentImport1(){ImportPanic();}
	}


#if defined(__EABI__) || defined(__X86GCC__)
/*
.def file placeholders for RVCT EABI compliant compiler - when CSD agent includes nifutl.h it gets an
extra export of the run time info for MComm, thus removed for EABI builds and replaced with these
*/

extern "C"
	{
	EXPORT_C void MCommReplacementImport1() { ImportPanic(); }
	EXPORT_C void MCommReplacementImport2() { ImportPanic(); }
	EXPORT_C void MCommReplacementImport3() { ImportPanic(); }
	EXPORT_C void MTimerReplacementImport1() { ImportPanic(); }
	EXPORT_C void MTimerReplacementImport2() { ImportPanic(); }	
	EXPORT_C void MTimerReplacementImport3() { ImportPanic(); }	
	}

#endif