--- a/classicui_plat/find_item_ui_api/inc/finditemdialog.h Tue Aug 31 15:28:30 2010 +0300
+++ b/classicui_plat/find_item_ui_api/inc/finditemdialog.h Wed Sep 01 12:16:19 2010 +0100
@@ -54,9 +54,12 @@
#endif // !RD_VIRTUAL_PHONEBOOK
class TCoeHelpContext;
class CFindItemVoIPExtension;
+class CSchemeHandler;
class CAknsBasicBackgroundControlContext;
class CRichTextEditorContainer;
+class CSendUi;
class CItemFinderExtension;
+class MTouchFeedback;
// CLASS DECLARATION
@@ -165,6 +168,14 @@
* @return CAknDialog::ExecuteLD()
*/
IMPORT_C TInt ExecuteLD();
+
+ /**
+ * Enable single click
+ * @since S60 5.2
+ * @param aEnable Enables single click.
+ * Disabled by default.
+ */
+ IMPORT_C void EnableSingleClick ( TBool aEnable );
public: // Functions from base classes
/**
@@ -177,6 +188,22 @@
IMPORT_C TKeyResponse OfferKeyEventL(
const TKeyEvent& aKeyEvent,
TEventCode aType );
+
+ /**
+ * From CCoeControl
+ * Handle pointer events.
+ * @param aPointerEvent information about the pointerevent
+ */
+ void HandlePointerEventL ( const TPointerEvent& aPointerEvent );
+
+ /**
+ * Sets AIW submenu item visibility
+ * Must be called before displaying the dialog
+ *
+ * @since S60 5.2
+ * @param aVisible AIW submenu item visibility
+ */
+ IMPORT_C void SetCallSubMenuVisibility( TBool aVisible );
protected: // Functions from base classes
@@ -422,6 +449,14 @@
*/
void CreateInternetCallL();
+ /**
+ * Handles pointer events in single click mode.
+ *
+ * @param aPointerEvent information about the pointerevent
+ */
+ void DoHandlePointerEventL ( const TPointerEvent& aPointerEvent );
+
+
private: //data
// Pointer to controller which controls engine and dialog
CFindItemController* iController;
@@ -447,6 +482,9 @@
// Array to enable the scrollbar to know current position.
CArrayFixFlat<TInt>* iItemArrayForScrollBar;
+ // SendUi
+ CSendUi* iSendUi;
+
#ifndef RD_VIRTUAL_PHONEBOOK
CPbkContactEngine* iPbkEngine;
CPbkDataSaveAppUi* iPbkDataSave;
@@ -470,6 +508,8 @@
// Contains information of the VoIP profiles.
CFindItemVoIPExtension* iFindItemVoIPExtension;
+ CSchemeHandler* iSchemeHandler;
+
CAknsBasicBackgroundControlContext* iBgContext;
CRichTextEditorContainer* iEdwinContainer;
@@ -500,8 +540,20 @@
// Rows used in viewer.
TInt iRows;
- CItemFinderExtension* iExtension;
+ CItemFinderExtension* iExtension;
+
+ // Last tapped item
+ TPoint iLastTappedItem;
+ // Is single click enabled
+ TBool iSingleClick;
+
+ // Tactile Feedback interface
+ MTouchFeedback* iFeedback;
+
+ // Hide AIW submenu
+ TBool iHideCallSubMenu;
+
public: // new methods
void DeleteMeL();
static TInt DeleteMe(TAny* aThis);
@@ -509,7 +561,6 @@
private: // new methods
void FormatDialDataL( TInt aCommandId );
TBool IsSendKeyCallVoIP() const;
-
};
#endif // FINDITEMDIALOG_H