uiservicetab/vimpstui/inc/mvimpstuitabcontrolfactory.h
branchRCL_3
changeset 34 e7f34e614544
parent 29 9a48e301e94b
equal deleted inserted replaced
32:ffa4311257f6 34:e7f34e614544
    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)
       
    52                                                         
    51                                                         
    53         {
    52         {
    54         // LOGIC : IF presence is enabled for that service then 
    53         // LOGIC : IF presence is enabled for that service then 
    55         // it creates  double listbox control 
    54         // it creates  double listbox control 
    56         // if presencxe is NOT Enabled creates single listbox control
    55         // if presencxe is NOT Enabled creates single listbox control
    59             return CVIMPSTUiDoubleListBoxTabViewControl::NewL(  aTabbedView,
    58             return CVIMPSTUiDoubleListBoxTabViewControl::NewL(  aTabbedView,
    60                     aKeyEventHandler,
    59                     aKeyEventHandler,
    61                     aCommandHandler,
    60                     aCommandHandler,
    62                     aServiceId, 
    61                     aServiceId, 
    63                     aBrandHandler ,
    62                     aBrandHandler ,
    64                     aEngine,
    63                     aEngine );
    65                     aCba);
       
    66 
    64 
    67             }
    65             }
    68         else
    66         else
    69             {
    67             {
    70             return CVIMPSTUiSingleListBoxTabViewControl::NewL(  aTabbedView,
    68             return CVIMPSTUiSingleListBoxTabViewControl::NewL(  aTabbedView,
    71                     aKeyEventHandler,
    69                     aKeyEventHandler,
    72                     aCommandHandler,
    70                     aCommandHandler,
    73                     aServiceId, 
    71                     aServiceId, 
    74                     aBrandHandler ,
    72                     aBrandHandler ,
    75                     aEngine,
    73                     aEngine );
    76                     aCba);
       
    77             }
    74             }
    78         }
    75         }
    79     
    76     
    80     };
    77     };