phoneuis/BubbleManager/Inc/BMCallStatusIndi.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Call status indicator
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_BUBBLECALLSTATUSINDI_H
       
    20 #define C_BUBBLECALLSTATUSINDI_H
       
    21 
       
    22 #include "BMBubbleManager.h"
       
    23 #include "telbubbleimage.h"
       
    24 
       
    25 /**
       
    26  *  Call indicator
       
    27  *
       
    28  *
       
    29  *  @lib BubbleManager.lib
       
    30  *  @since S60 v5.0
       
    31  */
       
    32 NONSHARABLE_CLASS( CBubbleCallStatusIndi ) : public CTelBubbleImage
       
    33     {
       
    34 public:
       
    35     /**
       
    36      * Read bubble header.
       
    37      *
       
    38      * @since S60 5.0
       
    39      * @param aHeader Bubble header.
       
    40      */
       
    41     void ReadBubbleHeader( const CBubbleHeader& aHeader );
       
    42     
       
    43 protected:
       
    44     /**
       
    45      * Cītor
       
    46      */
       
    47     CBubbleCallStatusIndi( CBubbleImageManager& aImageManager );
       
    48     
       
    49 private: // From CCoeControl
       
    50     virtual void MakeVisible( TBool aVisible );
       
    51     
       
    52     /**
       
    53      * Includes logic for CallStatusIndicator image 
       
    54      * when image is shown
       
    55      */
       
    56     virtual void SetImageAndMask() = 0;
       
    57 protected: // data
       
    58     CBubbleImageManager& iImageManager;
       
    59     CBubbleManager::TPhoneCallState iCallState;
       
    60     TUint32 iCallFlags;
       
    61     };
       
    62 
       
    63 #endif // C_BUBBLECALLSTATUSINDI_H
       
    64 
       
    65 // End of file
       
    66