1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/dll/t_dll.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,66 @@
1.4 +// Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32test\dll\t_dll.h
1.18 +//
1.19 +//
1.20 +
1.21 +#include <e32std.h>
1.22 +#include <e32base.h>
1.23 +#include <e32test.h>
1.24 +#include <e32svr.h>
1.25 +#include <e32ver.h>
1.26 +
1.27 +class TestDll
1.28 + {
1.29 +public:
1.30 + IMPORT_C static TInt Data();
1.31 + IMPORT_C static void SetData(TInt aValue);
1.32 + IMPORT_C static TUint Test1();
1.33 + IMPORT_C static TUint Test2();
1.34 + IMPORT_C static TUint Server();
1.35 + IMPORT_C static RSemaphore Sem();
1.36 + };
1.37 +
1.38 +class TestDll1
1.39 + {
1.40 +public:
1.41 + IMPORT_C static TInt Data();
1.42 + IMPORT_C static void SetData(TInt aValue);
1.43 + IMPORT_C static TUint Test1();
1.44 + IMPORT_C static TUint Test2();
1.45 + IMPORT_C static TUint Server();
1.46 + IMPORT_C static RSemaphore Sem();
1.47 + IMPORT_C static TInt Attach(TBool aAttach);
1.48 + IMPORT_C static TInt GlobalAlloc(TInt aSize);
1.49 + IMPORT_C static TBool GlobalAllocated();
1.50 + IMPORT_C static TInt GlobalRead(TInt aPos,TDes8 &aDes);
1.51 + IMPORT_C static TInt GlobalWrite(TInt aPos,const TDesC8 &aDes);
1.52 + };
1.53 +
1.54 +class TestDll2
1.55 + {
1.56 +public:
1.57 + IMPORT_C static TInt Data();
1.58 + IMPORT_C static void SetData(TInt aValue);
1.59 + IMPORT_C static TUint Test1();
1.60 + IMPORT_C static TUint Test2();
1.61 + IMPORT_C static TUint Server();
1.62 + IMPORT_C static RSemaphore Sem();
1.63 + IMPORT_C static TInt Attach(TBool aAttach);
1.64 + IMPORT_C static TInt GlobalAlloc(TInt aSize);
1.65 + IMPORT_C static TBool GlobalAllocated();
1.66 + IMPORT_C static TInt GlobalRead(TInt aPos,TDes8 &aDes);
1.67 + IMPORT_C static TInt GlobalWrite(TInt aPos,const TDesC8 &aDes);
1.68 + };
1.69 +