phonebookui/phonebookservices/src/cntserviceviewfactory.cpp
changeset 65 ae724a111993
parent 59 a642906a277a
child 71 7cc7d74059f9
equal deleted inserted replaced
59:a642906a277a 65:ae724a111993
    16 */
    16 */
    17 
    17 
    18 #include "cntserviceviewfactory.h"
    18 #include "cntserviceviewfactory.h"
    19 #include "cntabstractview.h"
    19 #include "cntabstractview.h"
    20 
    20 
       
    21 #include "cntservicesubeditview.h"
    21 
    22 
    22 #include "cntserviceeditview.h"
    23 #include "cntserviceeditview.h"
    23 #include "cntservicecontactselectionview.h"
    24 #include "cntservicecontactselectionview.h"
    24 
    25 
    25 #include "cntservicecontactcardview.h"
    26 #include "cntservicecontactcardview.h"
    26 #include "cntservicegroupmemberview.h"
    27 #include "cntservicegroupmemberview.h"
    27 #include "cntservicecontactfetchview.h"
    28 #include "cntservicecontactfetchview.h"
    28 #include "cntserviceassigncontactcardview.h"
    29 #include "cntserviceassigncontactcardview.h"
    29 
    30 
    30 
    31 
    31 CntServiceViewFactory::CntServiceViewFactory( CntAbstractServiceProvider& aServiceProvider ) : 
    32 CntServiceViewFactory::CntServiceViewFactory( CntAbstractServiceProvider& aServiceProvider, CntExtensionManager& aMgr ) : 
    32 CntDefaultViewFactory(),
    33 CntDefaultViewFactory( aMgr ),
    33 mProvider( aServiceProvider )
    34 mProvider( aServiceProvider )
    34 {
    35 {
    35 }
    36 }
    36 
    37 
    37 CntServiceViewFactory::~CntServiceViewFactory()
    38 CntServiceViewFactory::~CntServiceViewFactory()
    50     case serviceContactSelectionView:
    51     case serviceContactSelectionView:
    51         return new CntServiceContactSelectionView( mProvider );
    52         return new CntServiceContactSelectionView( mProvider );
    52             
    53             
    53     case serviceEditView:
    54     case serviceEditView:
    54         return new CntServiceEditView( mProvider );
    55         return new CntServiceEditView( mProvider );
       
    56         
       
    57     case editView:
       
    58         return new CntServiceSubEditView( mProvider );
    55 
    59 
    56     case serviceContactCardView:
    60     case serviceContactCardView:
    57         return new CntServiceContactCardView( mProvider );
    61         return new CntServiceContactCardView( mProvider );
    58             
    62             
    59     case serviceAssignContactCardView:
    63     case serviceAssignContactCardView: