equal
deleted
inserted
replaced
|
1 // btserialserver.h |
|
2 // |
|
3 // Copyright (c) 2008 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #ifndef __BTSERIALSERVER_H__ |
|
14 #define __BTSERIALSERVER_H__ |
|
15 |
|
16 #include <e32base.h> |
|
17 #include "btserialclientserver.h" |
|
18 |
|
19 class CBtSerialSession; |
|
20 |
|
21 class CBtSerialServer : public CServer2 |
|
22 { |
|
23 public: |
|
24 static CServer2* NewLC(); |
|
25 void DropSession(); |
|
26 private: |
|
27 CBtSerialServer(); |
|
28 void ConstructL(); |
|
29 CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const; |
|
30 private: |
|
31 CBtSerialSession* iSession; |
|
32 }; |
|
33 |
|
34 #endif //__BTSERIALSERVER_H__ |