equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Window server plug-in manager. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_AIWSPLUGINMANAGERIMPL_H |
|
20 #define C_AIWSPLUGINMANAGERIMPL_H |
|
21 |
|
22 #include "aiwspluginmanager.h" |
|
23 #include "aiwspluginanimdef.h" |
|
24 #include "aiwspluginanim.inl" |
|
25 |
|
26 class CCoeEnv; |
|
27 class RWsSession; |
|
28 class MAiPSPropertyObserver; |
|
29 |
|
30 /** |
|
31 * Attaches Active Idle as the default idle app for Phone application. |
|
32 */ |
|
33 NONSHARABLE_CLASS( CAiWsPluginManagerImpl ) : public CAiWsPluginManager |
|
34 { |
|
35 public: |
|
36 static CAiWsPluginManagerImpl* NewL(CCoeEnv& aCoeEnv); |
|
37 ~CAiWsPluginManagerImpl(); |
|
38 |
|
39 private: |
|
40 // Construction |
|
41 CAiWsPluginManagerImpl(RWsSession& aWsSession); |
|
42 void ConstructL(CCoeEnv& aCoeEnv); |
|
43 |
|
44 private: |
|
45 void TryLoadWsPluginL(); |
|
46 static TInt HandlePhoneEvent( TAny* aPtr ); |
|
47 |
|
48 private: // data |
|
49 RAnimDll iAnimDll; |
|
50 RWindow iWnd; |
|
51 RAiWsPluginAnim iAnim; |
|
52 CCoeEnv* iCoeEnv; |
|
53 MAiPSPropertyObserver* iPhoneStatusObserver; |
|
54 }; |
|
55 |
|
56 |
|
57 #endif // C_AIWSPLUGINMANAGERIMPL_H |
|
58 |