phonebookui/Phonebook2/NamesListExtension/inc/Pbk2NamesListExView.h
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
child 6 e8e3147d53eb
equal deleted inserted replaced
0:e686773b3f54 3:04ab22b956c2
    24 #include <coecobs.h>
    24 #include <coecobs.h>
    25 #include <MPbk2UIExtensionView.h>
    25 #include <MPbk2UIExtensionView.h>
    26 #include <MPbk2ControlObserver.h>
    26 #include <MPbk2ControlObserver.h>
    27 #include <MPbk2StoreConfigurationObserver.h>
    27 #include <MPbk2StoreConfigurationObserver.h>
    28 #include <MPbk2MenuCommandObserver.h>
    28 #include <MPbk2MenuCommandObserver.h>
       
    29 #include <mpbk2uiextensionview2.h>
    29 #include <akntoolbarobserver.h>
    30 #include <akntoolbarobserver.h>
    30 #include <eiklbo.h>
    31 #include <eiklbo.h>
    31 #include <coemain.h>
    32 #include <coemain.h>
    32 
    33 
    33 #include <Pbk2Commands.hrh> 
    34 #include <Pbk2Commands.hrh> 
    48 class MCCAParameter;
    49 class MCCAParameter;
    49 class MCCAConnection;
    50 class MCCAConnection;
    50 class CPbk2ContactUiControlProxy;
    51 class CPbk2ContactUiControlProxy;
    51 class CAknStylusPopUpMenu;
    52 class CAknStylusPopUpMenu;
    52 class CPbk2MyCard;
    53 class CPbk2MyCard;
    53 class CPbk2ThumbnailManager;
       
    54 class CSpbContentProvider;
    54 class CSpbContentProvider;
    55 class CPbk2ContextLaunch;
    55 class CPbk2ContextLaunch;
    56 
    56 
    57 // CLASS DECLARATION
    57 // CLASS DECLARATION
    58 
    58 
    67                              public MPbk2StoreConfigurationObserver,
    67                              public MPbk2StoreConfigurationObserver,
    68                              public MPbk2MenuCommandObserver,
    68                              public MPbk2MenuCommandObserver,
    69                              public MAknToolbarObserver,
    69                              public MAknToolbarObserver,
    70                              public MCoeControlObserver,
    70                              public MCoeControlObserver,
    71                              public MEikListBoxObserver,
    71                              public MEikListBoxObserver,
    72                              private MCoeForegroundObserver
    72                              private MCoeForegroundObserver,
       
    73                              public MPbk2UIExtensionView2
    73     {
    74     {
    74     public: // Construction and destruction
    75     public: // Construction and destruction
    75 
    76 
    76         /**
    77         /**
    77          * Creates a new instance of this class.
    78          * Creates a new instance of this class.
   112                 const TPointerEvent& aPointerEvent );
   113                 const TPointerEvent& aPointerEvent );
   113         TInt GetViewSpecificMenuFilteringFlagsL() const;
   114         TInt GetViewSpecificMenuFilteringFlagsL() const;
   114         void HandleLongTapEventL(
   115         void HandleLongTapEventL(
   115                 const TPoint& aPenEventLocation,
   116                 const TPoint& aPenEventLocation,
   116                 const TPoint& aPenEventScreenLocation);
   117                 const TPoint& aPenEventScreenLocation);
       
   118         TAny* UIExtensionViewExtension( TUid aExtensionUid );
   117 
   119 
   118     protected: 
   120     protected: 
   119         // from MEikListBoxObserver
   121         // from MEikListBoxObserver
   120         void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType );
   122         void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType );
   121 
   123 
   253         // still in the background. 
   255         // still in the background. 
   254         // This flag is used to force the find box focus to be re-initialized when the 
   256         // This flag is used to force the find box focus to be re-initialized when the 
   255         // application is back in the foreground.
   257         // application is back in the foreground.
   256         TBool iNeedSetFocus;
   258         TBool iNeedSetFocus;
   257         
   259         
   258         // Own: thumnail manager for social phonebook 
       
   259         CPbk2ThumbnailManager* iThumbManager;
       
   260         // REF: content provider
   260         // REF: content provider
   261         CSpbContentProvider&  iContentProvider;
   261         CSpbContentProvider&  iContentProvider;
   262         // Not own. CCA launcher connection
   262         // Not own. CCA launcher connection
   263         MCCAConnection*& iCCAConnection;
   263         MCCAConnection*& iCCAConnection;
   264         /// Own: Context launcher
   264         /// Own: Context launcher