equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-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 SESSMGR_H |
|
17 #define SESSMGR_H |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 class CServerSession; |
|
22 //class CObjectConIx; |
|
23 |
|
24 class CSessionManager : public CServer2 |
|
25 { |
|
26 public: |
|
27 static CSessionManager* NewLC(); |
|
28 |
|
29 CObjectCon* NewContainerL(); |
|
30 void RemoveContainer(CObjectCon *aCon); |
|
31 |
|
32 private: |
|
33 CSessionManager(); |
|
34 void ConstructL(); |
|
35 virtual ~CSessionManager(); |
|
36 |
|
37 CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const; |
|
38 |
|
39 private: |
|
40 // an object container index that creates an object container for each session. |
|
41 CObjectConIx* iContainerIx; |
|
42 }; |
|
43 |
|
44 #endif // SESSMGR_H |