equal
deleted
inserted
replaced
|
1 // Copyright (c) 2010 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 // Provide an alternative to the apgrfx to avoid a dependency on middleware |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef __APGRFXFACADE_H__ |
|
23 #define __APGRFXFACADE_H__ |
|
24 |
|
25 #include <e32std.h> |
|
26 #include <w32std.h> |
|
27 |
|
28 class TApaTaskFacade : public CBase |
|
29 { |
|
30 public: |
|
31 TApaTaskFacade(RWsSession& aSession); |
|
32 TApaTaskFacade(const TApaTaskFacade& aTaskFacade); |
|
33 ~TApaTaskFacade(); |
|
34 void BringToForeground(); |
|
35 void SetWgId(TInt aWgId); |
|
36 private: |
|
37 RWsSession& iSession; |
|
38 TInt iWgId; |
|
39 }; |
|
40 |
|
41 class TApaTaskListFacade : public CBase |
|
42 { |
|
43 public: |
|
44 TApaTaskListFacade(RWsSession& aSession); |
|
45 ~TApaTaskListFacade(); |
|
46 TApaTaskFacade FindByPos(TInt aPos); |
|
47 private: |
|
48 void FindByPosL(TApaTaskFacade& aTask,TInt aPos); |
|
49 private: |
|
50 RWsSession& iSession; |
|
51 }; |
|
52 |
|
53 #endif // __APGRFXFACADE_H__ |