phonebookui/Phonebook2/GroupExtension/inc/CPguGroupNameQueryDlg.h
branchRCL_3
changeset 9 0d28c1c5b6dd
parent 0 e686773b3f54
equal deleted inserted replaced
8:5586b4d2ec3e 9:0d28c1c5b6dd
    30 
    30 
    31 /**
    31 /**
    32  * Phonebook 2 group name query dialog.
    32  * Phonebook 2 group name query dialog.
    33  * Responsible for quering group name.
    33  * Responsible for quering group name.
    34  */
    34  */
    35 class CPguGroupNameQueryDlg : public CAknTextQueryDialog
    35 class CPguGroupNameQueryDlg : public CAknTextQueryDialog,
       
    36                                 public MCoeForegroundObserver
    36     {
    37     {
    37     public:  // Constructors and destructor
    38     public:  // Constructors and destructor
    38 
    39 
    39         /**
    40         /**
    40          * Creates a new instance of this class.
    41          * Creates a new instance of this class.
    57         ~CPguGroupNameQueryDlg();
    58         ~CPguGroupNameQueryDlg();
    58 
    59 
    59     public: // From CAknTextQueryDialog
    60     public: // From CAknTextQueryDialog
    60         TBool OkToExitL(
    61         TBool OkToExitL(
    61                 TInt aButtonId );
    62                 TInt aButtonId );
    62 
    63         
       
    64     private: // From MCoeForegroundObserver
       
    65         void HandleGainingForeground();
       
    66         void HandleLosingForeground();
       
    67         
    63     private: // Implementation
    68     private: // Implementation
    64         CPguGroupNameQueryDlg(
    69         CPguGroupNameQueryDlg(
    65                 TDes& aDataText,
    70                 TDes& aDataText,
    66                 MVPbkContactViewBase& aGroupsView,
    71                 MVPbkContactViewBase& aGroupsView,
    67                 MPbk2ContactNameFormatter& aNameFormatter );
    72                 MPbk2ContactNameFormatter& aNameFormatter );