|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #if (!defined __T_BT_SOCK__API_SERVER_H__) |
|
20 #define __T_BT_SOCK__API_SERVER_H__ |
|
21 |
|
22 // EPOC Includes |
|
23 #include <rsshared.h> |
|
24 #include <test/testblockcontroller.h> |
|
25 #include <test/testserver2.h> |
|
26 |
|
27 // User Includes |
|
28 #include "T_CBluetoothSocketData.h" |
|
29 |
|
30 #include "T_RfcommSockAddrData.h" |
|
31 #include "T_BTServiceSecurityData.h" |
|
32 #include "T_BTSockAddrData.h" |
|
33 #include "T_SockAddrData.h" |
|
34 #include "T_RSocketData.h" |
|
35 #include "T_BTDevAddrData.h" |
|
36 |
|
37 |
|
38 class CTestBlock : public CTestBlockController |
|
39 { |
|
40 public: |
|
41 inline CTestBlock(); |
|
42 inline ~CTestBlock(); |
|
43 |
|
44 inline CDataWrapper* CreateDataL( const TDesC& aData ); |
|
45 }; |
|
46 |
|
47 class CT_BTSockAPIServer : public CTestServer2 |
|
48 { |
|
49 public: |
|
50 inline CT_BTSockAPIServer(); |
|
51 inline ~CT_BTSockAPIServer(); |
|
52 |
|
53 static CT_BTSockAPIServer* NewL(); |
|
54 |
|
55 inline CTestBlockController* CreateTestBlock(); |
|
56 }; |
|
57 |
|
58 #include "T_BTSockAPIServer.inl" |
|
59 |
|
60 #endif /* __T_BT_SOCK__API_SERVER_H__ */ |