idlehomescreen/widgetmanager/inc/wmportalbutton.h
branchRCL_3
changeset 19 79311d856354
parent 18 d05a55b217df
equal deleted inserted replaced
18:d05a55b217df 19:79311d856354
    20 #define ___WMPORTALBUTTON_H__
    20 #define ___WMPORTALBUTTON_H__
    21 
    21 
    22 #include <aknbutton.h>	// CAknButton
    22 #include <aknbutton.h>	// CAknButton
    23 #include <AknServerApp.h> //MAknServerAppExitObserver
    23 #include <AknServerApp.h> //MAknServerAppExitObserver
    24 
    24 
    25 #include "wmimageconverter.h"
       
    26 #include "wmcommon.h"
    25 #include "wmcommon.h"
    27 
    26 
    28 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    29 class CWmMainContainer;
    28 class CWmMainContainer;
    30 class CFbsBitmap;
    29 class CFbsBitmap;
    31 class CWmConfiguration;
    30 class CWmConfiguration;
    32 class CWmProcessMonitor;
    31 class CWmProcessMonitor;
    33 class CBrowserLauncher;
    32 class CBrowserLauncher;
       
    33 class CWmImageConverter;
    34 
    34 
    35 /**
    35 /**
    36  * Portal button ( ovi, operator ) class for Wm
    36  * Portal button ( ovi, operator ) class for Wm
    37  * 
    37  * 
    38  * @class   CWmPortalButton wmportalbutton.h
    38  * @class   CWmPortalButton wmportalbutton.h
    39  */
    39  */
    40 NONSHARABLE_CLASS( CWmPortalButton ) : public CAknButton,
    40 NONSHARABLE_CLASS( CWmPortalButton ) : public CAknButton,
    41                                        public MConverterObserver,
       
    42                                        public MCoeControlObserver,
    41                                        public MCoeControlObserver,
    43                                        public MAknServerAppExitObserver
    42                                        public MAknServerAppExitObserver
    44     {
    43     {
    45 public:
    44 public:
    46     /*
    45     /*
    75     /**
    74     /**
    76      * Executes action for button pressed
    75      * Executes action for button pressed
    77      */
    76      */
    78     void ExecuteL();
    77     void ExecuteL();
    79     
    78     
    80 protected: // from MConverterObserver
       
    81 
       
    82     /** image conversin completed */
       
    83     void NotifyCompletion( TInt aError );
       
    84 
       
    85 protected: // from MCoeControlObserver
    79 protected: // from MCoeControlObserver
    86 
    80 
    87     /** Observes the button's own activity  */
    81     /** Observes the button's own activity  */
    88     void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType );
    82     void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType );
    89     
    83