phoneuis/BubbleManager/Inc/BMBubbleOutlookVideoCnap.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_BUBBLEOUTLOOKVIDEOCNAP_H
       
    20 #define C_BUBBLEOUTLOOKVIDEOCNAP_H
       
    21 
       
    22 // INCLUDES
       
    23 #include    "BMBubbleOutlookThreeLined.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  CBubbleOutlookVideo container class
       
    29 *
       
    30 *  Class draws the video ringtone bubble.
       
    31 *
       
    32 *  @lib bubblemanager
       
    33 *  @since 3.2
       
    34 */
       
    35 class CBubbleOutlookVideoCnap : public CBubbleOutlookThreeLined
       
    36     {
       
    37     public: // Constructors and destructor       
       
    38         /**
       
    39         * Default constructor.
       
    40         * @param aBubbleManager The main container.
       
    41         */
       
    42         CBubbleOutlookVideoCnap( CBubbleManager& aBubbleManager );
       
    43 
       
    44         /**
       
    45         * Symbian OS 2nd phase constructor.
       
    46         */
       
    47         void ConstructL();
       
    48         
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CBubbleOutlookVideoCnap();
       
    53         
       
    54     public: // Functions from base classes
       
    55           
       
    56         /**
       
    57         * From CBubbleOutlook
       
    58         */
       
    59         virtual void ReadBubbleHeader( CBubbleHeader& aHeader );
       
    60         
       
    61         /**
       
    62         * From CBubbleOutlook
       
    63         */
       
    64         void DrawBitmaps( CBitmapContext& aGc ) const;
       
    65         
       
    66     private: // Functions from base classes
       
    67         
       
    68         /**
       
    69         * From CCoeControl
       
    70         */
       
    71         void SizeChanged();
       
    72 
       
    73         /**
       
    74         * From CCoeControl
       
    75         */
       
    76         void PositionChanged();
       
    77         
       
    78     private:
       
    79         void LayoutVideoPanes( const TRect& aParentRect );        
       
    80 
       
    81     private:
       
    82         TRect iLineRect;
       
    83     };
       
    84 
       
    85 #endif // C_BUBBLEOUTLOOKVIDEOCNAP_H
       
    86 
       
    87 // End of File