Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Client-side API which tests the session count server.
27 #ifndef SSCTESTCLIENT_H
28 #define SSCTESTCLIENT_H
30 #include <scs/scsclient.h>
32 _LIT(KDisableScsTestServerTimeout, "c:\\scstest_notimer");
34 class RScsTestSession : public RScsClientBase
36 Client-side handle to an SCS test session.
37 Provides an API from which synchronous and asynchronous
38 requests can be executed.
42 IMPORT_C RScsTestSession();
43 IMPORT_C TInt Connect();
44 IMPORT_C TInt Connect(const TVersion& aVersion);
46 IMPORT_C TInt SendCustomFunction(TInt aFunction);
48 IMPORT_C TInt NukeServer();
49 IMPORT_C TInt Double(TInt& aValue);
51 IMPORT_C void Treble(TDes8& aValue, TRequestStatus& aStatus);
52 IMPORT_C void CancelTreble();
55 class RScsTestSubsession : public RScsClientSubsessionBase
57 Provides an API from which synchronous and asynchronous
58 requests can be executed.
62 IMPORT_C RScsTestSubsession();
63 IMPORT_C TInt Create(RScsTestSession& aSession, TInt aValue);
65 IMPORT_C TInt SendFunction(TInt aFunction);
67 IMPORT_C TInt Quadruple(TInt& aResult);
69 IMPORT_C void Treble(TDes8& aValue, TRequestStatus& aRequestStatus);
70 IMPORT_C void CancelTreble();
73 #endif // #ifndef SSCTESTCLIENT_H