phoneuis/BubbleManager/Inc/BMBubbleOutlookVideo.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Bubble outlook video ringtone.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_BUBBLEOUTLOOKVIDEO_H
       
    20 #define C_BUBBLEOUTLOOKVIDEO_H
       
    21 
       
    22 #include    "BMBubbleOutlookTwoLined.h"
       
    23 
       
    24 /**
       
    25  *  Bubble outlook video ringtone.
       
    26  *
       
    27  *  @lib BubbleManager
       
    28  *  @since S60 v3.2
       
    29  */
       
    30  class CBubbleOutlookVideo : public CBubbleOutlookTwoLined
       
    31     {
       
    32     public: // Constructors and destructor       
       
    33         /**
       
    34         * Default constructor.
       
    35         * @param aBubbleManager The main container.
       
    36         */
       
    37         CBubbleOutlookVideo( CBubbleManager& aBubbleManager );
       
    38 
       
    39         /**
       
    40         * Symbian OS 2nd phase constructor.
       
    41         */
       
    42         void ConstructL();
       
    43         
       
    44         /**
       
    45         * Destructor.
       
    46         */
       
    47         virtual ~CBubbleOutlookVideo();
       
    48         
       
    49     public: // Functions from base classes
       
    50           
       
    51         /**
       
    52         * From CBubbleOutlook
       
    53         */
       
    54         virtual void ReadBubbleHeader( CBubbleHeader& aHeader );
       
    55         
       
    56         /**
       
    57         * From CBubbleOutlook
       
    58         */
       
    59         virtual void DrawBitmaps( CBitmapContext& aGc ) const;
       
    60         
       
    61     private: // Functions from base classes
       
    62         
       
    63         /**
       
    64         * From CCoeControl
       
    65         */
       
    66         void SizeChanged();
       
    67 
       
    68         /**
       
    69         * From CCoeControl
       
    70         */
       
    71         void PositionChanged();
       
    72 
       
    73     private:
       
    74         void LayoutVideoPanes( const TRect& aParentRect );        
       
    75         
       
    76     private:
       
    77         TRect iLineRect;
       
    78     };
       
    79  
       
    80 #endif // C_BUBBLEOUTLOOKVIDEO_H