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