textinput/peninputcommonctrls/inc/peninputdropdownlist/peninputlistonerowwithouticonwithbubble.h
changeset 27 694fa80c203c
parent 24 fc42a86c98e3
child 35 0f326f2e628e
equal deleted inserted replaced
24:fc42a86c98e3 27:694fa80c203c
     1 /*
       
     2 * Copyright (c) 2009 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 *
       
    16 */
       
    17 
       
    18 #ifndef C_CLISTONEROWWITHOUTICONWITHBUBBLE_H
       
    19 #define C_CLISTONEROWWITHOUTICONWITHBUBBLE_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <w32std.h>
       
    24 
       
    25 #include "peninputlist.h"
       
    26 #include "peninputlistonerowwithouticon.h"
       
    27 #include "peninputcandidate.h"
       
    28 
       
    29 // class forward decalaration
       
    30 class MFepCtrlDropdownListContext;
       
    31 
       
    32 /**
       
    33  *  One rows list with icon for drop-down list
       
    34  *
       
    35  *  One rows list with icon for drop-down list
       
    36  *
       
    37  *  @lib FepCtrlDropdownList.lib
       
    38  *  @since S60 v3.2
       
    39  */  
       
    40 NONSHARABLE_CLASS(CListOneRowWithoutIconWithBubble) : public CListOneRowWithoutIcon
       
    41     {
       
    42   
       
    43 public:  // Methods
       
    44 
       
    45     /**
       
    46      * Create a object of CListOneRowWithoutIcon, static method
       
    47      *
       
    48      * @since S60 v3.2
       
    49      * @param iOwner The drop down list
       
    50      * @return The CListOneRowWithoutIcon pointer.
       
    51      */
       
    52     static CListOneRowWithoutIconWithBubble* NewL(CListManager* aManager, 
       
    53                                         MFepCtrlDropdownListContext* iOwner);
       
    54 
       
    55     /**
       
    56      * Destructor
       
    57      *
       
    58      * @since S60 v3.2
       
    59      */    
       
    60     virtual ~CListOneRowWithoutIconWithBubble();
       
    61 
       
    62 // from base class CList
       
    63 
       
    64     /**
       
    65      * Deal with the pointer down event.
       
    66      *
       
    67      * @since S60 v3.2
       
    68      * @param aPoint The point of the mouse
       
    69      * @return None.
       
    70      */ 
       
    71     virtual void HandlePointerDownL(const TPoint& aPoint);
       
    72 
       
    73     /**
       
    74      * Deal with the pointer up event.
       
    75      *
       
    76      * @since S60 v3.2
       
    77      * @param aPoint The point of the mouse
       
    78      * @return None.
       
    79      */  
       
    80     virtual void HandlePointerUpL(const TPoint& aPoint);
       
    81 
       
    82     /**
       
    83      * Deal with the pointer drag event.
       
    84      *
       
    85      * @since S60 v3.2
       
    86      * @param aPoint The point of the mouse
       
    87      * @return None.
       
    88      */ 
       
    89     virtual void HandlePointerDragL(const TPoint& aPoint);
       
    90 
       
    91 
       
    92  // from base class CList    
       
    93     /**
       
    94      * Deal with the pointer leave event.
       
    95      *
       
    96      * @since S60 v3.2
       
    97      * @param aPoint The point of the mouse
       
    98      * @return None.
       
    99      */     
       
   100     virtual void HandlePointerLeave(const TPoint& aPoint);  
       
   101                    
       
   102 protected:  // Methods
       
   103 
       
   104     /**
       
   105      * Constructor.
       
   106      *
       
   107      * @param aManager The list manager
       
   108      * @param aOwner The context of the drop down list           
       
   109      * @since S60 v3.2
       
   110      */  
       
   111     CListOneRowWithoutIconWithBubble(CListManager* aManager, MFepCtrlDropdownListContext* aOwner);
       
   112   
       
   113 // from base class CList
       
   114 
       
   115     /**
       
   116      * Compare rects equal or not.
       
   117      *
       
   118      * @since S60 v3.2
       
   119      * @param aSrcRect The source rect
       
   120      * @param aDesRect The destination rect
       
   121      * @return ETrue If the two rects are equal.     
       
   122      */  
       
   123     virtual TBool CompareRect(const TRect& aSrcRect, const TRect& aDesRect);  
       
   124                    
       
   125 private: //Methods
       
   126 
       
   127 
       
   128     };
       
   129 
       
   130 #endif //C_CLISTONEROWWITHOUTICON_H
       
   131 
       
   132 // End Of File