phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/inc/ccappcommlauncherheadercontrol.h
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
child 14 81f8547efd4f
equal deleted inserted replaced
0:e686773b3f54 3:04ab22b956c2
    20 #define CCCAPPCOMMLAUNCHERHEADERCONTROL_H
    20 #define CCCAPPCOMMLAUNCHERHEADERCONTROL_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include <eikmobs.h>
    23 #include <eikmobs.h>
    24 #include "ccappcommlauncherheaders.h"
    24 #include "ccappcommlauncherheaders.h"
       
    25 #include <ccappimagedecoding.h>
    25 
    26 
    26 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    27 class CEikImage;
    28 class CEikImage;
    28 class CEikLabel;
    29 class CEikLabel;
    29 class CCCAppCommLauncherImageDecoding;
    30 class CCCAppCommLauncherImageDecoding;
    40  *  @endcode
    41  *  @endcode
    41  *
    42  *
    42  *  @lib ccappcommlauncherplugin.dll
    43  *  @lib ccappcommlauncherplugin.dll
    43  *  @since S60 v5.0
    44  *  @since S60 v5.0
    44  */
    45  */
    45 class CCCAppCommLauncherHeaderControl : public CCoeControl,  public MEikMenuObserver 
    46 class CCCAppCommLauncherHeaderControl : 
       
    47             public CCoeControl,  
       
    48             public MEikMenuObserver, 
       
    49             public MCCAppImageDecodingObserver
    46     {
    50     {
    47 public:
    51 public:
    48     // Construction & destruction
    52     // Construction & destruction
    49     /**
    53     /**
    50      * Two-phased constructor.
    54      * Two-phased constructor.
   128      * (see details from baseclass )
   132      * (see details from baseclass )
   129      */
   133      */
   130     TKeyResponse OfferKeyEventL(
   134     TKeyResponse OfferKeyEventL(
   131         const TKeyEvent& aKeyEvent, TEventCode aType);
   135         const TKeyEvent& aKeyEvent, TEventCode aType);
   132 
   136 
       
   137     inline void SetStatusButtonVisibility( TBool aVisible )
       
   138         { iStatusButtonVisibility = aVisible; }
       
   139     
   133 public: // MEikMenuObserver
   140 public: // MEikMenuObserver
   134      virtual void ProcessCommandL(TInt aCommandId);
   141      virtual void ProcessCommandL(TInt aCommandId);
   135      virtual void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
   142      virtual void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
   136 
   143 
       
   144 private:    // from MCCAppImageDecodingObserver
       
   145      void BitmapReadyL( CFbsBitmap* aBitmap );
       
   146      
   137 private:
   147 private:
   138 
   148 
   139     /**
   149     /**
   140      * Constructor for performing 1st stage construction
   150      * Constructor for performing 1st stage construction
   141      */
   151      */
   217         
   227         
   218     /**
   228     /**
   219      * Active listener to make asynchronic operation synchronic
   229      * Active listener to make asynchronic operation synchronic
   220      * Own.
   230      * Own.
   221      */    
   231      */    
   222     CCCAppCommLauncherImageDecoding* iImageDecoding;
   232     CCCAppImageDecoding* iImageDecoding;
   223     
   233     
   224     /**
   234     /**
   225      * Helper for ordering the texts
   235      * Helper for ordering the texts
   226      * Own.
   236      * Own.
   227      */
   237      */
   277     /** 
   287     /** 
   278       * Contact thumbnail data
   288       * Contact thumbnail data
   279       * Own
   289       * Own
   280       */ 
   290       */ 
   281     HBufC8* iContactThumbnailData;
   291     HBufC8* iContactThumbnailData;
       
   292     
       
   293     TBool iStatusButtonVisibility;
   282     };
   294     };
   283 
   295 
   284 #endif // CCCAPPCOMMLAUNCHERHEADERCONTROL_H
   296 #endif // CCCAPPCOMMLAUNCHERHEADERCONTROL_H