phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/inc/ccappcommlauncherheadercontrol.h
--- a/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/inc/ccappcommlauncherheadercontrol.h Tue Feb 02 10:12:17 2010 +0200
+++ b/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/inc/ccappcommlauncherheadercontrol.h Fri Feb 19 22:40:27 2010 +0200
@@ -22,6 +22,7 @@
// INCLUDES
#include <eikmobs.h>
#include "ccappcommlauncherheaders.h"
+#include <ccappimagedecoding.h>
// FORWARD DECLARATIONS
class CEikImage;
@@ -42,7 +43,10 @@
* @lib ccappcommlauncherplugin.dll
* @since S60 v5.0
*/
-class CCCAppCommLauncherHeaderControl : public CCoeControl, public MEikMenuObserver
+class CCCAppCommLauncherHeaderControl :
+ public CCoeControl,
+ public MEikMenuObserver,
+ public MCCAppImageDecodingObserver
{
public:
// Construction & destruction
@@ -130,10 +134,16 @@
TKeyResponse OfferKeyEventL(
const TKeyEvent& aKeyEvent, TEventCode aType);
+ inline void SetStatusButtonVisibility( TBool aVisible )
+ { iStatusButtonVisibility = aVisible; }
+
public: // MEikMenuObserver
virtual void ProcessCommandL(TInt aCommandId);
virtual void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
+private: // from MCCAppImageDecodingObserver
+ void BitmapReadyL( CFbsBitmap* aBitmap );
+
private:
/**
@@ -219,7 +229,7 @@
* Active listener to make asynchronic operation synchronic
* Own.
*/
- CCCAppCommLauncherImageDecoding* iImageDecoding;
+ CCCAppImageDecoding* iImageDecoding;
/**
* Helper for ordering the texts
@@ -279,6 +289,8 @@
* Own
*/
HBufC8* iContactThumbnailData;
+
+ TBool iStatusButtonVisibility;
};
#endif // CCCAPPCOMMLAUNCHERHEADERCONTROL_H