phonebookui/pbkcommonui/src/cntdefaultviewfactory.cpp
changeset 37 fd64c38c277d
parent 31 2a11b5b00470
child 53 e6aff7b69165
child 59 a642906a277a
--- a/phonebookui/pbkcommonui/src/cntdefaultviewfactory.cpp	Fri May 14 15:42:23 2010 +0300
+++ b/phonebookui/pbkcommonui/src/cntdefaultviewfactory.cpp	Thu May 27 12:45:19 2010 +0300
@@ -36,6 +36,7 @@
 #include "cnteditview.h"
 #include "cntmycardselectionview.h"
 #include "cntimportsview.h"
+#include "cntsettingsview.h"
 #include "cntextensionmanager.h"
 
 CntDefaultViewFactory::CntDefaultViewFactory():
@@ -56,18 +57,12 @@
     {
     case namesView:
         return new CntNamesView(*mExtensionManager);
-    case noView:
     case commLauncherView:
         return new CntContactCardView();
-    case serviceContactCardView:
-    case serviceAssignContactCardView:
-        break;
     case myCardView:
         return new CntMyCardView();
     case myCardSelectionView:
         return new CntMyCardSelectionView();
-    case serviceContactSelectionView:
-        break;
     case collectionView:
         return new CntCollectionView(*mExtensionManager);
     case collectionFavoritesView:
@@ -77,8 +72,6 @@
     case editView:
 		return new CntEditView();
     case onlineAccountEditorView:
-    case serviceEditView:
-    case serviceSubEditView:
         break;
   
     case emailEditorView:
@@ -95,8 +88,6 @@
 
     case imageEditorView:
         return new CntImageEditorView();
-    case serviceContactFetchView:
-        break;
     case groupMemberView:
         return new CntGroupMemberView();
     case groupActionsView:
@@ -105,6 +96,8 @@
         return new CntHistoryView();
     case importsView:
         return new CntImportsView();
+    case settingsView:
+        return new CntSettingsView();
     default:
        return createPluginView(aId);
     }