|
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: Inline implementation for Window server plug-in manager. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef AIWSPLUGINANIM_H |
|
21 #define AIWSPLUGINANIM_H |
|
22 |
|
23 #include <w32std.h> |
|
24 #include "aiwspluginanimdef.h" |
|
25 |
|
26 class RAiWsPluginAnim : public RAnim |
|
27 { |
|
28 public: // constructor |
|
29 |
|
30 /** |
|
31 * c++ constructor |
|
32 * @param aDll |
|
33 */ |
|
34 inline RAiWsPluginAnim( RAnimDll &aDll ) : RAnim( aDll ) {} |
|
35 |
|
36 |
|
37 /** |
|
38 * Constructor |
|
39 * @param aDevice a window device |
|
40 * @param aIdleWg window group id of idle application |
|
41 * @param aConsumerWg window group id of the application handling |
|
42 * numeric keys on behalf of idle. |
|
43 */ |
|
44 inline TInt Construct( |
|
45 const RWindowBase& aDevice, |
|
46 TInt aIdleWg, |
|
47 TInt aConsumerWg ) |
|
48 { |
|
49 TPckgBuf<TAiWsPluginAnimInitData> init; |
|
50 init().iAiWgId = aIdleWg; |
|
51 init().iTargetWgId = aConsumerWg; |
|
52 |
|
53 return RAnim::Construct( aDevice, EAnimKeyForward, init ); |
|
54 } |
|
55 |
|
56 }; |
|
57 |
|
58 #endif // AIWSPLUGINANIM_H |