imservices/searchfeatureplugin/srcsearchdatamodel/searchobjectfactoryimp.cpp
changeset 0 e6b17d312c8b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/imservices/searchfeatureplugin/srcsearchdatamodel/searchobjectfactoryimp.cpp	Thu Dec 17 08:54:49 2009 +0200
@@ -0,0 +1,99 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Implementation of objectfactory
+ *
+*/
+
+
+
+#include "searchobjectfactoryimp.h"
+
+#include "searchelementimp.h"
+#include "searchinfoimp.h"
+#include "searchkeyinfoimp.h"
+
+
+// ============================ MEMBER FUNCTIONS =============================
+
+// ---------------------------------------------------------------------------
+// CSearchObjectFactoryImp::NewL()
+// ---------------------------------------------------------------------------
+//
+EXPORT_C CSearchObjectFactoryImp* CSearchObjectFactoryImp::NewL()
+    {
+    CSearchObjectFactoryImp* self = new( ELeave ) CSearchObjectFactoryImp;
+    return self;
+    
+    }
+
+// ---------------------------------------------------------------------------
+// Implement supported interface access.
+// ---------------------------------------------------------------------------
+//
+XIMPIMP_IF_BASE_GET_INTERFACE_BEGIN( CSearchObjectFactoryImp, 
+                                     MSearchObjectFactory )
+XIMPIMP_IF_BASE_GET_INTERFACE_END()
+
+
+XIMPIMP_IF_BASE_GET_CONST_INTERFACE_BEGIN( CSearchObjectFactoryImp, 
+                                           MSearchObjectFactory )
+XIMPIMP_IF_BASE_GET_INTERFACE_END()
+
+// ---------------------------------------------------------------------------
+// CSearchObjectFactoryImp::~CSearchObjectFactoryImp()
+// ---------------------------------------------------------------------------
+//
+CSearchObjectFactoryImp::~CSearchObjectFactoryImp()
+    {
+    }
+
+
+// ---------------------------------------------------------------------------
+// CSearchObjectFactoryImp::CSearchObjectFactoryImp()
+// ---------------------------------------------------------------------------
+//
+CSearchObjectFactoryImp::CSearchObjectFactoryImp()
+    {
+    }
+    
+    
+
+ // ---------------------------------------------------------------------------
+// CSearchObjectFactoryImp::NewSearchElementLC()
+// ---------------------------------------------------------------------------
+//
+MSearchElement* CSearchObjectFactoryImp::NewSearchElementLC()
+    {
+    return CSearchElementImp::NewLC();
+    }   
+    
+  // ---------------------------------------------------------------------------
+// CSearchObjectFactoryImp::NewSearchInfoLC()
+// ---------------------------------------------------------------------------
+//
+MSearchInfo* CSearchObjectFactoryImp::NewSearchInfoLC()
+    {
+    return CSearchInfoImp::NewLC();
+    }    
+
+// ---------------------------------------------------------------------------
+// CSearchObjectFactoryImp::NewSupportedSearchKeyLC()
+// ---------------------------------------------------------------------------
+//
+ MSearchKeyInfo* CSearchObjectFactoryImp::NewSearchKeyInfoLC()
+   {
+   return CSearchKeyInfoImp::NewLC();
+   }    
+    
+