searchui/onlinehandler/tsrc/t_googleplugin/src/t_googlepluginfactory.cpp
changeset 12 993ab30e92fc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/searchui/onlinehandler/tsrc/t_googleplugin/src/t_googlepluginfactory.cpp	Tue Jul 06 14:17:22 2010 +0300
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2009 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 the search google online factory.
+ *
+ */
+
+#include <QtGui> // For Q_EXPORT_PLUGIN2
+
+#include "t_googlepluginfactory.h"
+#include "t_googleplugin.h"
+
+
+OnlineSearchPlugin* googlepluginFactory::createPlugin() const
+{
+    qDebug() << "googlepluginFactory";
+	return new googleplugin(); 
+}
+
+Q_EXPORT_PLUGIN2(Google,googlepluginFactory)