messagingappbase/msgeditor/mediacontrolinc/MsgVideoAreaControl.h
changeset 0 72b543305e3a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingappbase/msgeditor/mediacontrolinc/MsgVideoAreaControl.h	Thu Dec 17 08:44:11 2009 +0200
@@ -0,0 +1,84 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  
+*       MsgEditor video area control. This control contains the real
+* 	 	video playback area.
+*
+*/
+
+
+
+#ifndef MSGVIDEOAREACONTROL_H
+#define MSGVIDEOAREACONTROL_H
+
+// INCLUDES
+#include <coecntrl.h>
+
+// CONSTANTS
+
+// MACROS
+
+// DATA TYPES
+
+// FUNCTION PROTOTYPES
+
+// FORWARD DECLARATIONS
+
+// CLASS DECLARATION
+
+// ==========================================================
+
+/**
+* UI control controlling the video playback area.
+*/
+NONSHARABLE_CLASS( CMsgVideoAreaControl ) : public CCoeControl
+    {
+    public:  // Constructor and destructor
+        
+	    /**
+	     * Two-phased constructor.
+	     * @param aParent parent control
+	     * @return new object
+	     */
+	   static CMsgVideoAreaControl* NewL( CCoeControl* aParent );
+                          
+        /**
+        * Destructor.
+        */
+        virtual ~CMsgVideoAreaControl();
+    
+    private: // Funtions from base classes
+    	
+    	/**
+    	* From CCoeControl Draws video area background.
+    	*/ 
+    	void Draw( const TRect& aRect ) const;
+    
+    private:
+    	
+	    /**
+	     * C++ default constructor
+	     */
+    	CMsgVideoAreaControl();
+    	
+    	/**
+         * By default Symbian constructor is private.
+         */
+        void ConstructL( CCoeControl* aParent );
+         
+    private: // Data
+    };
+    
+
+#endif // MSGVIDEOAREACONTROL_H