phonebookui/Phonebook2/ccapplication/ccamycardplugin/inc/ccappmycardcontainer.h
branchRCL_3
changeset 15 e8e3147d53eb
parent 3 04ab22b956c2
child 26 0d28c1c5b6dd
equal deleted inserted replaced
14:81f8547efd4f 15:e8e3147d53eb
    23 #include <eiklbo.h>
    23 #include <eiklbo.h>
    24 #include <ccappviewpluginakncontainer.h>
    24 #include <ccappviewpluginakncontainer.h>
    25 #include "ccappmycard.h"
    25 #include "ccappmycard.h"
    26 #include "ccappmycardimageloader.h"
    26 #include "ccappmycardimageloader.h"
    27 #include <MPbk2ContactUiControl.h>
    27 #include <MPbk2ContactUiControl.h>
       
    28 #include <MPbk2ClipListBoxText.h>
    28 #include <aknlongtapdetector.h>
    29 #include <aknlongtapdetector.h>
    29 #include "ccappmycardheadercontrol.h"
    30 #include "ccappmycardheadercontrol.h"
    30 
    31 
    31 #include "ccappstatuscontrol.h"
    32 #include "ccappstatuscontrol.h"
    32 
    33 
    33 class CCCAppMyCardPlugin;
    34 class CCCAppMyCardPlugin;
    34 class CCCAppMyCardHeaderControl;
    35 class CCCAppMyCardHeaderControl;
    35 class CAknsBasicBackgroundControlContext;
    36 class CAknsBasicBackgroundControlContext;
    36 class CAknFormDoubleGraphicStyleListBox;
    37 class CAknFormDoubleGraphicStyleListBox;
    37 class CCCAppMyCardListBoxModel;
    38 class CSpbContactDataModel;
    38 class CCCAppStatusControl;
    39 class CCCAppStatusControl;
    39 class CPbk2ApplicationServices;
    40 class CPbk2ApplicationServices;
    40 class CSpbContentProvider;
    41 class CSpbContentProvider;
    41 class MCCAViewLauncher;
    42 class MCCAViewLauncher;
    42 class CCCAExtensionFactory;
    43 class CCCAExtensionFactory;
    43 class CCCaFactoryExtensionNotifier;
    44 class CCCaFactoryExtensionNotifier;
       
    45 class CPbk2IconArray;
    44 
    46 
    45 /**
    47 /**
    46  * Class implementing CCAppMyCard -container for UI controls
    48  * Class implementing CCAppMyCard -container for UI controls
    47  *
    49  *
    48  *
    50  *
    55     public MMyCardImageLoaderObserver,
    57     public MMyCardImageLoaderObserver,
    56     public MEikListBoxObserver,
    58     public MEikListBoxObserver,
    57     public MPbk2ContactUiControl,
    59     public MPbk2ContactUiControl,
    58     public MCCAStatusControlObserver,
    60     public MCCAStatusControlObserver,
    59     public MMyCardHeaderControlObserver,
    61     public MMyCardHeaderControlObserver,
    60     public MAknLongTapDetectorCallBack
    62     public MAknLongTapDetectorCallBack,
       
    63     public MPbk2ClipListBoxText
    61     {
    64     {
    62 public: // constructor and destructor
    65 public: // constructor and destructor
    63 
    66 
    64     /**
    67     /**
    65      * CCCAppMyCardContainer.
    68      * CCCAppMyCardContainer.
   111      */
   114      */
   112     TKeyResponse OfferKeyEventL(
   115     TKeyResponse OfferKeyEventL(
   113         const TKeyEvent& aKeyEvent,
   116         const TKeyEvent& aKeyEvent,
   114         TEventCode aType );
   117         TEventCode aType );
   115 
   118 
       
   119     /**
       
   120      * From CCoeControl
       
   121      */
       
   122     void GetHelpContext(TCoeHelpContext& aContext) const;
       
   123     
   116     /**
   124     /**
   117      * From MMyCardObserver
   125      * From MMyCardObserver
   118      */
   126      */
   119     void MyCardEventL( MMyCardObserver::TEvent aEvent );
   127     void MyCardEventL( MMyCardObserver::TEvent aEvent );
   120 
   128 
   156     /**
   164     /**
   157     * From CoeControl
   165     * From CoeControl
   158     * Overridden to receive pointer events
   166     * Overridden to receive pointer events
   159     */
   167     */
   160     void HandlePointerEventL( const TPointerEvent& aPointerEvent );
   168     void HandlePointerEventL( const TPointerEvent& aPointerEvent );
       
   169 
       
   170     /**
       
   171      * From MPbk2ClipListBoxText
       
   172      */
       
   173     TBool ClipFromBeginning(
       
   174         TDes& aBuffer,
       
   175         TInt aItemIndex,
       
   176         TInt aSubCellNumber);
   161 
   177 
   162     
   178     
   163 public: // New
   179 public: // New
   164 
   180 
   165     /**
   181     /**
   292 
   308 
   293     /**
   309     /**
   294      * Reference to listbox model
   310      * Reference to listbox model
   295      * Not own.
   311      * Not own.
   296      */
   312      */
   297     CCCAppMyCardListBoxModel* iModel;
   313     CSpbContactDataModel& iModel;
   298 
   314 
   299     /**
   315     /**
   300      * Contact image loader
   316      * Contact image loader
   301      * Own.
   317      * Own.
   302      */
   318      */
   346     
   362     
   347     /*
   363     /*
   348      * Flag for checking if Stylys opened 
   364      * Flag for checking if Stylys opened 
   349      */
   365      */
   350     TBool iLongTapHandled;    
   366     TBool iLongTapHandled;    
       
   367     
       
   368     /**
       
   369      * Not own. Listbox's icon array
       
   370      */
       
   371     CPbk2IconArray* iIconArray;
   351     };
   372     };
   352 
   373 
   353 #endif // CCAPPMYCARDCONTAINER_H
   374 #endif // CCAPPMYCARDCONTAINER_H
   354 
   375 
   355 // End of File
   376 // End of File