16 */ |
16 */ |
17 #ifndef TSRUNNINGAPPLICATION_H |
17 #ifndef TSRUNNINGAPPLICATION_H |
18 #define TSRUNNINGAPPLICATION_H |
18 #define TSRUNNINGAPPLICATION_H |
19 |
19 |
20 #include <e32base.h> |
20 #include <e32base.h> |
|
21 #include "tsentry.h" |
21 |
22 |
22 /** |
23 /** |
23 * Abstract interface of container with data to describe running application |
24 * Abstract interface of container with data to describe running application |
24 */ |
25 */ |
25 class MTsRunningApplication |
26 class MTsRunningApplication: public MTsEntry |
26 { |
27 { |
27 public: |
28 public: |
|
29 enum ApplicationHideMode |
|
30 { |
|
31 None = 0x0, |
|
32 Software = 0x1, |
|
33 System =0x2 |
|
34 }; |
|
35 |
28 /** |
36 /** |
29 * Provide access to application unique identifier |
37 * Provide access to application unique identifier |
30 * @return running application identyfier |
38 * @return running application identyfier |
31 */ |
39 */ |
32 virtual TUid UidL()const =0; |
40 virtual TUid Uid()const =0; |
33 |
|
34 /** |
|
35 * Provide access to application caption |
|
36 * @return running application caption |
|
37 */ |
|
38 virtual const TDesC& CaptionL() const =0; |
|
39 |
41 |
40 /** |
42 /** |
41 * Provide information if application is hidden from application library |
43 * Provide information if application is hidden from application library |
42 * @return EFalse if it's not hidden, other values it is. |
44 * @return EFalse if it's not hidden, other values it is. |
43 */ |
45 */ |
44 virtual TBool IsHiddenL() const =0; |
46 virtual ApplicationHideMode HideMode() const =0; |
45 |
47 |
46 /** |
48 virtual void SetHidden( TBool aHidden ) =0; |
47 * Provide information if application is required by the system and should be closed |
|
48 * @return EFalse if it's not system, other values it is. |
|
49 */ |
|
50 virtual TBool IsSystemL() const =0; |
|
51 |
49 |
|
50 virtual TBool IsSystem() const =0; |
52 /** |
51 /** |
53 * Provide access to process window group identifier |
52 * Provide access to process window group identifier |
54 * @return process window group identyfier |
53 * @return process window group identyfier |
55 */ |
54 */ |
56 virtual TInt WindowGroupId() const =0; |
55 virtual TInt WindowGroupId() const =0; |