phonebookui/Phonebook2/UIControls/inc/CPbk2ContactEditorDlgImpl.h
branchRCL_3
changeset 85 38bb213f60ba
parent 74 6b5524b4f673
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
   352             CEikMenuPane* aMenuPane );
   352             CEikMenuPane* aMenuPane );
   353         void ExecuteAddressDlgL(TPbk2ContactEditorParams::TActiveView aActiveView);
   353         void ExecuteAddressDlgL(TPbk2ContactEditorParams::TActiveView aActiveView);
   354         void ClearControls();
   354         void ClearControls();
   355         TBool ContactHasAddress(TPbk2FieldGroupId aAddressGroup);
   355         TBool ContactHasAddress(TPbk2FieldGroupId aAddressGroup);
   356         void AddGroupFieldsL(TPbk2FieldGroupId aGroupId);
   356         void AddGroupFieldsL(TPbk2FieldGroupId aGroupId);
   357         TBool AreAllFieldsEmptyL();
   357         TBool AreAllFieldsEmpty();
   358         TBool IsUIDataChanged();
   358         TBool IsUIDataChanged();
   359         TBool IsAddressValidated(TPbk2FieldGroupId aGroupId);
   359         TBool IsAddressValidated(TPbk2FieldGroupId aGroupId);
   360         void DeleteActiveAddressGeoCoords();
   360         void DeleteActiveAddressGeoCoords();
   361         void SetAddressValidationIconsL();
   361         void SetAddressValidationIconsL();
   362 
   362 
   371                 CPbk2ContactEditorArrayItem* aCurrentField,
   371                 CPbk2ContactEditorArrayItem* aCurrentField,
   372                 const TKeyEvent& aKeyEvent, 
   372                 const TKeyEvent& aKeyEvent, 
   373                 TEventCode aType );
   373                 TEventCode aType );
   374         void RestorePrevNaviDecoratorL();
   374         void RestorePrevNaviDecoratorL();
   375         void RestoreStatusPaneL(); 
   375         void RestoreStatusPaneL(); 
   376         static TInt DelayDlgDeleteCallBack( TAny* aCallBack );
       
   377         void DelayDlgDelete();
       
   378 
   376 
   379     private: // Data structures
   377     private: // Data structures
   380 
   378 
   381         /**
   379         /**
   382          * Exit states.
   380          * Exit states.
   463         MPbk2ApplicationServices* iAppServices;
   461         MPbk2ApplicationServices* iAppServices;
   464         // Own: Custom title text
   462         // Own: Custom title text
   465         HBufC* iTitleText;
   463         HBufC* iTitleText;
   466         /// Own: Converts text between Unicode and SMS 7-bit 
   464         /// Own: Converts text between Unicode and SMS 7-bit 
   467         CCnvCharacterSetConverter* iConverter;
   465         CCnvCharacterSetConverter* iConverter;
       
   466         /// Ref: A pointer to stack variable in CloseDialog() for knowing
       
   467         /// if the destructor has already been called
       
   468         TBool* iDestroyedPtr;
   468         /// Ref: Holds the TopMost NaviDecorator before pushing 
   469         /// Ref: Holds the TopMost NaviDecorator before pushing 
   469         /// the empty one on to the top.
   470         /// the empty one on to the top.
   470         /// Doesnt Own.
   471         /// Doesnt Own.
   471         CAknNavigationDecorator* iPrevNaviDecorator;
   472         CAknNavigationDecorator* iPrevNaviDecorator;
   472         
   473         
   473         TInt iCurrentstatuspane;
   474         TInt iCurrentstatuspane;
   474         /// Own: For asynchronously delete editordlg.
       
   475         CIdle* iDelayDelete;
       
   476         // Own: Exit app ui after deleting the dialog
       
   477         TBool iExitApp;
       
   478         // Own: Whether the partial input screen is Opened
       
   479         TBool iIsInputPaneOpen;
       
   480         /// Ref: A pointer to stack variable in CloseDialog() for knowing
       
   481         /// if the destructor has already been called
       
   482         TBool* iDestroyedPtrForCloseDlg;
       
   483         /// Ref: A pointer to stack variable in AddItemToContactL() for knowing
       
   484         /// if the destructor has already been called
       
   485         TBool* iDestroyedPtrForAddItem;
       
   486     };
   475     };
   487 
   476 
   488 #endif // CPBK2CONTACTEDITORDLGIMPL_H
   477 #endif // CPBK2CONTACTEDITORDLGIMPL_H
   489 
   478 
   490 // End of File
   479 // End of File