equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008-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 the License "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 |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 */ |
|
23 |
|
24 #ifndef PLUGINOBSERVER_H |
|
25 #define PLUGINOBSERVER_H |
|
26 |
|
27 #include <e32cmn.h> |
|
28 #include <ecom/ecom.h> |
|
29 |
|
30 namespace AuthServer |
|
31 { |
|
32 class CPluginMgr; |
|
33 |
|
34 class CPluginObserver : public CActive |
|
35 { |
|
36 public: |
|
37 |
|
38 static CPluginObserver* NewLC(CPluginMgr& aPluginMgr); |
|
39 static CPluginObserver* NewL(CPluginMgr& aPluginMgr); |
|
40 virtual ~CPluginObserver(); |
|
41 |
|
42 private: |
|
43 |
|
44 // From CActive, used for dynamically updating the list of authentication plugins. |
|
45 virtual void DoCancel(); |
|
46 virtual void RunL(); |
|
47 TInt RunError(TInt aError); |
|
48 |
|
49 CPluginObserver(CPluginMgr& aPluginMgr); |
|
50 void ConstructL(); |
|
51 |
|
52 private: |
|
53 |
|
54 REComSession* iEcomSession; |
|
55 CPluginMgr& iPluginMgr; |
|
56 }; |
|
57 |
|
58 } //namespace |
|
59 |
|
60 #endif |
|