lowlevellibsandfws/apputils/tsrc/T_LIBT.CPP
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 02:56:42 +0300
changeset 68 ff3fc7722556
parent 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201039 Kit: 201039

// Copyright (c) 1997-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:
// Started by Brendan, Dec 1996
// Test library unloader
// 
//

#include "T_LIBT.H"

IMPORT_C CLibTest* LibEntry();	// Force export 

NONSHARABLE_CLASS(CMyLibTest) : public CLibTest
	{
public:
	CMyLibTest();
	TInt Test1() const;
	TInt Test2() const;
	TInt Test3();
	};

CMyLibTest::CMyLibTest()
	{
	__DECLARE_NAME(_S("CMyLibTest"));
	}

TInt CMyLibTest::Test1() const
	{
	return(1);
	}
	
TInt CMyLibTest::Test2() const
	{
	return(2);
	}

TInt CMyLibTest::Test3()
	{
	return(3);
	}

EXPORT_C CLibTest* LibEntry()
//
// Lib main entry point
//
	{
	return(new(ELeave) CMyLibTest);
	}