phonebookui/Phonebook2/USIMExtension/inc/CPsu2FixedDialingView.h
branchRCL_3
changeset 85 38bb213f60ba
parent 74 6b5524b4f673
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
    22 //  INCLUDES
    22 //  INCLUDES
    23 #include "CPsu2NameListViewBase.h"
    23 #include "CPsu2NameListViewBase.h"
    24 #include <MPbk2EditedContactObserver.h>
    24 #include <MPbk2EditedContactObserver.h>
    25 #include <MVPbkSingleContactOperationObserver.h>
    25 #include <MVPbkSingleContactOperationObserver.h>
    26 #include <MVPbkContactObserver.h>
    26 #include <MVPbkContactObserver.h>
    27 #include <aknmarkingmodeobserver.h>
       
    28 
       
    29 
    27 
    30 // FORWARD DECLARATIONS
    28 // FORWARD DECLARATIONS
    31 class CAknNavigationControlContainer;
    29 class CAknNavigationControlContainer;
    32 class CAknNavigationDecorator;
    30 class CAknNavigationDecorator;
    33 class MVPbkStoreContact;
    31 class MVPbkStoreContact;
    45  * Phonebook 2 USIM UI Extension FDN names list view.
    43  * Phonebook 2 USIM UI Extension FDN names list view.
    46  */
    44  */
    47 class CPsu2FixedDialingView : public CPsu2NameListViewBase,
    45 class CPsu2FixedDialingView : public CPsu2NameListViewBase,
    48                               public MPbk2EditedContactObserver,
    46                               public MPbk2EditedContactObserver,
    49                               public MVPbkSingleContactOperationObserver,
    47                               public MVPbkSingleContactOperationObserver,
    50                               public MVPbkContactObserver,
    48                               public MVPbkContactObserver                                  
    51                               public MAknMarkingModeObserver
       
    52     {
    49     {
    53     public:  // Constructors and destructor
    50     public:  // Constructors and destructor
    54        
    51        
    55         /**
    52         /**
    56          * Creates a new instance of this class.
    53          * Creates a new instance of this class.
    86                 CEikMenuPane* aMenuPane );
    83                 CEikMenuPane* aMenuPane );
    87     public: // From MPbk2ControlObserver
    84     public: // From MPbk2ControlObserver
    88         void HandleControlEventL(
    85         void HandleControlEventL(
    89             MPbk2ContactUiControl& aControl,
    86             MPbk2ContactUiControl& aControl,
    90             const TPbk2ControlEvent& aEvent );
    87             const TPbk2ControlEvent& aEvent );
    91         
       
    92     public: // From MAknMarkingModeObserver 
       
    93             
       
    94         /**
       
    95          * This method is called when marking mode is activated or deactivated.
       
    96          * 
       
    97          * @param aActivated @c ETrue if marking mode was activate, @c EFalse
       
    98          *                   if marking mode was deactivated.
       
    99          */
       
   100         void MarkingModeStatusChanged( TBool aActivated );
       
   101 
       
   102         /**
       
   103          * This method is called just before marking mode is closed. Client can 
       
   104          * either accept or decline closing.
       
   105          * 
       
   106          * @return @c ETrue if marking mode should be closed, otherwise @c EFalse.
       
   107          */
       
   108         TBool ExitMarkingMode() const;
       
   109 
       
   110 
    88 
   111     private: // From CPsu2NameListViewBase
    89     private: // From CPsu2NameListViewBase
   112         void UpdateCbasL();
    90         void UpdateCbasL();
   113         TInt NameListControlResourceId() const;
    91         TInt NameListControlResourceId() const;
   114 
    92 
   180         //  Own: Wait for other things complete then pop up the note.
   158         //  Own: Wait for other things complete then pop up the note.
   181         CIdle* iWaitOtherComplete;
   159         CIdle* iWaitOtherComplete;
   182         
   160         
   183         /// Ref: Eliminator of current contact editing dialog
   161         /// Ref: Eliminator of current contact editing dialog
   184         MPbk2DialogEliminator* iDlgEliminator;
   162         MPbk2DialogEliminator* iDlgEliminator;
   185         // Flag to indicate whether Marking mode is active
       
   186         TBool iMarkingModeOn;
       
   187 
       
   188     };
   163     };
   189 
   164 
   190 #endif // CPSU2FIXEDDIALINGVIEW_H
   165 #endif // CPSU2FIXEDDIALINGVIEW_H
   191             
   166             
   192 // End of File
   167 // End of File