equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Classes for executing Graphics OOM actions (e.g. closing applications and running plugins). |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GOOMACTIONLISTINL_H_ |
|
20 #define GOOMACTIONLISTINL_H_ |
|
21 |
|
22 template <class T> |
|
23 inline TInt CGOomPluginList<T>::Count() |
|
24 { |
|
25 return iPlugins.Count(); |
|
26 } |
|
27 |
|
28 template <class T> |
|
29 inline T& CGOomPluginList<T>::Implementation(TInt aIndex) |
|
30 { |
|
31 return *(iPlugins[aIndex].iImpl); |
|
32 } |
|
33 |
|
34 template <class T> |
|
35 inline TInt32 CGOomPluginList<T>::Uid(TInt aIndex) |
|
36 { |
|
37 return iPlugins[aIndex].iUid; |
|
38 } |
|
39 |
|
40 inline void CGOomActionList::SetCurrentTarget(TUint aCurrentTarget) |
|
41 { |
|
42 iCurrentTarget = aCurrentTarget; |
|
43 } |
|
44 |
|
45 |
|
46 #endif /*GOOMACTIONLISTINL_H_*/ |