66 CLiwGenericParamList& aEventParamList, |
67 CLiwGenericParamList& aEventParamList, |
67 const CLiwGenericParamList& aInParamList); |
68 const CLiwGenericParamList& aInParamList); |
68 |
69 |
69 public: |
70 public: |
70 TSize BitmapSize(); |
71 TSize BitmapSize(); |
71 void PublishBitmapL( CFbsBitmap& aBitmap, const TDesC& aBundleName ); |
72 void PublishBitmapL( CFbsBitmap& aBitmap, const TDesC& aBundleName ); |
72 void NetworkConnectionCancelledL(); |
73 void NetworkConnectionCancelledL(); |
73 void NetworkConnectionAllowedL(); |
74 void NetworkConnectionAllowedL(); |
|
75 void PublishScreenshotL(const TDesC& aWidget, TInt aWidgetId, |
|
76 CFbsBitmap* aBmp); |
|
77 |
|
78 void ClearScreenshotL(const TDesC& aWidget, TInt aWidgetId); |
74 |
79 |
75 private: |
80 private: |
76 void GetBitmapSizeL(); |
81 void GetBitmapSizeL(); |
77 void InitCpsInterfaceL(); |
82 void InitCpsInterfaceL(); |
78 |
83 |
79 void AddImageHandleL( const TDesC& aBundleId, const TInt& aHandle, |
84 void AddImageHandleL( const TDesC& aBundleId, const TInt& aHandle, |
80 const TInt& aMaskHandle, const TDesC8& aImageKey ); |
85 const TInt& aMaskHandle, const TDesC8& aImageKey ); |
81 void ExecuteCommandL(CLiwDefaultMap* aInFilter, CLiwDefaultMap* aOutDataMap, |
86 void ExecuteCommandL(CLiwDefaultMap* aInFilter, CLiwDefaultMap* aOutDataMap, |
82 const TDesC16& aRegistry ); |
87 const TDesC16& aRegistry ); |
83 void ExecuteRegistrationCommandL( TUint aOption ); |
88 void ExecuteRegistrationCommandL( TUint aOption ); |
|
89 void StoreBitmapL(TInt aWidgetId, CFbsBitmap* aBmp); |
|
90 void RemoveBitmapL(TInt aWidgetId); |
|
91 void PublishScreenshotToCpsL(const TDesC& aWidget, |
|
92 TInt aWidgetId, TInt aBitmap); |
|
93 void RemoveScreenshotFromCpsL(const TDesC& aWidget); |
|
94 |
84 private: |
95 private: |
85 |
96 |
86 CFbsBitmap* iMaskBitmap; |
97 CFbsBitmap* iMaskBitmap; |
87 MLiwInterface* iCpsInterface; |
98 MLiwInterface* iCpsInterface; |
88 CLiwServiceHandler* iServiceHandler; |
99 CLiwServiceHandler* iServiceHandler; |
89 TSize iSize; |
100 TSize iSize; |
|
101 /** |
|
102 * Hash table storing the screenshots. |
|
103 * Key: window group id for the screenshot |
|
104 * (the one received in ApplicationChange) |
|
105 * Value: CFbsBitmap*, pointers owned |
|
106 */ |
|
107 RHashMap<TInt, CFbsBitmap*> iScreenshots; |
90 |
108 |
91 }; |
109 }; |
92 |
110 |
93 #endif |
111 #endif |