|
1 /* |
|
2 * Copyright (c) 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 "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 #ifndef TSRUNNINGAPPLICATIONSTORAGE_H |
|
18 #define TSRUNNINGAPPLICATIONSTORAGE_H |
|
19 |
|
20 #include <e32base.h> |
|
21 class MTsRunningApplication; |
|
22 |
|
23 /** |
|
24 * Abstract interface of container with running applications desctiptors |
|
25 */ |
|
26 class MTsRunningApplicationStorage |
|
27 { |
|
28 public: |
|
29 /** |
|
30 * Provide access to running applications |
|
31 * @param aOffset - index of running application |
|
32 * @return running application entry |
|
33 */ |
|
34 virtual const MTsRunningApplication& operator[] ( TInt aOffset ) const=0; |
|
35 |
|
36 /** |
|
37 * Provide information about number of running applications |
|
38 * @return number of running applications |
|
39 */ |
|
40 virtual TInt Count() const =0; |
|
41 |
|
42 /** |
|
43 * @param aRunningApp embeded application entry |
|
44 * @return index of parent of embeded application |
|
45 */ |
|
46 virtual TInt ParentIndex( const MTsRunningApplication& aRunningApp ) const =0; |
|
47 |
|
48 /** |
|
49 * Provide access to windows groups that were blocked( servers, applications without UI ) |
|
50 * @return list of blocked window groups |
|
51 */ |
|
52 virtual TArray<TInt> BlockedWindowGroups() const =0; |
|
53 |
|
54 }; |
|
55 |
|
56 #endif //TSRUNNINGAPPLICATIONSTORAGE_H |