diff -r 000000000000 -r eb1f2e154e89 textinput/peninputcommonctrls/inc/peninputdropdownlist/peninputlistonerowwithiconwithbubble.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/textinput/peninputcommonctrls/inc/peninputdropdownlist/peninputlistonerowwithiconwithbubble.h Tue Feb 02 01:02:04 2010 +0200 @@ -0,0 +1,135 @@ +/* +* Copyright (c) 2009 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: +* +*/ + +#ifndef C_CLISTONEROWWITHICONWITHBUBBLE_H +#define C_CLISTONEROWWITHICONWITHBUBBLE_H + +// INCLUDES +#include +#include + +#include "peninputlist.h" +#include "peninputlistonerowwithicon.h" +#include "peninputcandidate.h" + +// class forward decalaration +class MFepCtrlDropdownListContext; + +/** + * One rows list without icon for drop-down list + * + * One rows list without icon for drop-down list + * + * @lib FepCtrlDropdownList.lib + * @since S60 v3.2 + */ +NONSHARABLE_CLASS(CListOneRowWithIconWithBubble) : public CListOneRowWithIcon + { + +public: // Methods + + /** + * Create a object of CListOneRowWithIcon, static method + * + * @since S60 v3.2 + * @param aManager Pointer to the list manager + * @param iOwner The drop down list + * @return CListOneRowWithIcon pointer. + */ + static CListOneRowWithIconWithBubble* NewL(CListManager* aManager, + MFepCtrlDropdownListContext* iOwner); + + /** + * Destructor + * + * @since S60 v3.2 + */ + virtual ~CListOneRowWithIconWithBubble(); + +// from base class CListOneRowWithIcon + + /** + * Deal with the pointer down event. + * + * @since S60 v3.2 + * @param aPoint The point of the mouse + * @return None. + */ + virtual void HandlePointerDownL(const TPoint& aPoint); + + /** + * Deal with the pointer up event. + * + * @since S60 v3.2 + * @param aPoint The point of the mouse + * @return None. + */ + virtual void HandlePointerUpL(const TPoint& aPoint); + + /** + * Deal with the pointer drag event. + * + * @since S60 v3.2 + * @param aPoint The point of the mouse + * @return None. + */ + virtual void HandlePointerDragL(const TPoint& aPoint); + + // from base class CList + /** + * Deal with the pointer leave event. + * + * @since S60 v3.2 + * @param aPoint The point of the mouse + * @return None. + */ + virtual void HandlePointerLeave(const TPoint& aPoint); + +protected: // Methods + + /** + * Constructor. + * + * @param aManager The list manager + * @param aOwner The context of the drop down list + * @since S60 v3.2 + */ + CListOneRowWithIconWithBubble(CListManager* aManager, MFepCtrlDropdownListContext* aOwner); + +// from base class CList + + /** + * Compare rects equal or not. + * + * @since S60 v3.2 + * @param aSrcRect The source rect + * @param aDesRect The destination rect + * @return ETrue If the two rects are equal. + */ + virtual TBool CompareRect(const TRect& aSrcRect, const TRect& aDesRect); + +protected: + + +protected: + + + }; + +#endif //C_CLISTONEROWWITHICONWITHBUBBLE_H + +// End Of File