phonebookui/Phonebook2/USIMExtension/inc/CPsu2FixedDialingView.h
branchRCL_3
changeset 74 6b5524b4f673
parent 0 e686773b3f54
child 85 38bb213f60ba
equal deleted inserted replaced
68:9da50d567e3c 74:6b5524b4f673
    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 
    27 
    29 
    28 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    29 class CAknNavigationControlContainer;
    31 class CAknNavigationControlContainer;
    30 class CAknNavigationDecorator;
    32 class CAknNavigationDecorator;
    31 class MVPbkStoreContact;
    33 class MVPbkStoreContact;
    43  * Phonebook 2 USIM UI Extension FDN names list view.
    45  * Phonebook 2 USIM UI Extension FDN names list view.
    44  */
    46  */
    45 class CPsu2FixedDialingView : public CPsu2NameListViewBase,
    47 class CPsu2FixedDialingView : public CPsu2NameListViewBase,
    46                               public MPbk2EditedContactObserver,
    48                               public MPbk2EditedContactObserver,
    47                               public MVPbkSingleContactOperationObserver,
    49                               public MVPbkSingleContactOperationObserver,
    48                               public MVPbkContactObserver                                  
    50                               public MVPbkContactObserver,
       
    51                               public MAknMarkingModeObserver
    49     {
    52     {
    50     public:  // Constructors and destructor
    53     public:  // Constructors and destructor
    51        
    54        
    52         /**
    55         /**
    53          * Creates a new instance of this class.
    56          * Creates a new instance of this class.
    83                 CEikMenuPane* aMenuPane );
    86                 CEikMenuPane* aMenuPane );
    84     public: // From MPbk2ControlObserver
    87     public: // From MPbk2ControlObserver
    85         void HandleControlEventL(
    88         void HandleControlEventL(
    86             MPbk2ContactUiControl& aControl,
    89             MPbk2ContactUiControl& aControl,
    87             const TPbk2ControlEvent& aEvent );
    90             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 
    88 
   110 
    89     private: // From CPsu2NameListViewBase
   111     private: // From CPsu2NameListViewBase
    90         void UpdateCbasL();
   112         void UpdateCbasL();
    91         TInt NameListControlResourceId() const;
   113         TInt NameListControlResourceId() const;
    92 
   114 
   158         //  Own: Wait for other things complete then pop up the note.
   180         //  Own: Wait for other things complete then pop up the note.
   159         CIdle* iWaitOtherComplete;
   181         CIdle* iWaitOtherComplete;
   160         
   182         
   161         /// Ref: Eliminator of current contact editing dialog
   183         /// Ref: Eliminator of current contact editing dialog
   162         MPbk2DialogEliminator* iDlgEliminator;
   184         MPbk2DialogEliminator* iDlgEliminator;
       
   185         // Flag to indicate whether Marking mode is active
       
   186         TBool iMarkingModeOn;
       
   187 
   163     };
   188     };
   164 
   189 
   165 #endif // CPSU2FIXEDDIALINGVIEW_H
   190 #endif // CPSU2FIXEDDIALINGVIEW_H
   166             
   191             
   167 // End of File
   192 // End of File