diff -r 9a9a761f03f1 -r 0ed94ceaa377 webengine/widgetregistry/Server/inc/WidgetRegistry.h --- a/webengine/widgetregistry/Server/inc/WidgetRegistry.h Tue Nov 24 09:02:20 2009 +0200 +++ b/webengine/widgetregistry/Server/inc/WidgetRegistry.h Thu Dec 17 09:20:16 2009 +0200 @@ -23,11 +23,10 @@ // INCLUDES #include #include -#include -#include -#include "WidgetRegistryData.h" -#include "WidgetRegistryConstants.h" -#include "WidgetPropertyValue.h" +#include +#include "widgetregistrydata.h" +#include "widgetregistryconstants.h" +#include "widgetpropertyvalue.h" #include "WidgetRegistryLog.h" // CONSTANTS @@ -37,6 +36,7 @@ // FORWARD DECLARATIONS class RFs; +class CWidgetMMCHandler; class CWidgetEntry; class CWidgetInstaller; class CWidgetRegistryXml; @@ -58,7 +58,7 @@ * @since 3.1 */ -class CWidgetRegistry : public CBase, public MApaAppListServObserver +class CWidgetRegistry : public CBase { public: /** @@ -214,10 +214,7 @@ * Returns security policyId. */ TInt SecurityPolicyId() { return FetchSecurityPolicyIdL(); } - - //from MApaAppListServObserver - void HandleAppListEvent(TInt aEvent); - + private: /** @@ -234,6 +231,11 @@ * Get widget entry with a particular UId */ TInt GetWidgetEntry( const TUid& aUid, CWidgetEntry*& aEntry ) const; + + /** + * Get widget entry with a particular UId + */ + TInt GetWidgetOldEntry( const TUid& aUid, CWidgetEntry*& aEntry ) const; /** * Get widget entry with a particular bundle Id @@ -355,6 +357,7 @@ RWidgetArray iEntries; RUidArray iUsedUids; RFs iFs; // not owned + RPointerArray iOldEntries; // Hold the earlier entries from iEntries // added for validation purpose RApaLsSession iAppArch; @@ -367,9 +370,9 @@ // map of language code to lproj dir RPtrHashMap iLangDirList; + CWidgetMMCHandler* iMMCHandler; TInt iPolicyId; CWidgetRegistryXml* iXmlProcessor; - CApaAppListNotifier* iApaAppListNotifier; public: LOG_MEMBER_VARS };