|
1 /* |
|
2 * Copyright (c) 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 #ifndef TSRESOURCEMANAGERIMP_H |
|
18 #define TSRESOURCEMANAGERIMP_H |
|
19 |
|
20 #include <e32base.h> |
|
21 #include <w32std.h> |
|
22 #include <apgcli.h> |
|
23 |
|
24 #include "tsresourcemanager.h" |
|
25 |
|
26 class CTsWindowGroupsMonitor; |
|
27 |
|
28 /** |
|
29 * Resource manager implemetatioin |
|
30 */ |
|
31 class CTsResourceManager: public CBase, |
|
32 public MTsResourceManager |
|
33 { |
|
34 public: |
|
35 /** |
|
36 * Two phase constructor |
|
37 */ |
|
38 static CTsResourceManager* NewL(); |
|
39 |
|
40 /** |
|
41 * Destructor |
|
42 */ |
|
43 ~CTsResourceManager(); |
|
44 |
|
45 /** |
|
46 * @see MTsResourceManager::WsSession |
|
47 */ |
|
48 RWsSession& WsSession(); |
|
49 |
|
50 /** |
|
51 * @see MTsResourceManager::ApaSession |
|
52 */ |
|
53 RApaLsSession& ApaSession(); |
|
54 |
|
55 MTsWindowGroupsMonitor& WsMonitor(); |
|
56 |
|
57 private: |
|
58 /** |
|
59 * Second phase constructor |
|
60 */ |
|
61 void ConstructL(); |
|
62 |
|
63 private: |
|
64 RWsSession mWsSession; |
|
65 RApaLsSession mApaSeesion; |
|
66 CTsWindowGroupsMonitor* iMonitor; |
|
67 |
|
68 }; |
|
69 |
|
70 #endif // TSRESOURCEMANAGER_H |