|
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 TSRUNNINGAPP_H |
|
18 #define TSRUNNINGAPP_H |
|
19 |
|
20 #include <e32base.h> |
|
21 #include <w32std.h> |
|
22 |
|
23 #include "tsrunningapp.h" |
|
24 |
|
25 class CApaWindowGroupName; |
|
26 class MTsResourceManager; |
|
27 |
|
28 class CTsRunningApp: public CBase, |
|
29 public MTsRunningApplication |
|
30 { |
|
31 public: |
|
32 static CTsRunningApp* NewLC( MTsResourceManager& aResources, |
|
33 const RWsSession::TWindowGroupChainInfo& aInfo ); |
|
34 ~CTsRunningApp(); |
|
35 |
|
36 private: |
|
37 CTsRunningApp( MTsResourceManager& aResources, |
|
38 const RWsSession::TWindowGroupChainInfo& aInfo ); |
|
39 const CApaWindowGroupName& WindowGroupNameL() const; |
|
40 |
|
41 public://from MTsRunningApplication |
|
42 TUid UidL()const; |
|
43 const TDesC& CaptionL() const; |
|
44 TBool IsHiddenL() const; |
|
45 TBool IsSystemL() const; |
|
46 TInt WindowGroupId() const; |
|
47 TInt ParentWindowGroupId() const; |
|
48 TBool IsEmbeded() const; |
|
49 |
|
50 |
|
51 private: |
|
52 MTsResourceManager& iResources; |
|
53 const RWsSession::TWindowGroupChainInfo iWindowGroupInfo; |
|
54 mutable CApaWindowGroupName* iWindowGroupName; |
|
55 mutable TPtrC iCaption; |
|
56 }; |
|
57 |
|
58 #endif//TSRUNNINGAPP_H |