phonebookui/Phonebook2/MapExtension/inc/cpmapcontacteditorextension.h
branchRCL_3
changeset 85 38bb213f60ba
parent 74 6b5524b4f673
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
    20 
    20 
    21 // INCLUDE FILES
    21 // INCLUDE FILES
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <MPbk2ContactEditorExtension.h>
    23 #include <MPbk2ContactEditorExtension.h>
    24 #include <MPbk2ContactEditorExtensionExtension.h>
    24 #include <MPbk2ContactEditorExtensionExtension.h>
    25 #include <MPbk2CommandObserver.h>
       
    26 #include <Pbk2FieldProperty.hrh>
    25 #include <Pbk2FieldProperty.hrh>
    27 
    26 
    28 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    29 class CEikMenuPane;
    28 class CEikMenuPane;
    30 class CVPbkContactManager;
    29 class CVPbkContactManager;
    33 class MPbk2UIField;
    32 class MPbk2UIField;
    34 class MPbk2Command;
    33 class MPbk2Command;
    35 // CLASS DECLARATION
    34 // CLASS DECLARATION
    36 class CPmapContactEditorExtension : public CBase,
    35 class CPmapContactEditorExtension : public CBase,
    37 								    public MPbk2ContactEditorExtension,
    36 								    public MPbk2ContactEditorExtension,
    38 								    public MPbk2ContactEditorExtensionExtension,
    37 								    public MPbk2ContactEditorExtensionExtension
    39 								    public MPbk2CommandObserver
       
    40     {
    38     {
    41     public:
    39     public:
    42         /**
    40         /**
    43          * Creates a new instance of this class.
    41          * Creates a new instance of this class.
    44          *
    42          *
    90                 TInt aErrorCode,
    88                 TInt aErrorCode,
    91                 TParams aParams,
    89                 TParams aParams,
    92                 TFailParams& aFailParams );
    90                 TFailParams& aFailParams );
    93         TAny* ContactEditorExtensionExtension(
    91         TAny* ContactEditorExtensionExtension(
    94                         TUid /*aExtensionUid*/ );
    92                         TUid /*aExtensionUid*/ );
    95         
       
    96     public: // From MPbk2CommandObserver
       
    97         void CommandFinished(
       
    98                         const MPbk2Command& aCommand );
       
    99 
    93 
   100     private: // Implementation
    94     private: // Implementation
   101         CPmapContactEditorExtension(
    95         CPmapContactEditorExtension(
   102                 CVPbkContactManager& aContactManager,
    96                 CVPbkContactManager& aContactManager,
   103                 MVPbkStoreContact& aContact,
    97                 MVPbkStoreContact& aContact,
   113         MVPbkStoreContact& iContact;
   107         MVPbkStoreContact& iContact;
   114         /// Ref: Contact editor control
   108         /// Ref: Contact editor control
   115         MPbk2ContactEditorControl& iEditorControl;
   109         MPbk2ContactEditorControl& iEditorControl;
   116         /// Own: Map command controller
   110         /// Own: Map command controller
   117         MPbk2Command* iCmd;
   111         MPbk2Command* iCmd;
   118         /// Own: Mark if Map command is finished
       
   119         TBool iMapCommandFinish;
       
   120 	};
   112 	};
   121 
   113 
   122 #endif // CPMAPCONTACTEDITOREXTENSION_H
   114 #endif // CPMAPCONTACTEDITOREXTENSION_H
   123 
   115 
   124 // End of File
   116 // End of File