sl@0: // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32test\dll\t_dll.h sl@0: // sl@0: // sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: class TestDll sl@0: { sl@0: public: sl@0: IMPORT_C static TInt Data(); sl@0: IMPORT_C static void SetData(TInt aValue); sl@0: IMPORT_C static TUint Test1(); sl@0: IMPORT_C static TUint Test2(); sl@0: IMPORT_C static TUint Server(); sl@0: IMPORT_C static RSemaphore Sem(); sl@0: }; sl@0: sl@0: class TestDll1 sl@0: { sl@0: public: sl@0: IMPORT_C static TInt Data(); sl@0: IMPORT_C static void SetData(TInt aValue); sl@0: IMPORT_C static TUint Test1(); sl@0: IMPORT_C static TUint Test2(); sl@0: IMPORT_C static TUint Server(); sl@0: IMPORT_C static RSemaphore Sem(); sl@0: IMPORT_C static TInt Attach(TBool aAttach); sl@0: IMPORT_C static TInt GlobalAlloc(TInt aSize); sl@0: IMPORT_C static TBool GlobalAllocated(); sl@0: IMPORT_C static TInt GlobalRead(TInt aPos,TDes8 &aDes); sl@0: IMPORT_C static TInt GlobalWrite(TInt aPos,const TDesC8 &aDes); sl@0: }; sl@0: sl@0: class TestDll2 sl@0: { sl@0: public: sl@0: IMPORT_C static TInt Data(); sl@0: IMPORT_C static void SetData(TInt aValue); sl@0: IMPORT_C static TUint Test1(); sl@0: IMPORT_C static TUint Test2(); sl@0: IMPORT_C static TUint Server(); sl@0: IMPORT_C static RSemaphore Sem(); sl@0: IMPORT_C static TInt Attach(TBool aAttach); sl@0: IMPORT_C static TInt GlobalAlloc(TInt aSize); sl@0: IMPORT_C static TBool GlobalAllocated(); sl@0: IMPORT_C static TInt GlobalRead(TInt aPos,TDes8 &aDes); sl@0: IMPORT_C static TInt GlobalWrite(TInt aPos,const TDesC8 &aDes); sl@0: }; sl@0: