mmsharing/mmshui/inc/musuibackgroundviewcontainer.h
branchRCL_3
changeset 38 ac48f0cc9f9c
parent 0 f0cf47e981f9
child 41 755f0370535b
equal deleted inserted replaced
35:6c57ef9392d2 38:ac48f0cc9f9c
    21 #define MUSUIBACKGROUNDVIEWCONTAINER_H
    21 #define MUSUIBACKGROUNDVIEWCONTAINER_H
    22 
    22 
    23 #include <coecntrl.h>                // Control base class
    23 #include <coecntrl.h>                // Control base class
    24 
    24 
    25 class MAknsControlContext;
    25 class MAknsControlContext;
       
    26 class CMusUiEventController;
    26 
    27 
    27 /**
    28 /**
    28  * This class handles ordinal position two plain window.
    29  * This class handles ordinal position two plain window.
    29  *
    30  *
    30  *
    31  *
    67      * at construction phase based on aUp.
    68      * at construction phase based on aUp.
    68      * @aUp : ETrue to increment else EFalse.
    69      * @aUp : ETrue to increment else EFalse.
    69      */ 
    70      */ 
    70     void UpdateOrdinalPositionValue( TBool aUp );
    71     void UpdateOrdinalPositionValue( TBool aUp );
    71     
    72     
       
    73      /**
       
    74      * Sets the event controller
       
    75      */ 
       
    76     void SetUiEventController( CMusUiEventController* aController );
       
    77     
    72 private: // Construction
    78 private: // Construction
    73     
    79     
    74     CMusUiBackgroundViewContainer( TInt aOrdinalPosition );
    80     CMusUiBackgroundViewContainer( TInt aOrdinalPosition );
    75     
    81     
    76     void ConstructL( const TRect& aRect );
    82     void ConstructL( const TRect& aRect );
    79 
    85 
    80    /**
    86    /**
    81     * From CoeControl,SizeChanged.
    87     * From CoeControl,SizeChanged.
    82     */
    88     */
    83     void SizeChanged();
    89     void SizeChanged();
       
    90     
       
    91     /**
       
    92      * Handles a change to the application's resources which are shared
       
    93      * across the environment.
       
    94      *
       
    95      * @param aType The type of resources that have changed.
       
    96      */
       
    97     void HandleResourceChange( TInt aType );
    84 
    98 
    85     /**
    99     /**
    86      * Returns the number of control contained by this class.
   100      * Returns the number of control contained by this class.
    87      *
   101      *
    88      * @return           Number of controls contained
   102      * @return           Number of controls contained
   144     /**
   158     /**
   145     * Ordinal Postion for windows group
   159     * Ordinal Postion for windows group
   146     */
   160     */
   147     TInt iOrdinalPosition;
   161     TInt iOrdinalPosition;
   148 
   162 
       
   163     /**
       
   164     * Event controller
       
   165     */    
       
   166     CMusUiEventController* iController;
       
   167 
   149     };
   168     };
   150 
   169 
   151 
   170 
   152 #endif // MUSUILIVESHARINGVIEWCONTAINER_H
   171 #endif // MUSUILIVESHARINGVIEWCONTAINER_H
   153 
   172