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