equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 __SSMCOMMANDUTILPROVIDER__ |
|
17 #define __SSMCOMMANDUTILPROVIDER__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <ssm/ssmstartsafe.h> |
|
21 #include <ssm/ssmloadsysmon.h> |
|
22 #include <f32file.h> |
|
23 |
|
24 /** |
|
25 Provides CSsmStartSafe and RSysMonSession objects |
|
26 @internalComponent |
|
27 @released |
|
28 */ |
|
29 NONSHARABLE_CLASS (CSsmCommandUtilProvider) : public CBase |
|
30 { |
|
31 public: |
|
32 IMPORT_C static CSsmCommandUtilProvider* NewL(); |
|
33 IMPORT_C ~CSsmCommandUtilProvider(); |
|
34 |
|
35 MSsmLoadSysMon& SysMonSessionL(); |
|
36 RFs& RfsL(); |
|
37 CSsmStartSafe& StartSafe(); |
|
38 |
|
39 private: |
|
40 CSsmCommandUtilProvider(); |
|
41 void ConstructL(); |
|
42 void LoadMonitorProxyLibL(); |
|
43 |
|
44 private: |
|
45 CSsmStartSafe* iStartSafe; |
|
46 MSsmLoadSysMon* iSysMonSession; |
|
47 RFs iFs; |
|
48 RLibrary iSysMonProxyLib; |
|
49 }; |
|
50 |
|
51 #endif //__SSMCOMMANDUTILPROVIDER__ |