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 HWRMUIPLUGINHANDLER_H |
|
17 #define HWRMUIPLUGINHANDLER_H |
|
18 |
|
19 #include <e32base.h> |
|
20 #include "hwrmuipluginservice.h" |
|
21 |
|
22 /* |
|
23 * Plugin handler: encapsulates the plugin loading and unloading and |
|
24 * delegates requests onto plugin implementation |
|
25 */ |
|
26 class CHwrmUiPluginHandler : public CBase |
|
27 { |
|
28 public: |
|
29 static CHwrmUiPluginHandler* NewL(); |
|
30 virtual ~CHwrmUiPluginHandler(); |
|
31 |
|
32 private: |
|
33 CHwrmUiPluginHandler(); |
|
34 void ConstructL(); |
|
35 |
|
36 public: |
|
37 void AddForegroundObserverL(MHwrmForegroundObserver* aObserver); |
|
38 TBool InForeground() const; |
|
39 |
|
40 private: |
|
41 CHwrmUiPluginService* iUiPluginService; |
|
42 }; |
|
43 |
|
44 #endif // HWRMUIPLUGINHANDLER_H |
|
45 |
|
46 // End of File |