Revision: 201017
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 16:09:55 +0300
changeset 1 d98565035bbe
parent 0 ef94aa7943d2
child 2 e9f804ffe694
child 3 f2725b529533
child 4 94cbbccbaf62
Revision: 201017 Kit: 201019
content_harvester_plugin_api/content_harvester_plugin_api.metaxml
content_harvester_plugin_api/group/bld.inf
content_harvester_plugin_api/inc/contentharvesterplugin.h
content_harvester_plugin_api/inc/contentharvesterpluginuids.hrh
homescreensrvlegacy.pro
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content_harvester_plugin_api/content_harvester_plugin_api.metaxml	Fri May 14 16:09:55 2010 +0300
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<api id="2d512d96eac8f6d0172599b67f17c686" dataversion="2.0">
+<name>content_harvester_plugin_api</name>
+<description>Content harvester plugin API </description>
+<type>c++</type>
+<collection>contentpublishingsrv</collection>
+<libs>
+</libs>
+<release category="platform" sinceversion="0"/>
+<attributes>
+<htmldocprovided>no</htmldocprovided>
+<adaptation>no</adaptation>
+</attributes>
+</api>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content_harvester_plugin_api/group/bld.inf	Fri May 14 16:09:55 2010 +0300
@@ -0,0 +1,31 @@
+/*
+* Copyright (c) 2006 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:  File that exports the files belonging to : ContentHarvester
+*
+*/
+
+
+#include <platform_paths.hrh>
+
+PRJ_PLATFORMS
+DEFAULT
+
+PRJ_EXPORTS
+
+../inc/contentharvesterpluginuids.hrh    MW_LAYER_PLATFORM_EXPORT_PATH(contentharvesterpluginuids.hrh)
+../inc/contentharvesterplugin.h    	MW_LAYER_PLATFORM_EXPORT_PATH(contentharvesterplugin.h)
+
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content_harvester_plugin_api/inc/contentharvesterplugin.h	Fri May 14 16:09:55 2010 +0300
@@ -0,0 +1,42 @@
+/*
+* 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:  Plugin interface
+ *
+*/
+
+
+#ifndef C_CONTENTHARVESTERPLUGIN_H
+#define C_CONTENTHARVESTERPLUGIN_H
+
+#include <e32base.h>
+
+// CLASS DECLARATION
+/**
+ * The interface class for all Content Harvester plugins.
+ * Plugins are responsible for updating and synchronization with CPS.
+ *
+ */
+class CContentHarvesterPlugin : public CBase
+    {
+public:
+
+    /** 
+     * Method called by Content Harvester in order to invoke Update operation.
+     * Must be implemented by plugin provider.
+     */
+    virtual void UpdateL() = 0;
+
+    };
+
+#endif // C_CONTENTHARVESTERPLUGIN_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content_harvester_plugin_api/inc/contentharvesterpluginuids.hrh	Fri May 14 16:09:55 2010 +0300
@@ -0,0 +1,26 @@
+/*
+* 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:  UID used in Content Harvester rss plug-ins files 
+ *
+*/
+
+
+#ifndef CONTENTHARVESTERPLUGINUID_HRH_
+#define CONTENTHARVESTERPLUGINUID_HRH_
+
+#define KContentHarvesterPluginUid 0x10282E5B // interface uid
+#define KCHSwiPluginUidDll 0x20022E84 // SwiPlugin DLL UID
+#define KCHSwiPluginUidImpl 0x20022E85 // SwiPlugin Impl UID
+
+#endif /*CONTENTHARVESTERPLUGINUID_HRH_*/
--- a/homescreensrvlegacy.pro	Fri Mar 19 09:35:24 2010 +0200
+++ b/homescreensrvlegacy.pro	Fri May 14 16:09:55 2010 +0300
@@ -21,3 +21,5 @@
 
 CONFIG += ordered
 
+BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>"
+BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include \"content_harvester_plugin_api/group/bld.inf\""