textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputfloatctrl.h
branchRCL_3
changeset 7 a47de9135b21
child 18 c8fb4cf7b3ae
equal deleted inserted replaced
3:f5a1e66df979 7:a47de9135b21
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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:  header file of Floating window
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_PENINPUTFLOATINGCTRL_H
       
    20 #define C_PENINPUTFLOATINGCTRL_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include <coecntrl.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  *  CPeninputFloatingCtrl
       
    31  * 
       
    32  */
       
    33 NONSHARABLE_CLASS(CPeninputFloatingCtrl): public CCoeControl
       
    34     {
       
    35 public: // Constructors
       
    36     /**
       
    37      * C++ default constructor.
       
    38      * 
       
    39      * @since S60 v5.0
       
    40      * @return None
       
    41      */   
       
    42     CPeninputFloatingCtrl();
       
    43     
       
    44     /**
       
    45      * C++ destructor
       
    46      *
       
    47      * @since S60 v5.0
       
    48      * @return None
       
    49      */
       
    50     ~CPeninputFloatingCtrl();
       
    51 
       
    52 public: // from base class CCoeControl
       
    53     /**
       
    54      * From CCoeControl
       
    55      * Draw this control
       
    56      * 
       
    57      * @since S60 v5.0
       
    58      * @param aRect the rectangle of this view that needs updating
       
    59      * @return None
       
    60      */    
       
    61     virtual void Draw( const TRect& aRect ) const;
       
    62   
       
    63 public:
       
    64     /**
       
    65      * Show this floating control
       
    66      * 
       
    67      * @since S60 v5.0
       
    68      * @param aRect rect of control, in screen coord-sys
       
    69      * @return None
       
    70      */
       
    71     void Show( const TRect& aRect );
       
    72 
       
    73     /**
       
    74      * Show this floating control
       
    75      * 
       
    76      * @since S60 v5.0
       
    77      * @param aRect rect of control, in screen coord-sys
       
    78      * @param aOrdinalPos Ordinal position
       
    79      * @param aOrdinalPriority Ordinal priority
       
    80      * @return None
       
    81      */
       
    82     void Show( const TRect& aRect, TInt aOrdinalPos, TInt aOrdinalPriority );
       
    83     
       
    84     /**
       
    85      * Hide this floating control
       
    86      * 
       
    87      * @since S60 v5.0
       
    88      * @return None
       
    89      */
       
    90     void Hide();
       
    91     
       
    92 protected:
       
    93     /**
       
    94      * Symbian constructor
       
    95      * 
       
    96      * @since S60 v5.0
       
    97      * @return None
       
    98      */
       
    99     void BaseConstructL();
       
   100     
       
   101     };
       
   102 
       
   103 #endif // C_PENINPUTFLOATINGCTRL_H