vtuis/videotelui/inc/CVtUiMutedControl.h
branchRCL_3
changeset 25 779871d1e4f4
equal deleted inserted replaced
24:f15ac8e65a02 25:779871d1e4f4
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Navi pane control for Video Telephone application.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CVTUIMUTEDCONTROL_H
       
    21 #define CVTUIMUTEDCONTROL_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include    <coecntrl.h>
       
    25 #include    <AknUtils.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  Navi pane control for Video Telephone application.
       
    31 *
       
    32 *  @since Series 60 2.6
       
    33 */
       
    34 class CVtUiMutedControl
       
    35     : public CCoeControl
       
    36     {
       
    37     public: // Constructors and destructor
       
    38         
       
    39         /**
       
    40         * C++ constructor.
       
    41         */
       
    42         CVtUiMutedControl();
       
    43 
       
    44         /**
       
    45         * Symbian constructor.
       
    46         */
       
    47         void ConstructL();
       
    48 
       
    49         /**
       
    50         * C++ destructor.
       
    51         */
       
    52         ~CVtUiMutedControl();
       
    53 
       
    54     public: // Functions from base classes
       
    55 
       
    56         /**
       
    57         * From CCoeControl, handles resource change.
       
    58         * @param aType type of change.
       
    59         */ 
       
    60         virtual void HandleResourceChange(
       
    61             TInt aType );
       
    62 
       
    63     protected: // Functions from base classes
       
    64 
       
    65         /**
       
    66         * From CCoeControl, draws the control.
       
    67         * @param aRect area to be drawn.
       
    68         */
       
    69         virtual void Draw( const TRect& aRect ) const;
       
    70 
       
    71         /**
       
    72         * From CCoeControl, handles size changes.
       
    73         */
       
    74         virtual void SizeChanged();
       
    75 
       
    76         /**
       
    77         * From CCoeControl, handles position changes.
       
    78         */
       
    79         virtual void PositionChanged();
       
    80 
       
    81         /**
       
    82         * From CCoeControl, returns amount of component controls.
       
    83         * @return amount of component controls.
       
    84         */
       
    85         virtual TInt CountComponentControls() const;
       
    86 
       
    87         /**
       
    88         * From CCoeControl, returns specified control.
       
    89         * @param aIndex index of control.
       
    90         * @return control.
       
    91         */
       
    92         virtual CCoeControl* ComponentControl(
       
    93             TInt aIndex ) const;
       
    94 
       
    95     private:
       
    96 
       
    97         // Owned muted label.
       
    98         CEikLabel* iMutedLabel;
       
    99 
       
   100     };
       
   101 
       
   102 #endif      // CVTUIMUTEDCONTROL_H
       
   103             
       
   104 // End of File