classicui_plat/find_item_ui_api/inc/finditemdialog.h
branchRCL_3
changeset 23 3d340a0166ff
parent 0 2f259fa3e83a
child 50 a1caeb42b3a3
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
    57 class CSchemeHandler;
    57 class CSchemeHandler;
    58 class CAknsBasicBackgroundControlContext;
    58 class CAknsBasicBackgroundControlContext;
    59 class CRichTextEditorContainer;
    59 class CRichTextEditorContainer;
    60 class CSendUi;
    60 class CSendUi;
    61 class CItemFinderExtension;
    61 class CItemFinderExtension;
       
    62 class MTouchFeedback;
    62 
    63 
    63 // CLASS DECLARATION
    64 // CLASS DECLARATION
    64 
    65 
    65 /*
    66 /*
    66 *   MFindItemDialogCallBack
    67 *   MFindItemDialogCallBack
   165         * After exiting the dialog gets automatically destroyed
   166         * After exiting the dialog gets automatically destroyed
   166         *
   167         *
   167         * @return CAknDialog::ExecuteLD()
   168         * @return CAknDialog::ExecuteLD()
   168         */
   169         */
   169         IMPORT_C TInt ExecuteLD();
   170         IMPORT_C TInt ExecuteLD();
       
   171         
       
   172         /**
       
   173          * Enable single click
       
   174          * @since S60 5.2
       
   175          * @param aEnable     Enables single click.
       
   176          *                    Disabled by default.
       
   177          */
       
   178         IMPORT_C void EnableSingleClick ( TBool aEnable );
   170 
   179 
   171     public: // Functions from base classes
   180     public: // Functions from base classes
   172         /**
   181         /**
   173         * From MEikCommandObserver Prosesses menucommands
   182         * From MEikCommandObserver Prosesses menucommands
   174         */
   183         */
   177         * From CCoeControl Handles key events
   186         * From CCoeControl Handles key events
   178         */
   187         */
   179         IMPORT_C TKeyResponse OfferKeyEventL(
   188         IMPORT_C TKeyResponse OfferKeyEventL(
   180             const TKeyEvent& aKeyEvent,
   189             const TKeyEvent& aKeyEvent,
   181             TEventCode aType );
   190             TEventCode aType );
       
   191         
       
   192         /**
       
   193          * From CCoeControl
       
   194          * Handle pointer events.
       
   195          * @param aPointerEvent information about the pointerevent
       
   196          */
       
   197         void HandlePointerEventL ( const TPointerEvent& aPointerEvent );
   182 
   198 
   183     protected:  // Functions from base classes
   199     protected:  // Functions from base classes
   184 
   200 
   185         /**
   201         /**
   186         * From MFindItemDialogCallBack Updates editor's selection.
   202         * From MFindItemDialogCallBack Updates editor's selection.
   421         /**
   437         /**
   422         * Creates VoIP call
   438         * Creates VoIP call
   423         * @since 3.0
   439         * @since 3.0
   424         */
   440         */
   425         void CreateInternetCallL();
   441         void CreateInternetCallL();
       
   442 
       
   443         /**
       
   444          * Handles pointer events in single click mode.
       
   445          *
       
   446          * @param aPointerEvent information about the pointerevent
       
   447          */
       
   448         void DoHandlePointerEventL ( const TPointerEvent& aPointerEvent );
       
   449 
       
   450         /**
       
   451          * Returns ETrue if current item has visible highlight
       
   452          *
       
   453          * @return ETrue if current item has visible highlight
       
   454          */
       
   455         TBool CurrentItemHasHighlight();
       
   456         
       
   457         /**
       
   458          * Highlights current item.
       
   459          */
       
   460         void HighlightCurrentItem();
       
   461 
   426 
   462 
   427     private: //data
   463     private: //data
   428         // Pointer to controller which controls engine and dialog
   464         // Pointer to controller which controls engine and dialog
   429         CFindItemController* iController;
   465         CFindItemController* iController;
   430         // Plaintext which will be parsed
   466         // Plaintext which will be parsed
   505         TInt iThumbPos;
   541         TInt iThumbPos;
   506 
   542 
   507         // Rows used in viewer.
   543         // Rows used in viewer.
   508         TInt iRows;
   544         TInt iRows;
   509         
   545         
   510         CItemFinderExtension*	iExtension;
   546         CItemFinderExtension* iExtension;
   511 
   547         
       
   548         // Last tapped item
       
   549         TPoint iLastTappedItem;
       
   550 
       
   551         // Is single click enabled
       
   552         TBool iSingleClick;
       
   553 
       
   554         // Tactile Feedback interface
       
   555         MTouchFeedback* iFeedback;        		
       
   556 		
   512     public: // new methods
   557     public: // new methods
   513         void DeleteMeL();
   558         void DeleteMeL();
   514         static TInt DeleteMe(TAny* aThis);
   559         static TInt DeleteMe(TAny* aThis);
   515 
   560 
   516     private: // new methods
   561     private: // new methods
   517         void FormatDialDataL( TInt aCommandId );
   562         void FormatDialDataL( TInt aCommandId );
   518         TBool IsSendKeyCallVoIP() const;
   563         TBool IsSendKeyCallVoIP() const;
   519 
       
   520 };
   564 };
   521 
   565 
   522 #endif  // FINDITEMDIALOG_H
   566 #endif  // FINDITEMDIALOG_H
   523 
   567 
   524 // End of File
   568 // End of File