diff -r 7333d7932ef7 -r 8b7f4e561641 appinstaller/AppMngr2/Widget/inc/appmngr2widgetruntime.h --- a/appinstaller/AppMngr2/Widget/inc/appmngr2widgetruntime.h Tue Aug 31 15:21:33 2010 +0300 +++ b/appinstaller/AppMngr2/Widget/inc/appmngr2widgetruntime.h Wed Sep 01 12:22:02 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2008-2010 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" @@ -20,7 +20,7 @@ #define C_APPMNGR2WIDGETRUNTIME_H #include // CAppMngr2Runtime -#include // RWidgetRegistryClientSession +#include // RWidgetRegistryClientSession class CAppMngr2PackageInfo; class CAknIconArray; @@ -28,7 +28,8 @@ const TInt KAppMngr2WidgetUidValue = 0x20016BFA; const TUid KAppMngr2WidgetUid = { KAppMngr2WidgetUidValue }; -_LIT8( KDataTypeWidget, "application/x-nokia-widget" ); +_LIT8( KDataTypeWgzWidget, "application/x-nokia-widget" ); +_LIT8( KDataTypeWgtWidget, "application/widget" ); class CAppMngr2WidgetRuntime : public CAppMngr2Runtime @@ -37,7 +38,7 @@ static CAppMngr2WidgetRuntime* NewL( MAppMngr2RuntimeObserver& aObserver ); ~CAppMngr2WidgetRuntime(); -public: // new CAppMngr2Runtime +public: // from CAppMngr2Runtime void LoadIconsL( CAknIconArray& aIconArray ); void GetSupportedDataTypesL( CDataTypeArray& aDataTypeArray ); void GetInstallationFilesL( RPointerArray& aPackageInfos, @@ -48,6 +49,9 @@ RFs& aFsSession, TRequestStatus& aStatus ); void CancelGetInstalledApps(); +public: // new functions + HBufC8* GetMimeTypeL( const TUid& aWidgetUid ); + private: // new functions CAppMngr2WidgetRuntime( MAppMngr2RuntimeObserver& aObserver ); void ConstructL();