idlehomescreen/widgetmanager/inc/wmportalbutton.h
branchRCL_3
changeset 9 f966699dea19
parent 2 08c6ee43b396
child 15 ff572dfe6d86
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    24 #include "wmcommon.h"
    24 #include "wmcommon.h"
    25 
    25 
    26 // FORWARD DECLARATIONS
    26 // FORWARD DECLARATIONS
    27 class CWmMainContainer;
    27 class CWmMainContainer;
    28 class CFbsBitmap;
    28 class CFbsBitmap;
       
    29 class CWmConfiguration;
       
    30 class CWmProcessMonitor;
    29 
    31 
    30 /**
    32 /**
    31  * Portal button ( ovi, operator ) class for Wm
    33  * Portal button ( ovi, operator ) class for Wm
    32  * 
    34  * 
    33  * @class   CWmPortalButton wmportalbutton.h
    35  * @class   CWmPortalButton wmportalbutton.h
   101     /** Draws text over button */
   103     /** Draws text over button */
   102     void DrawText( CWindowGc& aGc,
   104     void DrawText( CWindowGc& aGc,
   103                    const TDesC& aText, 
   105                    const TDesC& aText, 
   104                    TAknTextComponentLayout& aLayout,
   106                    TAknTextComponentLayout& aLayout,
   105                    TInt aMargin ) const;
   107                    TInt aMargin ) const;
   106 
   108     /** Runs operator button action */
       
   109     void RunOperatorL( CWmConfiguration& aConf );
       
   110     
       
   111     /** Runs ovi store launcher */
       
   112     void RunOviL( CWmConfiguration& aConf );
       
   113     
       
   114     /**  Starts browser */ 
       
   115     void StartBrowserL( CWmConfiguration& aConf  );
       
   116     
   107 private: //data members
   117 private: //data members
   108 
   118 
   109     /**
   119     /**
   110      * the image converter utility
   120      * the image converter utility
   111      */    
   121      */    
   124     /** icon */
   134     /** icon */
   125     CFbsBitmap* iButtonIcon;
   135     CFbsBitmap* iButtonIcon;
   126     
   136     
   127     /** icon mask */
   137     /** icon mask */
   128     CFbsBitmap* iButtonIconMask;
   138     CFbsBitmap* iButtonIconMask;
       
   139 	
       
   140     /** Monitors process */
       
   141     CWmProcessMonitor* iProcessMonitor; 
   129  	};
   142  	};
   130 
   143 
   131 #endif //___WMPORTALBUTTON_H__
   144 #endif //___WMPORTALBUTTON_H__
   132 
   145 
   133 // End of File
   146 // End of File