# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1273842595 -10800 # Node ID d98565035bbe65c2a174ff616e14c388fdea83c1 # Parent ef94aa7943d2d892f5f115bf2473b89d0f811a50 Revision: 201017 Kit: 201019 diff -r ef94aa7943d2 -r d98565035bbe content_harvester_plugin_api/content_harvester_plugin_api.metaxml --- /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 @@ + + +content_harvester_plugin_api +Content harvester plugin API +c++ +contentpublishingsrv + + + + +no +no + + diff -r ef94aa7943d2 -r d98565035bbe content_harvester_plugin_api/group/bld.inf --- /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 + +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) + + + + diff -r ef94aa7943d2 -r d98565035bbe content_harvester_plugin_api/inc/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 + +// 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 diff -r ef94aa7943d2 -r d98565035bbe content_harvester_plugin_api/inc/contentharvesterpluginuids.hrh --- /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_*/ diff -r ef94aa7943d2 -r d98565035bbe homescreensrvlegacy.pro --- 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 " +BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include \"content_harvester_plugin_api/group/bld.inf\""