equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-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 #ifndef PBAPSESSION_H |
|
17 #define PBAPSESSION_H |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 // forward declarations |
|
22 class CPbapServer; |
|
23 |
|
24 /** |
|
25 PBAP Server Session. |
|
26 */ |
|
27 class CPbapSession : public CSession2 |
|
28 { |
|
29 public: |
|
30 CPbapSession(); |
|
31 ~CPbapSession(); |
|
32 |
|
33 CPbapServer& Server(); |
|
34 |
|
35 public: |
|
36 // from CSession2 |
|
37 void CreateL(); |
|
38 void ServiceL(const RMessage2 &aMessage); |
|
39 void ServiceError(const RMessage2 &aMessage, TInt aError); |
|
40 |
|
41 private: |
|
42 void CompleteRequest(const RMessage2& aMessage, TInt aResult); |
|
43 }; |
|
44 |
|
45 #endif // PBAPSESSION_H |