messagingappbase/msgeditor/mediacontrolinc/MsgVideoAreaControl.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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:  
       
    15 *       MsgEditor video area control. This control contains the real
       
    16 * 	 	video playback area.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MSGVIDEOAREACONTROL_H
       
    23 #define MSGVIDEOAREACONTROL_H
       
    24 
       
    25 // INCLUDES
       
    26 #include <coecntrl.h>
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 // ==========================================================
       
    41 
       
    42 /**
       
    43 * UI control controlling the video playback area.
       
    44 */
       
    45 NONSHARABLE_CLASS( CMsgVideoAreaControl ) : public CCoeControl
       
    46     {
       
    47     public:  // Constructor and destructor
       
    48         
       
    49 	    /**
       
    50 	     * Two-phased constructor.
       
    51 	     * @param aParent parent control
       
    52 	     * @return new object
       
    53 	     */
       
    54 	   static CMsgVideoAreaControl* NewL( CCoeControl* aParent );
       
    55                           
       
    56         /**
       
    57         * Destructor.
       
    58         */
       
    59         virtual ~CMsgVideoAreaControl();
       
    60     
       
    61     private: // Funtions from base classes
       
    62     	
       
    63     	/**
       
    64     	* From CCoeControl Draws video area background.
       
    65     	*/ 
       
    66     	void Draw( const TRect& aRect ) const;
       
    67     
       
    68     private:
       
    69     	
       
    70 	    /**
       
    71 	     * C++ default constructor
       
    72 	     */
       
    73     	CMsgVideoAreaControl();
       
    74     	
       
    75     	/**
       
    76          * By default Symbian constructor is private.
       
    77          */
       
    78         void ConstructL( CCoeControl* aParent );
       
    79          
       
    80     private: // Data
       
    81     };
       
    82     
       
    83 
       
    84 #endif // MSGVIDEOAREACONTROL_H