equal
deleted
inserted
replaced
25 #include <AknIconSrvClient.h> |
25 #include <AknIconSrvClient.h> |
26 #include <fbs.h> |
26 #include <fbs.h> |
27 #include <apgwgnam.h> |
27 #include <apgwgnam.h> |
28 #include <QSizeF> |
28 #include <QSizeF> |
29 #include <camenuiconutility.h> |
29 #include <camenuiconutility.h> |
|
30 #include <apgcli.h> |
30 |
31 |
31 #include "tsdatalist.h" |
32 #include "tsdatalist.h" |
32 #include "tsentrykeygenerator.h" |
33 #include "tsentrykeygenerator.h" |
33 #include "tsscreenshotmsg.h" |
34 #include "tsscreenshotmsg.h" |
34 #include "tsunregscreenshotmsg.h" |
35 #include "tsunregscreenshotmsg.h" |
35 #include "tsvisibilitymsg.h" |
36 #include "tsvisibilitymsg.h" |
|
37 #include "tsresourcemanager.h" |
|
38 #include "tsrunningapp.h" |
|
39 #include "tsrunningappstorage.h" |
36 |
40 |
37 // size for the created app icons |
41 // size for the created app icons |
38 const TInt KAppIconWidth = 128; |
42 const TInt KAppIconWidth = 128; |
39 const TInt KAppIconHeight = 128; |
43 const TInt KAppIconHeight = 128; |
40 |
44 |
46 // -------------------------------------------------------------------------- |
50 // -------------------------------------------------------------------------- |
47 /** |
51 /** |
48 * Two-phased constructor. |
52 * Two-phased constructor. |
49 */ |
53 */ |
50 CTsDataList* CTsDataList::NewL( MTsResourceManager& aResources, |
54 CTsDataList* CTsDataList::NewL( MTsResourceManager& aResources, |
51 MTsWindowGroupsMonitor& aMonitor, |
|
52 MTsDataObserver& aObserver, |
55 MTsDataObserver& aObserver, |
53 TsEnv& aEnv ) |
56 TsEnv& aEnv ) |
54 { |
57 { |
55 CTsDataList* self = new (ELeave) CTsDataList( aResources, |
58 CTsDataList* self = new (ELeave) CTsDataList( aResources, |
56 aMonitor, |
|
57 aObserver, |
59 aObserver, |
58 aEnv); |
60 aEnv); |
59 CleanupStack::PushL( self ); |
61 CleanupStack::PushL( self ); |
60 self->ConstructL(); |
62 self->ConstructL(); |
61 CleanupStack::Pop( self ); |
63 CleanupStack::Pop( self ); |
65 // -------------------------------------------------------------------------- |
67 // -------------------------------------------------------------------------- |
66 /** |
68 /** |
67 * Constructor. |
69 * Constructor. |
68 */ |
70 */ |
69 CTsDataList::CTsDataList(MTsResourceManager& aResources, |
71 CTsDataList::CTsDataList(MTsResourceManager& aResources, |
70 MTsWindowGroupsMonitor &aMonitor, |
|
71 MTsDataObserver& aObserver, |
72 MTsDataObserver& aObserver, |
72 TsEnv& aEnv) |
73 TsEnv& aEnv) |
73 : |
74 : |
74 CTsWindowGroupsObserver( aMonitor ), |
75 CTsWindowGroupsObserverBase( aResources.WsMonitor() ), |
75 iResources( aResources ), |
76 iResources( aResources ), |
76 iObserver( aObserver ), |
77 iObserver( aObserver ), |
77 iEnv( aEnv ) |
78 iEnv( aEnv ) |
78 { |
79 { |
79 } |
80 } |