equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 #include <e32base.h> |
|
18 |
|
19 |
|
20 /** |
|
21 Testserver is launched with commandline parameter defined in testprocgoodsession.h |
|
22 */ |
|
23 class CTestServerGood : public CServer2 |
|
24 { |
|
25 public: |
|
26 static CServer2* NewLC(); |
|
27 ~CTestServerGood(); |
|
28 |
|
29 // from CServer2 |
|
30 CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const; |
|
31 |
|
32 private: |
|
33 CTestServerGood(); |
|
34 void ConstructL(); |
|
35 }; |
|
36 |
|
37 /** |
|
38 Session to enable interaction with server |
|
39 */ |
|
40 class CTestServerGoodSession : public CSession2 |
|
41 { |
|
42 public: |
|
43 // from CSession2 |
|
44 void ServiceL(const RMessage2& aMessage); |
|
45 }; |