phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/inc/ccappcommlaunchercontainer.h
branchRCL_3
changeset 85 38bb213f60ba
parent 68 9da50d567e3c
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
    21 // INCLUDES
    21 // INCLUDES
    22 #include "ccappcommlauncherheaders.h"
    22 #include "ccappcommlauncherheaders.h"
    23 #include <Pbk2Commands.hrh>
    23 #include <Pbk2Commands.hrh>
    24 #include "ccappstatuscontrol.h"
    24 #include "ccappstatuscontrol.h"
    25 #include <aknlongtapdetector.h>
    25 #include <aknlongtapdetector.h>
    26 #include <akninputblock.h>
       
    27 
    26 
    28 class CAknsBasicBackgroundControlContext;
    27 class CAknsBasicBackgroundControlContext;
    29 class CAknPreviewPopUpController;
    28 class CAknPreviewPopUpController;
    30 class CCCAppCommLauncherPlugin;
    29 class CCCAppCommLauncherPlugin;
    31 class CCCAppCommLauncherHeaderControl;
    30 class CCCAppCommLauncherHeaderControl;
    35 class CSpbContentProvider;
    34 class CSpbContentProvider;
    36 class MCCAViewLauncher;
    35 class MCCAViewLauncher;
    37 class CCCAExtensionFactory;
    36 class CCCAExtensionFactory;
    38 class CCCAppCommLauncherCustomListBox;
    37 class CCCAppCommLauncherCustomListBox;
    39 class CCCaFactoryExtensionNotifier;
    38 class CCCaFactoryExtensionNotifier;
    40 class CAknInputBlock;
       
    41 
    39 
    42 /**
    40 /**
    43  * Class implementing CCAppCommLauncher -container for controls
    41  * Class implementing CCAppCommLauncher -container for controls
    44  *
    42  *
    45  *  @code
    43  *  @code
    52 class CCCAppCommLauncherContainer :
    50 class CCCAppCommLauncherContainer :
    53     public CCCAppViewPluginAknContainer,
    51     public CCCAppViewPluginAknContainer,
    54     public MEikListBoxObserver,
    52     public MEikListBoxObserver,
    55     public MCCAppContactHandlerNotifier,
    53     public MCCAppContactHandlerNotifier,
    56     public MCCAStatusControlObserver,
    54     public MCCAStatusControlObserver,
    57     public MAknLongTapDetectorCallBack,
    55     public MAknLongTapDetectorCallBack
    58     public MAknInputBlockCancelHandler
       
    59     {
    56     {
    60 public: // constructor and destructor
    57 public: // constructor and destructor
    61 
    58 
    62     /**
    59     /**
    63      * CCCAppCommLauncherContainer.
    60      * CCCAppCommLauncherContainer.
   228      * Get the amount of the list box
   225      * Get the amount of the list box
   229      *
   226      *
   230      * @return the amount of the list box.
   227      * @return the amount of the list box.
   231      * @since S60 v5.0
   228      * @since S60 v5.0
   232     */
   229     */
   233     const TInt GetListBoxItemAmount() const;    
   230     const TInt GetListBoxItemAmount() const;
   234     
       
   235 
   231 
   236 private: // New
   232 private: // New
   237 
   233 
   238     /**
   234     /**
   239      * Creates the listbox part and model for it
   235      * Creates the listbox part and model for it
   363     void ExecuteContactActionServiceWithoutFieldSelectionL( 
   359     void ExecuteContactActionServiceWithoutFieldSelectionL( 
   364         VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionType,
   360         VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionType,
   365         TDesC8& aContactIdentifier,
   361         TDesC8& aContactIdentifier,
   366         TDesC& aFullName,
   362         TDesC& aFullName,
   367         TDesC& aSelectedField );
   363         TDesC& aSelectedField );
   368     
       
   369     /*
       
   370     * From MAknInputBlockCancelHandler
       
   371     */    
       
   372     void AknInputBlockCancel();
       
   373     
       
   374     /**
       
   375     * Removes the Input Blocker and makes the contianer regain 
       
   376     * user input, key and pen
       
   377     */    
       
   378     void RemoveInputBlocker();
       
   379     
       
   380     /**
       
   381     * Blocks user input, key and pen, from reaching
       
   382     * container untill the issue of communication is complete 
       
   383     */    
       
   384     void SetInputBlockerL();
       
   385 
   364 
   386 private: // Constructors
   365 private: // Constructors
   387 
   366 
   388     /**
   367     /**
   389      * ConstructL
   368      * ConstructL
   470      * Used for hiding/showing the StatusControl
   449      * Used for hiding/showing the StatusControl
   471      * Own.
   450      * Own.
   472      */
   451      */
   473 	CCCaFactoryExtensionNotifier* iFactoryExtensionNotifier;
   452 	CCCaFactoryExtensionNotifier* iFactoryExtensionNotifier;
   474 	
   453 	
   475 	/**
   454 	
   476 	 * Owns - Input Blocker
   455 	TBool iLongTap;
   477 	 */
       
   478 	CAknInputBlock* iInputBlocker;
       
   479     };
   456     };
   480 
   457 
   481 #endif // __CCAPPCOMMALAUNCHERCONTAINER_H
   458 #endif // __CCAPPCOMMALAUNCHERCONTAINER_H
   482 
   459 
   483 // End of File
   460 // End of File