uiservicetab/vimpstui/inc/mvimpstuitabcontrolfactory.h
branchRCL_3
changeset 27 2b7283837edb
parent 0 5e5d6b214f4f
equal deleted inserted replaced
25:fda5a9396e07 27:2b7283837edb
    45     static  MVIMPSTUiTabbedViewControl* NewTabControlL( CVIMPSTUiTabbedView& aTabbedView,
    45     static  MVIMPSTUiTabbedViewControl* NewTabControlL( CVIMPSTUiTabbedView& aTabbedView,
    46                                                         MPbk2KeyEventHandler* aKeyEventHandler, 
    46                                                         MPbk2KeyEventHandler* aKeyEventHandler, 
    47                                                         MVIMPSTCmdHandler& aCommandHandler,
    47                                                         MVIMPSTCmdHandler& aCommandHandler,
    48                                                         TUint32 aServiceId,
    48                                                         TUint32 aServiceId,
    49                                                         CVIMPSTUiBrandData& aBrandHandler,
    49                                                         CVIMPSTUiBrandData& aBrandHandler,
    50                                                         MVIMPSTEngine& aEngine )
    50                                                         MVIMPSTEngine& aEngine,
       
    51                                                         CEikButtonGroupContainer* aCba)
    51                                                         
    52                                                         
    52         {
    53         {
    53         // LOGIC : IF presence is enabled for that service then 
    54         // LOGIC : IF presence is enabled for that service then 
    54         // it creates  double listbox control 
    55         // it creates  double listbox control 
    55         // if presencxe is NOT Enabled creates single listbox control
    56         // if presencxe is NOT Enabled creates single listbox control
    58             return CVIMPSTUiDoubleListBoxTabViewControl::NewL(  aTabbedView,
    59             return CVIMPSTUiDoubleListBoxTabViewControl::NewL(  aTabbedView,
    59                     aKeyEventHandler,
    60                     aKeyEventHandler,
    60                     aCommandHandler,
    61                     aCommandHandler,
    61                     aServiceId, 
    62                     aServiceId, 
    62                     aBrandHandler ,
    63                     aBrandHandler ,
    63                     aEngine );
    64                     aEngine,
       
    65                     aCba);
    64 
    66 
    65             }
    67             }
    66         else
    68         else
    67             {
    69             {
    68             return CVIMPSTUiSingleListBoxTabViewControl::NewL(  aTabbedView,
    70             return CVIMPSTUiSingleListBoxTabViewControl::NewL(  aTabbedView,
    69                     aKeyEventHandler,
    71                     aKeyEventHandler,
    70                     aCommandHandler,
    72                     aCommandHandler,
    71                     aServiceId, 
    73                     aServiceId, 
    72                     aBrandHandler ,
    74                     aBrandHandler ,
    73                     aEngine );
    75                     aEngine,
       
    76                     aCba);
    74             }
    77             }
    75         }
    78         }
    76     
    79     
    77     };
    80     };