textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputfloatctrl.h
branchRCL_3
changeset 7 a47de9135b21
child 18 c8fb4cf7b3ae
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputfloatctrl.h	Fri Mar 12 15:44:07 2010 +0200
@@ -0,0 +1,103 @@
+/*
+* Copyright (c) 2006-2006 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:  header file of Floating window
+*
+*/
+
+
+#ifndef C_PENINPUTFLOATINGCTRL_H
+#define C_PENINPUTFLOATINGCTRL_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <coecntrl.h>
+
+// CLASS DECLARATION
+
+/**
+ *  CPeninputFloatingCtrl
+ * 
+ */
+NONSHARABLE_CLASS(CPeninputFloatingCtrl): public CCoeControl
+    {
+public: // Constructors
+    /**
+     * C++ default constructor.
+     * 
+     * @since S60 v5.0
+     * @return None
+     */   
+    CPeninputFloatingCtrl();
+    
+    /**
+     * C++ destructor
+     *
+     * @since S60 v5.0
+     * @return None
+     */
+    ~CPeninputFloatingCtrl();
+
+public: // from base class CCoeControl
+    /**
+     * From CCoeControl
+     * Draw this control
+     * 
+     * @since S60 v5.0
+     * @param aRect the rectangle of this view that needs updating
+     * @return None
+     */    
+    virtual void Draw( const TRect& aRect ) const;
+  
+public:
+    /**
+     * Show this floating control
+     * 
+     * @since S60 v5.0
+     * @param aRect rect of control, in screen coord-sys
+     * @return None
+     */
+    void Show( const TRect& aRect );
+
+    /**
+     * Show this floating control
+     * 
+     * @since S60 v5.0
+     * @param aRect rect of control, in screen coord-sys
+     * @param aOrdinalPos Ordinal position
+     * @param aOrdinalPriority Ordinal priority
+     * @return None
+     */
+    void Show( const TRect& aRect, TInt aOrdinalPos, TInt aOrdinalPriority );
+    
+    /**
+     * Hide this floating control
+     * 
+     * @since S60 v5.0
+     * @return None
+     */
+    void Hide();
+    
+protected:
+    /**
+     * Symbian constructor
+     * 
+     * @since S60 v5.0
+     * @return None
+     */
+    void BaseConstructL();
+    
+    };
+
+#endif // C_PENINPUTFLOATINGCTRL_H