classicui_plat/find_item_ui_api/inc/finditemdialog.h
branchRCL_3
changeset 56 d48ab3b357f1
parent 55 aecbbf00d063
child 72 a5e7a4f63858
equal deleted inserted replaced
55:aecbbf00d063 56:d48ab3b357f1
    52 #ifndef RD_VIRTUAL_PHONEBOOK
    52 #ifndef RD_VIRTUAL_PHONEBOOK
    53 class CPbkDataSaveAppUi;
    53 class CPbkDataSaveAppUi;
    54 #endif // !RD_VIRTUAL_PHONEBOOK
    54 #endif // !RD_VIRTUAL_PHONEBOOK
    55 class TCoeHelpContext;
    55 class TCoeHelpContext;
    56 class CFindItemVoIPExtension;
    56 class CFindItemVoIPExtension;
       
    57 class CSchemeHandler;
    57 class CAknsBasicBackgroundControlContext;
    58 class CAknsBasicBackgroundControlContext;
    58 class CRichTextEditorContainer;
    59 class CRichTextEditorContainer;
       
    60 class CSendUi;
    59 class CItemFinderExtension;
    61 class CItemFinderExtension;
       
    62 class MTouchFeedback;
    60 
    63 
    61 // CLASS DECLARATION
    64 // CLASS DECLARATION
    62 
    65 
    63 /*
    66 /*
    64 *   MFindItemDialogCallBack
    67 *   MFindItemDialogCallBack
   163         * After exiting the dialog gets automatically destroyed
   166         * After exiting the dialog gets automatically destroyed
   164         *
   167         *
   165         * @return CAknDialog::ExecuteLD()
   168         * @return CAknDialog::ExecuteLD()
   166         */
   169         */
   167         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 );
   168 
   179 
   169     public: // Functions from base classes
   180     public: // Functions from base classes
   170         /**
   181         /**
   171         * From MEikCommandObserver Prosesses menucommands
   182         * From MEikCommandObserver Prosesses menucommands
   172         */
   183         */
   175         * From CCoeControl Handles key events
   186         * From CCoeControl Handles key events
   176         */
   187         */
   177         IMPORT_C TKeyResponse OfferKeyEventL(
   188         IMPORT_C TKeyResponse OfferKeyEventL(
   178             const TKeyEvent& aKeyEvent,
   189             const TKeyEvent& aKeyEvent,
   179             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 );
       
   198 
       
   199 		/**
       
   200         * Sets AIW submenu item visibility 
       
   201         * Must be called before displaying the dialog
       
   202         * 
       
   203         * @since S60 5.2
       
   204         * @param aVisible AIW submenu item visibility
       
   205         */
       
   206         IMPORT_C void SetCallSubMenuVisibility( TBool aVisible );
   180 
   207 
   181     protected:  // Functions from base classes
   208     protected:  // Functions from base classes
   182 
   209 
   183         /**
   210         /**
   184         * From MFindItemDialogCallBack Updates editor's selection.
   211         * From MFindItemDialogCallBack Updates editor's selection.
   419         /**
   446         /**
   420         * Creates VoIP call
   447         * Creates VoIP call
   421         * @since 3.0
   448         * @since 3.0
   422         */
   449         */
   423         void CreateInternetCallL();
   450         void CreateInternetCallL();
       
   451 
       
   452         /**
       
   453          * Handles pointer events in single click mode.
       
   454          *
       
   455          * @param aPointerEvent information about the pointerevent
       
   456          */
       
   457         void DoHandlePointerEventL ( const TPointerEvent& aPointerEvent );
       
   458 
   424 
   459 
   425     private: //data
   460     private: //data
   426         // Pointer to controller which controls engine and dialog
   461         // Pointer to controller which controls engine and dialog
   427         CFindItemController* iController;
   462         CFindItemController* iController;
   428         // Plaintext which will be parsed
   463         // Plaintext which will be parsed
   445         // ScrollBarFrame
   480         // ScrollBarFrame
   446         CEikScrollBarFrame* iSBFrame;
   481         CEikScrollBarFrame* iSBFrame;
   447         // Array to enable the scrollbar to know current position.
   482         // Array to enable the scrollbar to know current position.
   448         CArrayFixFlat<TInt>* iItemArrayForScrollBar;
   483         CArrayFixFlat<TInt>* iItemArrayForScrollBar;
   449 
   484 
       
   485         // SendUi
       
   486         CSendUi* iSendUi;
       
   487 
   450 #ifndef RD_VIRTUAL_PHONEBOOK
   488 #ifndef RD_VIRTUAL_PHONEBOOK
   451         CPbkContactEngine* iPbkEngine;
   489         CPbkContactEngine* iPbkEngine;
   452         CPbkDataSaveAppUi* iPbkDataSave;
   490         CPbkDataSaveAppUi* iPbkDataSave;
   453         RPbkViewResourceFile iPbkResourceFile;
   491         RPbkViewResourceFile iPbkResourceFile;
   454 #endif // !RD_VIRTUAL_PHONEBOOK
   492 #endif // !RD_VIRTUAL_PHONEBOOK
   468 
   506 
   469         TBool iHideCallMenu;
   507         TBool iHideCallMenu;
   470         // Contains information of the VoIP profiles.
   508         // Contains information of the VoIP profiles.
   471         CFindItemVoIPExtension* iFindItemVoIPExtension;
   509         CFindItemVoIPExtension* iFindItemVoIPExtension;
   472 
   510 
       
   511         CSchemeHandler* iSchemeHandler;
       
   512 
   473         CAknsBasicBackgroundControlContext* iBgContext;
   513         CAknsBasicBackgroundControlContext* iBgContext;
   474 
   514 
   475         CRichTextEditorContainer* iEdwinContainer;
   515         CRichTextEditorContainer* iEdwinContainer;
   476 
   516 
   477         TBool iHelpFeatureSupported;
   517         TBool iHelpFeatureSupported;
   498         TInt iThumbPos;
   538         TInt iThumbPos;
   499 
   539 
   500         // Rows used in viewer.
   540         // Rows used in viewer.
   501         TInt iRows;
   541         TInt iRows;
   502         
   542         
   503         CItemFinderExtension*	iExtension;
   543         CItemFinderExtension* iExtension;
   504 
   544         
       
   545         // Last tapped item
       
   546         TPoint iLastTappedItem;
       
   547 
       
   548         // Is single click enabled
       
   549         TBool iSingleClick;
       
   550 
       
   551         // Tactile Feedback interface
       
   552         MTouchFeedback* iFeedback;        		
       
   553 
       
   554 		// Hide AIW submenu
       
   555         TBool iHideCallSubMenu;
       
   556 		
   505     public: // new methods
   557     public: // new methods
   506         void DeleteMeL();
   558         void DeleteMeL();
   507         static TInt DeleteMe(TAny* aThis);
   559         static TInt DeleteMe(TAny* aThis);
   508 
   560 
   509     private: // new methods
   561     private: // new methods
   510         void FormatDialDataL( TInt aCommandId );
   562         void FormatDialDataL( TInt aCommandId );
   511         TBool IsSendKeyCallVoIP() const;
   563         TBool IsSendKeyCallVoIP() const;
   512 
       
   513 };
   564 };
   514 
   565 
   515 #endif  // FINDITEMDIALOG_H
   566 #endif  // FINDITEMDIALOG_H
   516 
   567 
   517 // End of File
   568 // End of File